From 93cdd149f7f5787b80ff24fe133048aba357d0ad Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 1 Nov 2006 23:18:32 +0000 Subject: Rename llvm-svn: 31364 --- llvm/lib/CodeGen/RegAllocSimple.cpp | 2 +- llvm/lib/CodeGen/VirtRegMap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp index 0a911249618..088be47e14d 100644 --- a/llvm/lib/CodeGen/RegAllocSimple.cpp +++ b/llvm/lib/CodeGen/RegAllocSimple.cpp @@ -200,7 +200,7 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) { 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 { diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 911c5c6b792..522590a1a9e 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp @@ -821,7 +821,7 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM) { // 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 -- cgit v1.2.3