File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55!  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
66!  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
77
8- !  CHECK-O2-NOT: SVE intrinsics optimizations 
8+ !  CHECK-O2-NOT: Optimize selects 
99
10- !  CHECK-O3: SVE intrinsics optimizations 
10+ !  CHECK-O3: Optimize selects 
1111
1212subroutine  simple_loop 
1313  integer  ::  i
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ void AArch64PassConfig::addIRPasses() {
588588
589589  //  Expand any SVE vector library calls that we can't code generate directly.
590590  if  (EnableSVEIntrinsicOpts &&
591-       TM->getOptLevel () ==  CodeGenOptLevel::Aggressive )
591+       TM->getOptLevel () !=  CodeGenOptLevel::None )
592592    addPass (createSVEIntrinsicOptsPass ());
593593
594594  //  Cmpxchg instructions are often used with a subsequent comparison to
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments