Yeah, I think so. It should be pretty simple to fix though. Can you
provide a patch? Or please fix a bug.
Evan
On May 8, 2008, at 2:32 PM, David Greene wrote:
> On Thursday 08 May 2008 16:25, Evan Cheng wrote:
>
>>> Since we're hooking up llvm to custom code, I want to check
>>> assumptions.
>>> Is there anything in llvm-gcc or the other llvm tools that could
>>> generate a
>>> stack slot reference like this before register allocation?
>>> Basically, I'm
>>
>> Codegen can definitely create stack slots during isel lowering. I
>> don't think you can assume all non-fixed slots are created during
>> register allocation.
>
> Ok, so isn't there a bug in VirtRegMap::RemoveMachineInstrFromMaps
> since
> it assumes every stack index is >= LowSpillSlot, which doesn't get
> set until
> regalloc spill time?
>
> -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev