[llvm-commits] [llvm] r144630 - in /llvm/trunk/test/CodeGen/X86: isint.ll uint64-to-float.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Nov 14 23:13:03 PST 2011


Author: stoklund
Date: Tue Nov 15 01:13:03 2011
New Revision: 144630

URL: http://llvm.org/viewvc/llvm-project?rev=144630&view=rev
Log:
Revert r144611 and r144613.

These tests are actually correct, clang was miscompiling ExeDepsFix::processUses.

Evan fixed the miscompilation in r144628.

Modified:
    llvm/trunk/test/CodeGen/X86/isint.ll
    llvm/trunk/test/CodeGen/X86/uint64-to-float.ll

Modified: llvm/trunk/test/CodeGen/X86/isint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/isint.ll?rev=144630&r1=144629&r2=144630&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/isint.ll (original)
+++ llvm/trunk/test/CodeGen/X86/isint.ll Tue Nov 15 01:13:03 2011
@@ -4,7 +4,7 @@
 ; CHECK-NOT: xor
 ; CHECK: cvt
   %i = fptosi double %d to i32
-; CHECK: cvt
+; CHECK-NEXT: cvt
   %e = sitofp i32 %i to double
 ; CHECK: cmpeqsd
   %c = fcmp oeq double %d, %e
@@ -19,7 +19,7 @@
 define void @isint_branch(double %d) nounwind {
 ; CHECK: cvt
   %i = fptosi double %d to i32
-; CHECK: cvt
+; CHECK-NEXT: cvt
   %e = sitofp i32 %i to double
 ; CHECK: ucomisd
   %c = fcmp oeq double %d, %e

Modified: llvm/trunk/test/CodeGen/X86/uint64-to-float.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/uint64-to-float.ll?rev=144630&r1=144629&r2=144630&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/uint64-to-float.ll (original)
+++ llvm/trunk/test/CodeGen/X86/uint64-to-float.ll Tue Nov 15 01:13:03 2011
@@ -38,7 +38,7 @@
 ; CHECK-NEXT: jns LBB0_2
 ; CHECK: cvtsi2ss
 ; CHECK: LBB0_2
-; CHECK: cvtsi2ss
+; CHECK-NEXT: cvtsi2ss
 define float @test(i64 %a) {
 entry:
   %b = uitofp i64 %a to float





More information about the llvm-commits mailing list