[llvm] [SelectionDAG][X86] Preserve unpredictable metadata for conditional branches in SelectionDAG, as well as JCCs generated by X86 backend. (PR #102101)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 04:15:58 PDT 2024
================
@@ -137,29 +137,34 @@ struct CaseBlock {
SDLoc DL;
DebugLoc DbgLoc;
- // Branch weights.
+ // Branch weights and predictability.
BranchProbability TrueProb, FalseProb;
+ bool IsUnpredictable;
----------------
phoebewang wrote:
Where this get used?
https://github.com/llvm/llvm-project/pull/102101
More information about the llvm-commits
mailing list