[llvm] [LV][NFC] Emit remarks when failing to vectorise early exit loops (PR #225078)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 06:47:37 PDT 2026


================
@@ -6435,9 +6439,10 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlan1() {
             ? UncountableExitStyle::MaskedHandleExitInScalarLoop
             : UncountableExitStyle::ReadOnly;
     if (!RUN_VPLAN_PASS(VPlanTransforms::handleUncountableEarlyExits, *VPlan0,
-                        OrigLoop, PSE, *DT, Legal->getAssumptionCache(),
-                        EEStyle))
+                        ORE, OrigLoop, PSE, *DT, Legal->getAssumptionCache(),
+                        EEStyle)) {
       return nullptr;
+    }
----------------
lukel97 wrote:

Ah I didn't see the case below, having it be consistent is better.

https://github.com/llvm/llvm-project/pull/225078


More information about the llvm-commits mailing list