[llvm-commits] [llvm] r48337 - /llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp

Evan Cheng evan.cheng at apple.com
Thu Mar 13 01:04:35 PDT 2008


Author: evancheng
Date: Thu Mar 13 03:04:35 2008
New Revision: 48337

URL: http://llvm.org/viewvc/llvm-project?rev=48337&view=rev
Log:
Typo.

Modified:
    llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp

Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=48337&r1=48336&r2=48337&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Thu Mar 13 03:04:35 2008
@@ -292,7 +292,7 @@
                 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.





More information about the llvm-commits mailing list