[llvm] [CodeGen] [EarlyIfConversion] Prioritize conversion of hard to predict branches (PR #174457)
Jonathan Cohen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 26 09:59:16 PST 2026
================
@@ -55,10 +56,25 @@ BlockInstrLimit("early-ifcvt-limit", cl::init(30), cl::Hidden,
static cl::opt<bool> Stress("stress-early-ifcvt", cl::Hidden,
cl::desc("Turn all knobs to 11"));
+// Enable analysis of hard-to-predict branches (conditions derived from loads).
+static cl::opt<bool> EnableHardToPredictAnalysis(
+ "enable-early-ifcvt-hard-to-predict", cl::Hidden, cl::init(true),
----------------
jcohen-apple wrote:
Done
https://github.com/llvm/llvm-project/pull/174457
More information about the llvm-commits
mailing list