[LLVMdev] Marking machineinstructions that are spills generated by register allocation

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Sep 29 07:39:36 PDT 2011


On Sep 29, 2011, at 2:19 AM, Heikki Kultala wrote:

> Our TCE backend (which is not in the official llvm repo) benefits 
> greatly from information that which memory load/store is a spill 
> generated by register allocation.
> 
> These spill memory operation can never alias with other memory 
> operations, and our own instruction scheduler can optimize much better 
> with better alias information.

This information is available from the instruction's memory operands.

See EmitComments() in lib/CodeGen/AsmPrinter/AsmPrinter.cpp.

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110929/f3716ca9/attachment.html>


More information about the llvm-dev mailing list