aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-12-15 03:07:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-12-15 03:07:11 +0000
commitd7760a490544b84127c7c9058238bfb684cf433b (patch)
tree1a06a76f41bab22ebe9b360c5e6ee8e86486b91d /lib
parente4ac23a0ffbf3ad6eb94fce4e0fb2b934b84cbe4 (diff)
downloadexternal_llvm-d7760a490544b84127c7c9058238bfb684cf433b.zip
external_llvm-d7760a490544b84127c7c9058238bfb684cf433b.tar.gz
external_llvm-d7760a490544b84127c7c9058238bfb684cf433b.tar.bz2
Disable 91381 for now. It's miscompiling ARMISelDAG2DAG.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 14908b4..0517b56 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -5752,7 +5752,9 @@ SDValue X86TargetLowering::LowerSETCC(SDValue Op, SelectionDAG &DAG) {
SDValue Cond = EmitCmp(Op0, Op1, X86CC, DAG);
// Use sbb x, x to materialize carry bit into a GPR.
- if (X86CC == X86::COND_B) {
+ // FIXME: Temporarily disabled since it breaks self-hosting. It's apparently
+ // miscompiling ARMISelDAGToDAG.cpp.
+ if (0 && !isFP && X86CC == X86::COND_B) {
return DAG.getNode(ISD::AND, dl, MVT::i8,
DAG.getNode(X86ISD::SETCC_CARRY, dl, MVT::i8,
DAG.getConstant(X86CC, MVT::i8), Cond),