[llvm] [LV][AArch64] Prefer epilogue with fixed-width over scalable VF in case of equal costs. (PR #155546)

Hassnaa Hamdi via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 07:04:20 PDT 2025


================
@@ -10,7 +10,7 @@ target triple = "aarch64-unknown-linux-gnu"
 define void @foo(ptr noalias nocapture readonly %p, ptr noalias nocapture %q, i64 %len) #0 {
 ; CHECK-EPILOG:      vec.epilog.ph:
 ; CHECK-EPILOG:      vec.epilog.vector.body:
-; CHECK-EPILOG:        load <vscale x 4 x i16>
+; CHECK-EPILOG:        load <8 x i16>
----------------
hassnaaHamdi wrote:

done

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


More information about the llvm-commits mailing list