[llvm] [InstCombine] Abandon BranchProbabilityAnalysis cache result (PR #86470)
Haohai Wen via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 07:34:35 PDT 2024
HaohaiWen wrote:
> The change InstCombine does to the CFG is trivial -- can we update the analysis instead?
I'm afraid that's not easy... We many need to check & update cached BranchProbabilityAnalysis in all callsite of BranchInst.swapSuccessors()...
https://github.com/llvm/llvm-project/pull/86470
More information about the llvm-commits
mailing list