[llvm] [LoopPeel] Peel last iteration to enable load widening (PR #173420)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 12 03:28:51 PST 2026
================
@@ -86,6 +86,11 @@ static cl::opt<bool> EnablePeelingForIV(
"enable-peeling-for-iv", cl::init(false), cl::Hidden,
cl::desc("Enable peeling to convert Phi nodes into IVs"));
+static cl::opt<bool> EnablePeelForLoadWidening(
+ "enable-peel-for-load-widening", cl::init(true), cl::Hidden,
+ cl::desc(
+ "Enable peeling last iteration to enable consecutive load widening"));
----------------
fhahn wrote:
should have test with option disabled as well
https://github.com/llvm/llvm-project/pull/173420
More information about the llvm-commits
mailing list