diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-11-03 21:40:02 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-11-03 21:40:02 +0000 |
commit | 777c6b7caa9bbefe14085bf51e91a0bf21b0b3c0 (patch) | |
tree | 81fcc732f05e32f280d57e7d30f7618e47c39867 /test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll | |
parent | 60faaf64b41d4daa987195751868e46c9929a4b6 (diff) | |
download | llvm-777c6b7caa9bbefe14085bf51e91a0bf21b0b3c0.tar.gz llvm-777c6b7caa9bbefe14085bf51e91a0bf21b0b3c0.tar.bz2 llvm-777c6b7caa9bbefe14085bf51e91a0bf21b0b3c0.tar.xz |
Re-apply 85799. It turns out my code isn't buggy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll')
-rw-r--r-- | test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll b/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll index 0626d28eef..721d4c945b 100644 --- a/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll +++ b/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll @@ -1,6 +1,5 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 -stats |& \ -; RUN: grep {1 .*folded into instructions} -; Increment in loop bb.128.i adjusted to 2, to prevent loop reversal from +; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s +; Increment in loop bb.i28.i adjusted to 2, to prevent loop reversal from ; kicking in. declare fastcc void @rdft(i32, i32, double*, i32*, double*) @@ -34,6 +33,9 @@ cond_next36.i: ; preds = %cond_next.i br label %bb.i28.i bb.i28.i: ; preds = %bb.i28.i, %cond_next36.i +; CHECK: %bb.i28.i +; CHECK: addl $2 +; CHECK: addl $2 %j.0.reg2mem.0.i16.i = phi i32 [ 0, %cond_next36.i ], [ %indvar.next39.i, %bb.i28.i ] ; <i32> [#uses=2] %din_addr.1.reg2mem.0.i17.i = phi double [ 0.000000e+00, %cond_next36.i ], [ %tmp16.i25.i, %bb.i28.i ] ; <double> [#uses=1] %tmp1.i18.i = fptosi double %din_addr.1.reg2mem.0.i17.i to i32 ; <i32> [#uses=2] |