File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
! RUN: %flang_fc1 -S -O2 %s -triple aarch64-unknown-linux-gnu -mllvm -debug-pass=Structure -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-O2
6
6
! RUN: %flang_fc1 -S -O3 %s -triple aarch64-unknown-linux-gnu -mllvm -debug-pass=Structure -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-O3
7
7
8
- ! CHECK-O2-NOT: SVE intrinsics optimizations
8
+ ! CHECK-O2-NOT: Optimize selects
9
9
10
- ! CHECK-O3: SVE intrinsics optimizations
10
+ ! CHECK-O3: Optimize selects
11
11
12
12
subroutine simple_loop
13
13
integer :: i
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ void AArch64PassConfig::addIRPasses() {
588
588
589
589
// Expand any SVE vector library calls that we can't code generate directly.
590
590
if (EnableSVEIntrinsicOpts &&
591
- TM->getOptLevel () == CodeGenOptLevel::Aggressive )
591
+ TM->getOptLevel () != CodeGenOptLevel::None )
592
592
addPass (createSVEIntrinsicOptsPass ());
593
593
594
594
// Cmpxchg instructions are often used with a subsequent comparison to
You can’t perform that action at this time.
0 commit comments