Remove another -disable-correct-folding use.
authorOwen Anderson <resistor@mac.com>
Tue, 5 Aug 2008 18:05:58 +0000 (18:05 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 5 Aug 2008 18:05:58 +0000 (18:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54357 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2007-11-30-TestLoadFolding.ll

index 925e7f05494366790e2c0a49e6af85a70863a6db..0d43a6e73f873823cdab4ca95c249559f040285c 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86 -disable-correct-folding -stats |& \
+; RUN: llvm-as < %s | llc -march=x86 -stats |& \
 ; RUN:   grep {1 .*folded into instructions}
-; RUN: llvm-as < %s | llc -march=x86 -disable-correct-folding | grep cmp | count 3
+; RUN: llvm-as < %s | llc -march=x86 | grep cmp | count 4
 
        %struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
 
@@ -31,7 +31,7 @@ cond_true.i163:               ; preds = %cond_true.i35
        %tmp19.i12.i171 = load %struct.quad_struct** %tmp18.i11.i170, align 4           ; <%struct.quad_struct*> [#uses=1]
        %tmp21.i173 = tail call fastcc i32 @sum_adjacent( %struct.quad_struct* %tmp19.i12.i171, i32 3, i32 2, i32 %tmp7.i162 )          ; <i32> [#uses=1]
        %tmp22.i174 = add i32 %tmp21.i173, %tmp13.i168          ; <i32> [#uses=1]
-       br i1 false, label %cond_true.i141, label %cond_false.i156
+       br i1 %tmp4.i161, label %cond_true.i141, label %cond_false.i156
 
 cond_false.i178:               ; preds = %cond_true.i35
        ret i32 0