Displaying 2 results from an estimated 2 matches for "hasphys".
Did you mean:
hashes
2007 Aug 06
5
[LLVMdev] Spillers
...al& L = K->second;
unsigned LIReg = L.reg;
if (!MRegisterInfo::isVirtualRegister(LIReg) || LIReg == VReg) continue;
// **** Check to see if the physreg we assigned conflicts with something
// **** else. If so, that thing has to live in memory too.
if (VRM->hasPhys(LIReg) && VRM->getPhys(LIReg) == PReg &&
!VRM->hasStackSlot(LIReg) && Added[I]->overlaps(L))
VRM->assignVirt2StackSlot(LIReg);
}
}
The two points I want to talk about are noted by the **** comments. The first
takes a newly-created live i...
2007 Aug 07
0
[LLVMdev] Spillers
...IReg = L.reg;
>
> if (!MRegisterInfo::isVirtualRegister(LIReg) || LIReg ==
> VReg) continue;
>
> // **** Check to see if the physreg we assigned conflicts
> with something
> // **** else. If so, that thing has to live in memory too.
> if (VRM->hasPhys(LIReg) && VRM->getPhys(LIReg) == PReg &&
> !VRM->hasStackSlot(LIReg) && Added[I]->overlaps(L))
> VRM->assignVirt2StackSlot(LIReg);
> }
> }
>
> The two points I want to talk about are noted by the ****
> comments. Th...