aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/LoopVectorize/gcc-examples.ll
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-12-11 15:36:31 +0000
committerAlexander Kornienko <alexfh@google.com>2012-12-11 15:36:31 +0000
commitb50a126556a69df0fb68a190afdaf9850410fd4a (patch)
tree57e2fdf1caf960d8d878e0289f32af6759832b49 /test/Transforms/LoopVectorize/gcc-examples.ll
parentccaf20cc53a3dc353f4786b1ebf4ebb3f81d4746 (diff)
parent1ad9253c9d34ccbce3e7e4ea5d87c266cbf93410 (diff)
Updating branches/google/testing to r169803
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/google/testing@169870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/gcc-examples.ll')
-rw-r--r--test/Transforms/LoopVectorize/gcc-examples.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll
index c34fd72a46..f1bf6cb6d8 100644
--- a/test/Transforms/LoopVectorize/gcc-examples.ll
+++ b/test/Transforms/LoopVectorize/gcc-examples.ll
@@ -89,9 +89,8 @@ define void @example2(i32 %n, i32 %x) nounwind uwtable ssp {
ret void
}
-; We can't vectorize this loop because it has non constant loop bounds.
;CHECK: @example3
-;CHECK-NOT: <4 x i32>
+;CHECK: <4 x i32>
;CHECK: ret void
define void @example3(i32 %n, i32* noalias nocapture %p, i32* noalias nocapture %q) nounwind uwtable ssp {
%1 = icmp eq i32 %n, 0
@@ -537,9 +536,8 @@ define void @example14(i32** nocapture %in, i32** nocapture %coeff, i32* nocaptu
ret void
}
-; Can't vectorize because the src and dst pointers are not disjoint.
;CHECK: @example21
-;CHECK-NOT: <4 x i32>
+;CHECK: <4 x i32>
;CHECK: ret i32
define i32 @example21(i32* nocapture %b, i32 %n) nounwind uwtable readonly ssp {
%1 = icmp sgt i32 %n, 0