Temporarily revert 58825, which breaks PPC bootstrap.
authorDale Johannesen <dalej@apple.com>
Sun, 9 Nov 2008 06:48:10 +0000 (06:48 +0000)
committerDale Johannesen <dalej@apple.com>
Sun, 9 Nov 2008 06:48:10 +0000 (06:48 +0000)
xs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58930 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index cf26166875b91dd3d15a41fbe31f8286acfe4f4a..e21bf48c352150ab8201d2c7330fab537879cdeb 100644 (file)
@@ -1353,6 +1353,7 @@ TargetLowering::SimplifySetCC(MVT VT, SDValue N0, SDValue N1,
         }
       }
 
+#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 @@ TargetLowering::SimplifySetCC(MVT VT, SDValue N0, SDValue N1,
           }
         }
       }
-      
+#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();