[llvm-commits] [llvm] r48633 - in /llvm/trunk: lib/Target/X86/X86FloatingPoint.cpp test/CodeGen/X86/fp-stack-2results.ll
Chris Lattner
sabre at nondot.org
Thu Mar 20 23:01:06 PDT 2008
Author: lattner
Date: Fri Mar 21 01:01:05 2008
New Revision: 48633
URL: http://llvm.org/viewvc/llvm-project?rev=48633&view=rev
Log:
disable a bogus assertion.
Modified:
llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
llvm/trunk/test/CodeGen/X86/fp-stack-2results.ll
Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp?rev=48633&r1=48632&r2=48633&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp Fri Mar 21 01:01:05 2008
@@ -1022,8 +1022,8 @@
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);
Modified: llvm/trunk/test/CodeGen/X86/fp-stack-2results.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fp-stack-2results.ll?rev=48633&r1=48632&r2=48633&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fp-stack-2results.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fp-stack-2results.ll Fri Mar 21 01:01:05 2008
@@ -9,3 +9,13 @@
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
+}
+
More information about the llvm-commits
mailing list