Typo.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 13 Mar 2008 08:04:35 +0000 (08:04 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 13 Mar 2008 08:04:35 +0000 (08:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48337 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TwoAddressInstructionPass.cpp

index 30727a6b7d0bb373cf7428415158977f66243b85..f81f3a70fb999e035d45112bdf374f2841c938ab 100644 (file)
@@ -292,7 +292,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
                 DOUT << "2addr: CONVERTING 2-ADDR: " << *mi;
                 DOUT << "2addr:         TO 3-ADDR: " << *New;
                 bool Sunk = false;
-                if (New->findRegisterUseOperand(regB, New, TRI))
+                if (New->findRegisterUseOperand(regB, false, TRI))
                   // FIXME: Temporary workaround. If the new instruction doesn't
                   // uses regB, convertToThreeAddress must have created more
                   // then one instruction.