[llvm] [VPlan] Only use selectVectorizationFactor for cross-check (NFCI). (PR #103033)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 05:12:15 PDT 2024


================
@@ -9936,7 +9930,7 @@ bool LoopVectorizePass::processLoop(Loop *L) {
     VectorizeLoop = false;
   }
 
-  if (!MaybeVF && UserIC > 1) {
+  if (!LVP.hasPlanWithVF(VF.Width) && UserIC > 1) {
----------------
fhahn wrote:

Left as is for now, see comment above.

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


More information about the llvm-commits mailing list