summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-07-01 03:24:08 +0000
committerTeresa Johnson <tejohnson@google.com>2017-07-01 03:24:08 +0000
commiteb4fba9d6173eb622e7a351090e380bd9de72ddb (patch)
tree936e9db9d364428cfd602d1ce27e30e8e6bee94b /llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
parentde56903bde27fc257e66bdd525572b6c76dcb6f3 (diff)
downloadbcm5719-llvm-eb4fba9d6173eb622e7a351090e380bd9de72ddb.tar.gz
bcm5719-llvm-eb4fba9d6173eb622e7a351090e380bd9de72ddb.zip
re-commit r306336: Enable vectorizer-maximize-bandwidth by default.
Differential Revision: https://reviews.llvm.org/D33341 llvm-svn: 306935
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll')
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll15
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll b/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
index c581f4bf2a6..2e3dfa0a15f 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
@@ -44,17 +44,16 @@ define void @example1() nounwind uwtable ssp {
ret void
}
-; Select VF=4 because sext <8 x i1> to <8 x i32> is expensive.
;CHECK-LABEL: @example10b(
-;CHECK: load <4 x i16>
-;CHECK: sext <4 x i16>
-;CHECK: store <4 x i32>
+;CHECK: load <8 x i16>
+;CHECK: sext <8 x i16>
+;CHECK: store <8 x i32>
;CHECK: ret void
;UNROLL-LABEL: @example10b(
-;UNROLL: load <4 x i16>
-;UNROLL: load <4 x i16>
-;UNROLL: store <4 x i32>
-;UNROLL: store <4 x i32>
+;UNROLL: load <8 x i16>
+;UNROLL: load <8 x i16>
+;UNROLL: store <8 x i32>
+;UNROLL: store <8 x i32>
;UNROLL: ret void
define void @example10b(i16* noalias nocapture %sa, i16* noalias nocapture %sb, i16* noalias nocapture %sc, i32* noalias nocapture %ia, i32* noalias nocapture %ib, i32* noalias nocapture %ic) nounwind uwtable ssp {
br label %1
OpenPOWER on IntegriCloud