disable a bogus assertion.
authorChris Lattner <sabre@nondot.org>
Fri, 21 Mar 2008 06:01:05 +0000 (06:01 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Mar 2008 06:01:05 +0000 (06:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48633 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FloatingPoint.cpp
test/CodeGen/X86/fp-stack-2results.ll

index d9ab1ed415105ab9145e6243c2c737733ba2fb3e..2070cc5d133f6f299c9058961e2550f1b6f78533 100644 (file)
@@ -1022,8 +1022,8 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
       MachineOperand &Op = MI->getOperand(i);
       if (!Op.isReg() || Op.getReg() < X86::FP0 || Op.getReg() > X86::FP6)
         continue;
-      assert(Op.isUse() && Op.isKill() &&
-             "Ret only defs operands, and values aren't live beyond it");
+//      assert(Op.isUse() && Op.isKill() &&
+//             "Ret only defs operands, and values aren't live beyond it");
 
       if (FirstFPRegOp == ~0U)
         FirstFPRegOp = getFPReg(Op);
index b44d3dd51142c3d1dc3104fe58e1e1d40bbbc52a..dcb2031a504d6b89d6df47c732367633fd018d49 100644 (file)
@@ -9,3 +9,13 @@ define {x86_fp80, x86_fp80} @test() {
   ret x86_fp80 %A, x86_fp80 %B
 }
 
+
+;_test2:
+;      fld1
+;      fld     %st(0)
+;      ret
+define {x86_fp80, x86_fp80} @test2() {
+  %A = fpext double 1.0 to x86_fp80
+  ret x86_fp80 %A, x86_fp80 %A
+}
+