Tutorial: How To Write An LLVM Register Allocator

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 18:07:45 PST 2016


> On Feb 9, 2016, at 6:04 PM, Natanael Ramos <naelr8 at gmail.com> wrote:
> 
> Hi Vedant,
> 
> Thanks for the suggestions. I have to improve my skills to write in English :)

No worries!


> The updated version is attached.
> 
> As far as I know, I have to wait the LLVM developers to integrate this document to the official documentation, correct?

Lgtm, but someone familiar with LLVM's register allocators should take a look first. CC'ing Lang.

vedant


> 
> thanks
> 
> 
> 2016-02-09 23:39 GMT-02:00 Vedant Kumar <vsk at apple.com>:
> 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
> 
> 
> 
> -- 
> Natanael Ramos 
> Membro do corpo discente de Ciência da Computação pelo Instituto Federal de 
> Minas Gerais - Campus Formiga
> 
> <HowToWriteAnLLVMRegisterAllocator.rst>



More information about the llvm-commits mailing list