summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-06-27 22:05:58 +0000
committerDehao Chen <dehao@google.com>2017-06-27 22:05:58 +0000
commit920d0225195a6c81141670d15190a00f7262a7de (patch)
tree788e22b2df03763d4b1b2cf9990482a7838e54ff /llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
parent4f820d0e0179ea4171ea6e4b12d63f27b80c0f20 (diff)
downloadbcm5719-llvm-920d0225195a6c81141670d15190a00f7262a7de.tar.gz
bcm5719-llvm-920d0225195a6c81141670d15190a00f7262a7de.zip
re-commit r306336: Enable vectorizer-maximize-bandwidth by default.
Differential Revision: https://reviews.llvm.org/D33341 llvm-svn: 306473
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