[PATCH] D97482: [CSSPGO] Deduplicating dangling pseudo probes.
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 15:49:08 PST 2021
wmi added inline comments.
================
Comment at: llvm/lib/IR/PseudoProbe.cpp:139
+/// multiple copies of them.
+bool removeRedundantPseudoProbes(BasicBlock *Block) {
+
----------------
If the interface can be changed to collectRedundantPseudoProbes(BasicBlock *Block, SmallVectorImpl<PseudoProbeInst *> &ToBeRemoved), it can be reused by the code above to remove redundent probes for the function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97482/new/
https://reviews.llvm.org/D97482
More information about the llvm-commits
mailing list