mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
cb5a10199b
Now that the legacy PM is deprecated for the optimization pipeline, we can start deleting legacy PM tests. For tests that test both PMs, merge the RUN lines. Delete tests specific to the legacy PM.
10 lines
324 B
C
10 lines
324 B
C
// Test if PGO sample use passes are invoked.
|
|
//
|
|
// Ensure Pass PGOInstrumentationGenPass is invoked.
|
|
// RUN: %clang_cc1 -O2 -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -fdebug-pass-manager -emit-llvm -o - 2>&1 | FileCheck %s
|
|
|
|
// CHECK: SimplifyCFGPass
|
|
// CHECK: SampleProfileLoaderPass
|
|
|
|
int func(int a) { return a; }
|