[llvm-commits] [llvm] r58930 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Dale Johannesen dalej at apple.com
Sat Nov 8 22:48:11 PST 2008


Author: johannes
Date: Sun Nov  9 00:48:10 2008
New Revision: 58930

URL: http://llvm.org/viewvc/llvm-project?rev=58930&view=rev
Log:
Temporarily revert 58825, which breaks PPC bootstrap.
xs

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=58930&r1=58929&r2=58930&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Sun Nov  9 00:48:10 2008
@@ -1353,6 +1353,7 @@
         }
       }
 
+#if 0
       // If the LHS is '(and load, const)', the RHS is 0,
       // the test is for equality or unsigned, and all 1 bits of the const are
       // in the same partial word, see if we can shorten the load.
@@ -1401,7 +1402,8 @@
           }
         }
       }
-      
+#endif
+     
       // If the LHS is a ZERO_EXTEND, perform the comparison on the input.
       if (N0.getOpcode() == ISD::ZERO_EXTEND) {
         unsigned InSize = N0.getOperand(0).getValueType().getSizeInBits();





More information about the llvm-commits mailing list