[llvm] [SimplifyCFG] Set branch weights when merging conditional store to address (PR #154841)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 09:54:05 PDT 2025
================
@@ -190,5 +191,31 @@ LLVM_ABI bool hasExplicitlyUnknownBranchWeights(const Instruction &I);
/// Scaling the profile data attached to 'I' using the ratio of S/T.
LLVM_ABI void scaleProfData(Instruction &I, uint64_t S, uint64_t T);
+/// get the branch weights of a branch conditioned on b1 || b2, where b1 and b2
----------------
david-xl wrote:
b1 | b2
https://github.com/llvm/llvm-project/pull/154841
More information about the llvm-commits
mailing list