diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2023-11-17 16:55:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 16:55:18 -0600 |
commit | 10025d947c0b6bfc60a8b0c0f2af40585d173485 (patch) | |
tree | c5dc35e5c7d8bb135de7b1219a2f4d36189838e9 /clang | |
parent | 5679f5515b8ba83c804ad871452a95565af76e19 (diff) | |
download | llvm-10025d947c0b6bfc60a8b0c0f2af40585d173485.zip llvm-10025d947c0b6bfc60a8b0c0f2af40585d173485.tar.gz llvm-10025d947c0b6bfc60a8b0c0f2af40585d173485.tar.bz2 |
[NFC] Fix CSPGO clang pass manager test (#72681)
Fix a `CHECK-NOT` line in a cspgo clang test
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/cspgo-instrumentation_thinlto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/cspgo-instrumentation_thinlto.c b/clang/test/CodeGen/cspgo-instrumentation_thinlto.c index bf15555..f794338 100644 --- a/clang/test/CodeGen/cspgo-instrumentation_thinlto.c +++ b/clang/test/CodeGen/cspgo-instrumentation_thinlto.c @@ -21,11 +21,11 @@ // Ensure Pass PGOInstrumentationUsePass is invoked Once in PreLink. // RUN: %clang_cc1 -O2 -fprofile-instrument-use-path=%t/cs.profdata %s -flto=thin -fdebug-pass-manager -emit-llvm-bc -o %t/foo_fe_pm.bc 2>&1 | FileCheck %s -check-prefix=CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-PRE // CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-PRE: Running pass: PGOInstrumentationUse -// CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-PRE-Running pass: PGOInstrumentationUse +// CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-PRE-NOT: Running pass: PGOInstrumentationUse // // RUN: llvm-lto -thinlto -o %t/foo_pm %t/foo_fe_pm.bc // Ensure Pass PGOInstrumentationUSEPass is invoked in PostLink. -// RUN: %clang_cc1 -O2 -x ir %t/foo_fe_pm.bc -fthinlto-index=%t/foo_pm.thinlto.bc -fdebug-pass-manager -fprofile-instrument-use-path=%t/cs.profdata -flto=thin -emit-llvm -o - 2>&1 | FileCheck %s -check-prefix=CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-POST -dump-input=always +// RUN: %clang_cc1 -O2 -x ir %t/foo_fe_pm.bc -fthinlto-index=%t/foo_pm.thinlto.bc -fdebug-pass-manager -fprofile-instrument-use-path=%t/cs.profdata -flto=thin -emit-llvm -o - 2>&1 | FileCheck %s -check-prefix=CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-POST // CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-POST: Running pass: PGOInstrumentationUse // CHECK-CSPGOUSEPASS-INVOKED-INSTR-USE-POST-NOT: Running pass: PGOInstrumentationUse // |