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

Evan Cheng evan.cheng at apple.com
Tue Nov 15 20:55:02 PST 2011


Author: evancheng
Date: Tue Nov 15 22:55:01 2011
New Revision: 144776

URL: http://llvm.org/viewvc/llvm-project?rev=144776&view=rev
Log:
Revert r144568 now that r144730 has fixed the fast-isel kill marker bug.

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=144776&r1=144775&r2=144776&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Tue Nov 15 22:55:01 2011
@@ -502,8 +502,7 @@
       continue;
     if (!UI.getOperand().isKill())
       return 0;
-    if (KillMI)
-      return 0;  // -O0 kill markers cannot be trusted?
+    assert(!KillMI && "More than one local kills?");
     KillMI = UseMI;
   }
 





More information about the llvm-commits mailing list