Displaying 1 result from an estimated 1 matches for "virtopend".
Did you mean:
virt_end
2010 Jun 04
1
[LLVMdev] Heads up: Local register allocator going away
...all virtregs before a call. This serves two purposes: 1. If an
> // exception is thrown, the landing pad is going to expect to find registers
> // in their spill slots, and 2. we don't have to wade through all the
> // <imp-def> operands on the call instruction.
> DefOpEnd = VirtOpEnd;
> DEBUG(dbgs() << " Spilling remaining registers before call.\n");
> spillAll(MI);
> }
>
> if I remove this block this fix the bug: LR is marked used with
> MRI->addPhysRegsUsed(UsedInInstr)
> and LR is correctly saved and restored in the function prolog...