[llvm] [LoopVectorize] Enable shuffle padding for masked interleaved accesses (PR #75329)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 07:17:44 PST 2023


================
@@ -0,0 +1,279 @@
+; RUN: opt -mtriple=aarch64 -mattr=+sve -S -passes=loop-vectorize,interleaved-access  -enable-masked-interleaved-mem-accesses=true -sve-gather-overhead=10 -sve-scatter-overhead=10  -enable-shuffle-padding=true -force-vector-width=16 -aarch64-sve-vector-bits-min=512 < %s -o - | FileCheck %s --check-prefixes=ENABLE-SHUFFLE-PADDING
----------------
david-arm wrote:

The `-sve-gather-overhead=10 -sve-scatter-overhead=10` flags aren't needed because they are the default already I think. Also, the `-aarch64-sve-vector-bits-min=512` flag contradicts the `vscale_range(2,2)` attribute (i.e. min=256 bits).

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


More information about the llvm-commits mailing list