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

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 06:46:33 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;
+    }
----------------
david-arm wrote:

They weren't, but then I saw the else case below also has braces so I thought I'd leave them in for consistency. Alternatively, I could remove all of the braces?

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


More information about the llvm-commits mailing list