summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-01-05 01:17:46 +0000
committerNadav Rotem <nrotem@apple.com>2013-01-05 01:17:46 +0000
commitf19d515316222cb83127fba81f58cc015eacd186 (patch)
treef48cd1bdd932be4966319e066e3679cadcdb6912 /llvm/test
parente9f5bfd5e905338fd93d6c89b8579e68deff567f (diff)
downloadbcm5719-llvm-f19d515316222cb83127fba81f58cc015eacd186.tar.gz
bcm5719-llvm-f19d515316222cb83127fba81f58cc015eacd186.zip
Fix a typo. Remove the duplicated test.
llvm-svn: 171584
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/LoopVectorize/reduction.ll25
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/reduction.ll b/llvm/test/Transforms/LoopVectorize/reduction.ll
index 6b29e2537bd..129c20d367e 100644
--- a/llvm/test/Transforms/LoopVectorize/reduction.ll
+++ b/llvm/test/Transforms/LoopVectorize/reduction.ll
@@ -271,31 +271,6 @@ for.end: ; preds = %for.body, %entry
ret i32 %result.0.lcssa
}
-;CHECK: @reduction_sub_rhs
-;CHECK-NOT: phi <4 x i32>
-;CHECK-NOT: sub nsw <4 x i32>
-;CHECK: ret i32
-define i32 @reduction_sub_rhs(i32 %n, i32* noalias nocapture %A) nounwind uwtable readonly {
-entry:
- %cmp3 = icmp sgt i32 %n, 0
- br i1 %cmp3, label %for.body, label %for.end
-
-for.body: ; preds = %entry, %for.body
- %indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %entry ]
- %x.04 = phi i32 [ %sub, %for.body ], [ 0, %entry ]
- %arrayidx = getelementptr inbounds i32* %A, i64 %indvars.iv
- %0 = load i32* %arrayidx, align 4
- %sub = sub nsw i32 %x.04, %0
- %indvars.iv.next = add i64 %indvars.iv, 1
- %lftr.wideiv = trunc i64 %indvars.iv.next to i32
- %exitcond = icmp eq i32 %lftr.wideiv, %n
- br i1 %exitcond, label %for.end, label %for.body
-
-for.end: ; preds = %for.body, %entry
- %x.0.lcssa = phi i32 [ 0, %entry ], [ %sub, %for.body ]
- ret i32 %x.0.lcssa
-}
-
; In this code the subtracted variable is on the RHS and this is not an induction variable.
;CHECK: @reduction_sub_rhs
;CHECK-NOT: phi <4 x i32>
OpenPOWER on IntegriCloud