[llvm] [VPlan] Remove loop region in optimizeForVFAndUF. (PR #108378)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 12:40:28 PST 2025


================
@@ -2988,6 +2990,9 @@ void InnerLoopVectorizer::fixVectorizedLoop(VPTransformState &State) {
                    getOrCreateVectorTripCount(nullptr), LoopMiddleBlock, State);
   }
 
+  if (!State.Plan->getVectorLoopRegion())
+    return;
+
----------------
fhahn wrote:

Added thanks

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


More information about the llvm-commits mailing list