summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-12 10:34:29 +0000
committerDan Gohman <gohman@apple.com>2010-02-12 10:34:29 +0000
commit572645cf84060c0fc25cb91d38cb9079918b3a88 (patch)
tree0571ce42ea03d210844a627baea045fa36f16df5 /test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
parent5cef638855c9f2bb23a9c181cc47ddace8551f50 (diff)
downloadllvm-572645cf84060c0fc25cb91d38cb9079918b3a88.tar.gz
llvm-572645cf84060c0fc25cb91d38cb9079918b3a88.tar.bz2
llvm-572645cf84060c0fc25cb91d38cb9079918b3a88.tar.xz
Reapply the new LoopStrengthReduction code, with compile time and
bug fixes, and with improved heuristics for analyzing foreign-loop addrecs. This change also flattens IVUsers, eliminating the stride-oriented groupings, which makes it easier to work with. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll')
-rw-r--r--test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll b/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
index 4cac9b4c4a..e1f890192d 100644
--- a/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
+++ b/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -march=x86 -mtriple=i686-darwin | \
; RUN: grep push | count 3
-define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) {
+define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) nounwind {
entry:
icmp sgt i32 %size, 0 ; <i1>:0 [#uses=1]
br i1 %0, label %bb.preheader, label %return