[llvm] [llvm][ctx_profile] Add instrumentation (PR #90136)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 11:34:51 PDT 2024
================
@@ -0,0 +1,41 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals all --version 4
+; RUN: opt -passes=pgo-instr-gen -profile-context-root=an_entrypoint \
+; RUN: -S < %s | FileCheck --check-prefix=INSTRUMENT %s
----------------
ellishg wrote:
```suggestion
; RUN: opt -passes=pgo-instr-gen -profile-context-root=an_entrypoint \
; RUN: -S < %s | FileCheck %s
```
NIT: Why not use the default check prefix `CHECK`?
https://github.com/llvm/llvm-project/pull/90136
More information about the llvm-commits
mailing list