[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocSimple.cpp
Evan Cheng
evan.cheng at apple.com
Fri Dec 8 00:00:06 PST 2006
Changes in directory llvm/lib/CodeGen:
RegAllocSimple.cpp updated: 1.79 -> 1.80
---
Log message:
findTiedToSrcOperand() changed.
---
Diffs of the changes: (+2 -2)
RegAllocSimple.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/RegAllocSimple.cpp
diff -u llvm/lib/CodeGen/RegAllocSimple.cpp:1.79 llvm/lib/CodeGen/RegAllocSimple.cpp:1.80
--- llvm/lib/CodeGen/RegAllocSimple.cpp:1.79 Thu Dec 7 14:28:15 2006
+++ llvm/lib/CodeGen/RegAllocSimple.cpp Fri Dec 8 01:59:51 2006
@@ -198,8 +198,8 @@
unsigned physReg = Virt2PhysRegMap[virtualReg];
if (physReg == 0) {
if (op.isDef()) {
- int TiedOp = TM->getInstrInfo()
- ->findTiedToSrcOperand(MI->getOpcode(), i);
+ int TiedOp = TM->getInstrInfo()->
+ findTiedToSrcOperand(MI->getInstrDescriptor(), i);
if (TiedOp == -1) {
physReg = getFreeReg(virtualReg);
} else {
More information about the llvm-commits
mailing list