Moving work into the middle end
- Track: LLVM
- Room: K.3.201
- Day: Saturday
- Start: 11:05
- End: 11:25
- Video only: k3201
- Chat: Join the conversation!
The IR passes of LLVM are a happy place. Easy to reason about, easy to test, easy to debug. SSA form is a really great idea.
This talk sketches the (positive!) experience of writing a couple of classically back end tasks in the middle end instead of their proper place. One is a variant on register allocation - assigning variables to offsets in some buffer. The other is the ABI themed challenge of eliminating variadic functions. Maybe time will allow for an example of pulling work out of clang.
More speculatively, what else could be lifted to IR?
Speakers
Jon Chesterfield |