forked from OSchip/llvm-project
[SLPVectorizer] Set flag to previous default.
Summary: The refactoring in r360276 moved the `RunSLPVectorization` flag and added the default explicitly. The default should have been `false`, as before. The new pass manager used to have SLPVectorization on by default, now it's off in opt, and needs D61617 checked in to enable it in clang. Reviewers: chandlerc Subscribers: mehdi_amini, jlebar, eraman, steven_wu, dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61955 llvm-svn: 361537
This commit is contained in:
parent
a8e0d49c0c
commit
63729b0c49
|
@ -106,7 +106,7 @@ using namespace slpvectorizer;
|
||||||
STATISTIC(NumVectorInstructions, "Number of vector instructions generated");
|
STATISTIC(NumVectorInstructions, "Number of vector instructions generated");
|
||||||
|
|
||||||
cl::opt<bool>
|
cl::opt<bool>
|
||||||
llvm::RunSLPVectorization("vectorize-slp", cl::init(true), cl::Hidden,
|
llvm::RunSLPVectorization("vectorize-slp", cl::init(false), cl::Hidden,
|
||||||
cl::desc("Run the SLP vectorization passes"));
|
cl::desc("Run the SLP vectorization passes"));
|
||||||
|
|
||||||
static cl::opt<int>
|
static cl::opt<int>
|
||||||
|
|
|
@ -243,7 +243,6 @@
|
||||||
; CHECK-O-NEXT: Running analysis: LoopAccessAnalysis
|
; CHECK-O-NEXT: Running analysis: LoopAccessAnalysis
|
||||||
; CHECK-O-NEXT: Running pass: InstCombinePass
|
; CHECK-O-NEXT: Running pass: InstCombinePass
|
||||||
; CHECK-O-NEXT: Running pass: SimplifyCFGPass
|
; CHECK-O-NEXT: Running pass: SimplifyCFGPass
|
||||||
; CHECK-O-NEXT: Running pass: SLPVectorizerPass
|
|
||||||
; CHECK-O-NEXT: Running pass: InstCombinePass
|
; CHECK-O-NEXT: Running pass: InstCombinePass
|
||||||
; CHECK-O-NEXT: Running pass: LoopUnrollPass
|
; CHECK-O-NEXT: Running pass: LoopUnrollPass
|
||||||
; CHECK-O-NEXT: Running pass: WarnMissedTransformationsPass
|
; CHECK-O-NEXT: Running pass: WarnMissedTransformationsPass
|
||||||
|
|
|
@ -217,7 +217,6 @@
|
||||||
; CHECK-POSTLINK-O-NEXT: Running analysis: LoopAccessAnalysis
|
; CHECK-POSTLINK-O-NEXT: Running analysis: LoopAccessAnalysis
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: InstCombinePass
|
; CHECK-POSTLINK-O-NEXT: Running pass: InstCombinePass
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: SimplifyCFGPass
|
; CHECK-POSTLINK-O-NEXT: Running pass: SimplifyCFGPass
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: SLPVectorizerPass
|
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: InstCombinePass
|
; CHECK-POSTLINK-O-NEXT: Running pass: InstCombinePass
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: LoopUnrollPass
|
; CHECK-POSTLINK-O-NEXT: Running pass: LoopUnrollPass
|
||||||
; CHECK-POSTLINK-O-NEXT: Running pass: WarnMissedTransformationsPass
|
; CHECK-POSTLINK-O-NEXT: Running pass: WarnMissedTransformationsPass
|
||||||
|
|
Loading…
Reference in New Issue