File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/Transforms/LoopVectorize/X86 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
; RUN: opt < %s -mcpu=corei7 -O1 -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O1VEC2
9
9
; RUN: opt < %s -mcpu=corei7 -Oz -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=OzVEC2
10
10
; RUN: opt < %s -mcpu=corei7 -O3 -unroll-threshold=150 -vectorize-loops=false -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O3DIS
11
+ ; RUN: opt < %s -mcpu=corei7 -O1 -loop-vectorize -S -unroll-allow-partial=0 -enable-new-pm=1 | FileCheck %s --check-prefix=O1VEC2
11
12
12
13
; This file tests the llvm.loop.vectorize.enable metadata forcing
13
14
; vectorization even when optimization levels are too low, or when
Original file line number Diff line number Diff line change @@ -759,9 +759,6 @@ int main(int argc, char **argv) {
759
759
return 1 ;
760
760
}
761
761
SmallVector<StringRef, 4 > Passes;
762
- for (const auto &P : PassList) {
763
- Passes.push_back (P->getPassArgument ());
764
- }
765
762
if (OptLevelO0)
766
763
Passes.push_back (" default<O0>" );
767
764
if (OptLevelO1)
@@ -774,6 +771,8 @@ int main(int argc, char **argv) {
774
771
Passes.push_back (" default<Os>" );
775
772
if (OptLevelOz)
776
773
Passes.push_back (" default<Oz>" );
774
+ for (const auto &P : PassList)
775
+ Passes.push_back (P->getPassArgument ());
777
776
OutputKind OK = OK_NoOutput;
778
777
if (!NoOutput)
779
778
OK = OutputAssembly
You can’t perform that action at this time.
0 commit comments