[LLVMdev] [PATCH] Spill Comments

Chris Lattner clattner at apple.com
Mon Sep 14 10:33:14 PDT 2009


On Sep 14, 2009, at 10:22 AM, Dan Gohman wrote:

> Hi Dave,
>
> On Sep 11, 2009, at 3:31 PM, David Greene wrote:
>
>> Attached is a patch to print asm comments for spill information.
>> We've discussed the mechanisms before but I wanted to run the
>> patch by everyone before I start to commit pieces.
>
> The Offset->FrameIndex mapping seems rather heavy-weight, as
> any expense is incurred even when AsmVerbose is off.

It should just be a vector which is binary searched.  I think that  
will make it cheap enough even with asmverbose off.

-Chris



More information about the llvm-dev mailing list