llvm-svn: 31364
This commit is contained in:
Evan Cheng
2006-11-01 23:18:32 +00:00
parent d8697deca3
commit 93cdd149f7
4 changed files with 7 additions and 5 deletions

View File

@@ -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 {