Tutorial: How To Write An LLVM Register Allocator

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 17:39:32 PST 2016


Hi Natanael,

Thanks for writing this up! I think this would make a great addition to the docs.

I have a few suggested edits:

- "These virtuals are called spilled virtuals." -> "These virtual registers are called spilled virtuals."
- "more easier" -> "easier"
- "Writing An Register Allocator on LLVM" -> "Writing An Register Allocator in LLVM"
- "how to write a register allocation" -> "how to write a register allocator"
- "Virtual Register and the SSA-form" -> "Virtual Registers and SSA"
- "The virtual registers in the LLVM" -> "Virtual registers in LLVM"
- "already performed previously" -> "performed"
- "a ninstance" -> "an instance"
- "Other irregularity is pre-coloring, which consist in" -> "Another irregularity is pre-coloring, which consists of"
- "handle such registers is using" -> "handle such registers by using"
- "a interference" -> "an interference"
- "Other way is to call" -> "Another way is to call"
- "an virtual" -> "a virtual"
- "the others virtual registers" -> "the other virtual registers"
- "a order" -> "an order"
- "provides methods for assign" -> "provides methods for assigning"
- "splitted virtual" -> "split virtual"
- "an pointer" -> "a pointer"
- "After spill has been" -> "After a spill has been"
- "him" -> "it"


thanks
vedant


More information about the llvm-commits mailing list