Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Driver/debug-pass-structure.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children |
rev | line source |
---|---|
221 | 1 // Test that we print pass structure with new and legacy PM. |
236 | 2 // RUN: %clang -fdebug-pass-structure -fintegrated-as -O3 -S -emit-llvm %s -o /dev/null 2>&1 | FileCheck %s --strict-whitespace |
221 | 3 // REQUIRES: asserts |
4 | |
5 // should have proper indentation, should not print any analysis information | |
236 | 6 // CHECK-NOT: Running analysis |
7 // CHECK: {{^}}Running{{.*}}GlobalOptPass | |
8 // CHECK: {{^}} Running{{.*}}RequireAnalysisPass{{.*}}GlobalsAA | |
9 // CHECK: GlobalOptPass | |
10 // CHECK-NOT: Invalidating analysis | |
221 | 11 |
236 | 12 void f(void) {} |