[compiler-rt] [llvm] [PGO] Add option to always instrumenting loop entries (PR #116789)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 10:43:52 PST 2024
================
@@ -0,0 +1,78 @@
+; RUN: opt %s -passes=pgo-instr-gen -pgo-instrument-loop-entries=false -S | FileCheck %s --check-prefixes=GEN,NOTLOOPENTRIES
+; RUN: llvm-profdata merge %S/Inputs/loop3.proftext -o %t.profdata
----------------
ellishg wrote:
Instead of creating new files in the `Inputs` directory, lets use `split-file` to inline the `.proftext` files into this test.
https://llvm.org/docs/TestingGuide.html#extra-files
https://github.com/llvm/llvm-project/pull/116789
More information about the llvm-commits
mailing list