search for: assignvirttophysreg

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

2008 Feb 07
1
[LLVMdev] [PATCH] fix warning: 'NumFolded' defined but not used
...warning: 'NumFolded' defined but not used This has been introduced because of r46821. However, maybe removing just the variable isn't enought, because the comments in the section that got modified by 46821 are not optimal: if (PhysReg) { // Register is available, allocate it! assignVirtToPhysReg(VirtReg, PhysReg); } else { // No registers available. // If we can fold this spill into this instruction, do so now. This comment says that something should be folded. SmallVector<unsigned, 2> Ops; Ops.push_back(OpNum); I don't understand the usage of Ops. Seems...