search for: no_phys_reg

Displaying 2 results from an estimated 2 matches for "no_phys_reg".

2008 May 28
3
[LLVMdev] Possible VirtRegMap Bug
...TACK_SLOT && 00185 getReMatId(virtReg) == NO_STACK_SLOT) 00186 return true; 00187 // Split register can be assigned a physical register as well as a 00188 // stack slot or remat id. 00189 return (Virt2SplitMap[virtReg] && Virt2PhysMap[virtReg] != NO_PHYS_REG); 00190 } VRM::assignVirt2Phys is implemented as: 00147 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { 00148 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && 00149 TargetRegisterInfo::isPhysicalRegister(physReg)); 00150 assert(Virt2Phys...
2008 May 30
0
[LLVMdev] Possible VirtRegMap Bug
...getReMatId(virtReg) == NO_STACK_SLOT) > 00186 return true; > 00187 // Split register can be assigned a physical register as > well as a > 00188 // stack slot or remat id. > 00189 return (Virt2SplitMap[virtReg] && Virt2PhysMap[virtReg] != > NO_PHYS_REG); > 00190 } This is poorly named. All vr's will be assigned a physical register even if they are spilled or remat'd. This really should be isNotSpilledOrReMated. But then the exception is split register. Yeah, I know this is a mess. We are planning a complete rewrite. > &g...