[llvm] [LV] Simplify epilogue VF selection by comparing against MaxTripCount (PR #186185)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 03:13:45 PDT 2026
================
@@ -18,18 +18,18 @@ target triple = "aarch64-linux-gnu"
; DEBUG: LV: Checking a loop in 'main_vf_vscale_x_16'
; DEBUG: Create Skeleton for epilogue vectorized loop (first pass)
-; DEBUG: Main Loop VF:vscale x 16, Main Loop UF:2, Epilogue Loop VF:8, Epilogue Loop UF:1
+; DEBUG: Main Loop VF:vscale x 16, Main Loop UF:2, Epilogue Loop VF:4, Epilogue Loop UF:1
----------------
hassnaaHamdi wrote:
The current code favour the larger VF for the scalable cases, I updated it to do the same for epilogue case.
https://github.com/llvm/llvm-project/pull/186185
More information about the llvm-commits
mailing list