blob: c22c3f3255ef4d72f0f121bcb8a1a1a7a3136aa0 [file] [log] [blame]
// Test that we print pass structure with new and legacy PM.
// RUN: %clang -fdebug-pass-structure -fintegrated-as -O3 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --strict-whitespace
// REQUIRES: asserts
// should have proper indentation, should not print any analysis information
// CHECK-NOT: Running analysis
// CHECK: {{^}}Running{{.*}}GlobalOptPass
// CHECK: {{^}} Running{{.*}}RequireAnalysisPass{{.*}}GlobalsAA
// CHECK: GlobalOptPass
// CHECK-NOT: Invalidating analysis
void f(void) {}