diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2016-02-08 11:56:15 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2016-02-08 11:56:15 +0000 |
commit | 41b4973329490554594745b65913832ce5ae31ba (patch) | |
tree | 928d5a36135bccdab2938737b8cf487ba6d3d31e /llvm/test/Transforms/LoopVectorize/same-base-access.ll | |
parent | 70a98bb9e85fbc2d654c4c9cc360d277b8891db6 (diff) | |
download | bcm5719-llvm-41b4973329490554594745b65913832ce5ae31ba.tar.gz bcm5719-llvm-41b4973329490554594745b65913832ce5ae31ba.zip |
Revert r260086 and r260085. They have broken the memory
sanitizer bots.
llvm-svn: 260087
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/same-base-access.ll')
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/same-base-access.ll | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/same-base-access.ll b/llvm/test/Transforms/LoopVectorize/same-base-access.ll index 53fad8afdad..31cff0ee653 100644 --- a/llvm/test/Transforms/LoopVectorize/same-base-access.ll +++ b/llvm/test/Transforms/LoopVectorize/same-base-access.ll @@ -62,9 +62,11 @@ define i32 @kernel11(double* %x, double* %y, i32 %n) nounwind uwtable ssp { } -; A[i*7] is scalarized, and the different scalars can in theory wrap -; around and overwrite other scalar elements. However we can still -; vectorize because we can version the loop to avoid this case. + +; We don't vectorize this function because A[i*7] is scalarized, and the +; different scalars can in theory wrap around and overwrite other scalar +; elements. At the moment we only allow read/write access to arrays +; that are consecutive. ; ; void foo(int *a) { ; for (int i=0; i<256; ++i) { @@ -76,7 +78,7 @@ define i32 @kernel11(double* %x, double* %y, i32 %n) nounwind uwtable ssp { ; } ; CHECK-LABEL: @func2( -; CHECK: <4 x i32> +; CHECK-NOT: <4 x i32> ; CHECK: ret define i32 @func2(i32* nocapture %a) nounwind uwtable ssp { br label %1 |