20 lines · plain
1; RUN: opt < %s -passes='require<da>,invalidate<scalar-evolution>,print<da>' \2; RUN: -disable-output -debug-pass-manager 2>&1 | FileCheck %s3 4; This test cannot be converted to use utils/update_analyze_test_checks.py5; because the pass order printing is not deterministic.6 7; CHECK: Running analysis: DependenceAnalysis on test_no_noalias8; CHECK: Running analysis: ScalarEvolutionAnalysis on test_no_noalias9; CHECK: Invalidating analysis: ScalarEvolutionAnalysis on test_no_noalias10; CHECK: Invalidating analysis: DependenceAnalysis on test_no_noalias11; CHECK: Running analysis: DependenceAnalysis on test_no_noalias12; CHECK: da analyze - none!13; CHECK: da analyze - confused!14; CHECK: da analyze - none!15define void @test_no_noalias(ptr %A, ptr %B) {16 store i32 1, ptr %A17 store i32 2, ptr %B18 ret void19}20