[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocSimple.cpp VirtRegMap.cpp
Evan Cheng
evan.cheng at apple.com
Wed Nov 1 15:18:47 PST 2006
Changes in directory llvm/lib/CodeGen:
RegAllocSimple.cpp updated: 1.75 -> 1.76
VirtRegMap.cpp updated: 1.77 -> 1.78
---
Log message:
Rename
---
Diffs of the changes: (+2 -2)
RegAllocSimple.cpp | 2 +-
VirtRegMap.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/RegAllocSimple.cpp
diff -u llvm/lib/CodeGen/RegAllocSimple.cpp:1.75 llvm/lib/CodeGen/RegAllocSimple.cpp:1.76
--- llvm/lib/CodeGen/RegAllocSimple.cpp:1.75 Wed Nov 1 17:06:55 2006
+++ llvm/lib/CodeGen/RegAllocSimple.cpp Wed Nov 1 17:18:32 2006
@@ -200,7 +200,7 @@
if (physReg == 0) {
if (op.isDef()) {
int TiedOp = TM->getInstrInfo()
- ->getTiedToSrcOperand(MI->getOpcode(), i);
+ ->findTiedToSrcOperand(MI->getOpcode(), i);
if (TiedOp == -1) {
physReg = getFreeReg(virtualReg);
} else {
Index: llvm/lib/CodeGen/VirtRegMap.cpp
diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.77 llvm/lib/CodeGen/VirtRegMap.cpp:1.78
--- llvm/lib/CodeGen/VirtRegMap.cpp:1.77 Wed Nov 1 17:06:55 2006
+++ llvm/lib/CodeGen/VirtRegMap.cpp Wed Nov 1 17:18:32 2006
@@ -821,7 +821,7 @@
// If this def is part of a two-address operand, make sure to execute
// the store from the correct physical register.
unsigned PhysReg;
- int TiedOp = TII->getTiedToSrcOperand(MI.getOpcode(), i);
+ int TiedOp = TII->findTiedToSrcOperand(MI.getOpcode(), i);
if (TiedOp != -1)
PhysReg = MI.getOperand(TiedOp).getReg();
else
More information about the llvm-commits
mailing list