search for: addphysregsus

Displaying 1 result from an estimated 1 matches for "addphysregsus".

Did you mean: addphysregsused
2010 Jun 04
1
[LLVMdev] Heads up: Local register allocator going away
...rInfo.td I have "Defs=[LR]" on the CALL instruction > definition to handle that. So your CALL instructions are clobbering your callee-saved registers, eh? ;-) > It works well with others registers allocators: when there is a call > they mark LR used in the function with MRI->addPhysRegsUsed(UsedInInstr); > and LR is callee saved correctly during prolog/epilog insertion. > > But with fast register allocator the following lines ignore the Def on > LR in the call instruction: (line 747) > > if (TID.isCall()) { > // Spill all virtregs before a call. This serves tw...