summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocSimple.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-08 18:45:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-08 18:45:48 +0000
commit78cb08d082d86dec1292f5a7416e3adbc3852a97 (patch)
treecc43bf1583d7b20b1bb644ccef9c490a66e21998 /llvm/lib/CodeGen/RegAllocSimple.cpp
parentae5733ba6a09c6a5dd3e5ce8317204eb72a44d12 (diff)
downloadbcm5719-llvm-78cb08d082d86dec1292f5a7416e3adbc3852a97.tar.gz
bcm5719-llvm-78cb08d082d86dec1292f5a7416e3adbc3852a97.zip
Move findTiedToSrcOperand to TargetInstrDescriptor.
llvm-svn: 32366
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocSimple.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocSimple.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp
index 3437b000473..01504045c89 100644
--- a/llvm/lib/CodeGen/RegAllocSimple.cpp
+++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -198,8 +198,7 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) {
unsigned physReg = Virt2PhysRegMap[virtualReg];
if (physReg == 0) {
if (op.isDef()) {
- int TiedOp = TM->getInstrInfo()->
- findTiedToSrcOperand(MI->getInstrDescriptor(), i);
+ int TiedOp = MI->getInstrDescriptor()->findTiedToSrcOperand(i);
if (TiedOp == -1) {
physReg = getFreeReg(virtualReg);
} else {
OpenPOWER on IntegriCloud