[llvm-commits] [llvm] r91405 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/setcc.ll

Evan Cheng evan.cheng at apple.com
Mon Dec 14 19:07:11 PST 2009


Author: evancheng
Date: Mon Dec 14 21:07:11 2009
New Revision: 91405

URL: http://llvm.org/viewvc/llvm-project?rev=91405&view=rev
Log:
Disable 91381 for now. It's miscompiling ARMISelDAG2DAG.cpp.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
    llvm/trunk/test/CodeGen/X86/setcc.ll

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=91405&r1=91404&r2=91405&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Dec 14 21:07:11 2009
@@ -5752,7 +5752,9 @@
   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),

Modified: llvm/trunk/test/CodeGen/X86/setcc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/setcc.ll?rev=91405&r1=91404&r2=91405&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/setcc.ll (original)
+++ llvm/trunk/test/CodeGen/X86/setcc.ll Mon Dec 14 21:07:11 2009
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
+; XFAIL: *
 ; rdar://7329206
 
 ; Use sbb x, x to materialize carry bit in a GPR. The value is either





More information about the llvm-commits mailing list