[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:49:08 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:
Never mind. I found https://github.com/llvm/llvm-project/commit/09515f2c20111628ce81ad5f40e12e5f6af5ed2f in your description.
https://github.com/llvm/llvm-project/pull/102101
More information about the llvm-commits
mailing list