[llvm] [CodeGen] [EarlyIfConversion] Prioritize conversion of hard to predict branches (PR #174457)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 26 03:58:04 PST 2026
================
@@ -1183,8 +1318,10 @@ bool EarlyIfConverterLegacy::runOnMachineFunction(MachineFunction &MF) {
MachineLoopInfo &LI = getAnalysis<MachineLoopInfoWrapperPass>().getLI();
MachineTraceMetrics &MTM =
getAnalysis<MachineTraceMetricsWrapperPass>().getMTM();
+ MachineBranchProbabilityInfo &MBPI =
----------------
fhahn wrote:
would be good to check the compile-time impact of the latest version requiring MBPI just to be sure. Can we only request it if used, i.e. the option is enabled
https://github.com/llvm/llvm-project/pull/174457
More information about the llvm-commits
mailing list