aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
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
commit6a98f7dab19aa9768d60632b925eb25cb19f51bf (patch)
tree1e93948e2022adfe1291a0857c63e79d2a7936e8 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent20636dfcd34c6d4d6dc3530622e76b9f72eea07e (diff)
downloadexternal_llvm-6a98f7dab19aa9768d60632b925eb25cb19f51bf.zip
external_llvm-6a98f7dab19aa9768d60632b925eb25cb19f51bf.tar.gz
external_llvm-6a98f7dab19aa9768d60632b925eb25cb19f51bf.tar.bz2
Temporarily revert 58825, which breaks PPC bootstrap.
xs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index cf26166..e21bf48 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/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();