OSDN Git Service

Update these tests to work by disabling the new correct CFG generation. This flag...
authorOwen Anderson <resistor@mac.com>
Mon, 4 Aug 2008 23:55:29 +0000 (23:55 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 4 Aug 2008 23:55:29 +0000 (23:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54334 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/2007-08-15-ReuseBug.ll
test/CodeGen/ARM/remat.ll
test/CodeGen/X86/2007-07-25-EpilogueBug.ll
test/CodeGen/X86/2007-11-14-Coalescer-Bug.ll
test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll
test/CodeGen/X86/2007-11-30-TestLoadFolding.ll
test/CodeGen/X86/2008-04-17-CoalescerBug.ll
test/CodeGen/X86/2008-05-06-SpillerBug.ll
test/CodeGen/X86/2008-05-21-CoalescerBug.ll
test/CodeGen/X86/2008-06-13-SpillerCommuting.ll
test/CodeGen/X86/ins_subreg_coalesce-3.ll

index d4ce286..71469b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6 | %prcontext {ldr.*\\!} 1 | grep mov
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6 -disable-correct-folding | %prcontext {ldr.*\\!} 1 | grep mov
 ; PR1609
 
        %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
index 82bf5f0..3eee710 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin 
-; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -stats -info-output-file - | grep "Number of re-materialization" | grep 3
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -disable-correct-folding -stats -info-output-file - | grep "Number of re-materialization" | grep 3
 
        %struct.CONTENTBOX = type { i32, i32, i32, i32, i32 }
        %struct.LOCBOX = type { i32, i32, i32, i32 }
index ddac6ce..64890ef 100644 (file)
@@ -1,6 +1,6 @@
 ; Verify that the addl comes before any popl.
 
-; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -mcpu=i386 | \
+; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -disable-correct-folding -mcpu=i386 | \
 ; RUN:   %prcontext ret 1 | grep popl
 ; PR1573
 
index 07e926a..b5635b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep movl | count 2
+; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep movl | count 1
 
        %struct.double_int = type { i64, i64 }
        %struct.tree_common = type <{ i8, [3 x i8] }>
index 21dff69..7afb9bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats |& \
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-correct-folding -stats |& \
 ; RUN:   grep {1 .*folded into instructions}
 
 declare fastcc void @rdft(i32, i32, double*, i32*, double*)
index f2e0cc5..925e7f0 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86 -stats |& \
+; RUN: llvm-as < %s | llc -march=x86 -disable-correct-folding -stats |& \
 ; RUN:   grep {1 .*folded into instructions}
-; RUN: llvm-as < %s | llc -march=x86 | grep cmp | count 3
+; RUN: llvm-as < %s | llc -march=x86 -disable-correct-folding | grep cmp | count 3
 
        %struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
 
index cd7c29b..df9b13e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep xorl | grep {%e}
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -disable-correct-folding | grep xorl | grep {%e}
 ; Make sure xorl operands are 32-bit registers.
 
        %struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8* }
index 19231e9..19e8ca8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -relocation-model=pic -disable-fp-elim | grep addb | grep ebp
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -relocation-model=pic -disable-fp-elim -disable-correct-folding | grep addb | grep ebp
 
        %struct.rc4_state = type { i32, i32, [256 x i32] }
 @.str1 = internal constant [65 x i8] c"m[%d] = 0x%02x, m[%d] = 0x%02x, 0x%02x, k = %d, key[k] = 0x%02x\0A\00"          ; <[65 x i8]*> [#uses=1]
index 0445b0a..62a3330 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -fast | grep mov | count 4
+; RUN: llvm-as < %s | llc -march=x86 -fast -disable-correct-folding | grep mov | count 4
 ; PR2343
 
        %llvm.dbg.anchor.type = type { i32, i32 }
index 5183e5b..6e4523a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -relocation-model=pic -stats |& grep {spiller       - Number of instructions commuted}
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -relocation-model=pic -disable-correct-folding -stats |& grep {spiller       - Number of instructions commuted}
 
        %struct.CABAC_context_element = type { i8, i8 }
        %struct.MB_Info_CABAC = type { i8, i8, [2 x i8], i8, i8, i8, i16, i16, [4 x i8], [8 x %struct.MotionVector] }
index ead920a..5bddef8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep mov | count 9
+; RUN: llvm-as < %s | llc -march=x86-64 -disable-correct-folding | grep mov | count 9
 
        %struct.COMPOSITE = type { i8, i16, i16 }
        %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }