[llvm] [X86] Don't always seperate conditions in `(br (and/or cond0, cond1))` into seperate branches (PR #81689)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 03:48:43 PST 2024
================
@@ -596,6 +596,20 @@ class TargetLoweringBase {
/// avoided.
bool isJumpExpensive() const { return JumpIsExpensive; }
+ struct CondMergingParams {
+ int BaseCost;
+ int LikelyBias;
+ int UnlikelyBias;
+ };
+ // Return params for deciding if we should keep two branch conditions merged
+ // or split them into two seperate branches.
----------------
jayfoad wrote:
Typo "separate"
https://github.com/llvm/llvm-project/pull/81689
More information about the llvm-commits
mailing list