[clang-tools-extra] [clang] [llvm] [PGO] Sampled instrumentation in PGO to speed up instrumentation binary (PR #69535)

2024-01-27 Thread via cfe-commits
WenleiHe wrote: `split-indirectbr-critical-edges.ll` need to be updated https://github.com/llvm/llvm-project/pull/69535 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] [llvm] [PGO] Sampled instrumentation in PGO to speed up instrumentation binary (PR #69535)

2024-01-27 Thread via cfe-commits
@@ -770,7 +770,7 @@ BasicBlock *FuncPGOInstrumentation::getInstrBB(Edge *E) { auto canInstrument = [](BasicBlock *BB) -> BasicBlock * { // There are basic blocks (such as catchswitch) cannot be instrumented. // If the returned first insertion point is the end of BB, s