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