diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-12-08 07:59:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-08 07:59:51 +0000 |
commit | 7814ad0bf38047628eb3165e1b73e44da7e8b825 (patch) | |
tree | 4592e0862904ed6787c02af911d94b04ef1b2240 | |
parent | 3cc3816cd4dc92fbb0a2de93bdebb68dfcea31d5 (diff) | |
download | external_llvm-7814ad0bf38047628eb3165e1b73e44da7e8b825.zip external_llvm-7814ad0bf38047628eb3165e1b73e44da7e8b825.tar.gz external_llvm-7814ad0bf38047628eb3165e1b73e44da7e8b825.tar.bz2 |
findTiedToSrcOperand() changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32353 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAllocSimple.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocSimple.cpp b/lib/CodeGen/RegAllocSimple.cpp index 87ef003..3437b00 100644 --- a/lib/CodeGen/RegAllocSimple.cpp +++ b/lib/CodeGen/RegAllocSimple.cpp @@ -198,8 +198,8 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) { 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 { |