22 lines · plain
1; RUN: opt < %s -debug-pass-manager -passes='loop-vectorize,sccp,loop-vectorize' 2>&1 -S | FileCheck --check-prefix=NEW-PM %s2 3; Check that DT is preserved by SCCP by running it between 24; loop-vectorize runs.5 6; NEW-PM-DAG: Running analysis: LoopAnalysis on test7; NEW-PM-DAG: Running analysis: DominatorTreeAnalysis on test8; NEW-PM: Running pass: SCCPPass on test9; NEW-PM: Running analysis: TargetLibraryAnalysis on test10; NEW-PM: Running analysis: LoopAnalysis on test11; NEW-PM-NOT: Running analysis: DominatorTreeAnalysis on test12; NEW-PM-NOT: Running analysis: AssumptionAnalysis on test13; NEW-PM-NOT: Running analysis: TargetLibraryAnalysis on test14; NEW-PM-NOT: Running analysis: TargetIRAnalysis on test15 16 17define i32 @test() {18entry:19 %res = add i32 1, 1020 ret i32 %res21}22