summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-11-09 06:48:10 +0000
committerDale Johannesen <dalej@apple.com>2008-11-09 06:48:10 +0000
commitaa4d82d2444d86b7881d1001c678b35f47f7c613 (patch)
tree70ead03b60c14a9cdfa053116d119bf38e1e5985
parent3f547be28fc4943911347e06f8574cd27f3bc456 (diff)
downloadbcm5719-llvm-aa4d82d2444d86b7881d1001c678b35f47f7c613.tar.gz
bcm5719-llvm-aa4d82d2444d86b7881d1001c678b35f47f7c613.zip
Temporarily revert 58825, which breaks PPC bootstrap.
xs llvm-svn: 58930
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index cf26166875b..e21bf48c352 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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();
OpenPOWER on IntegriCloud