[llvm] [RISCV] Use VP strided load in concat_vectors combine (PR #98131)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 02:26:27 PDT 2024
================
@@ -9,9 +9,9 @@
define void @widen_2xv4i16(ptr %x, ptr %z) {
; CHECK-LABEL: widen_2xv4i16:
; CHECK: # %bb.0:
-; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, ma
-; CHECK-NEXT: vle16.v v8, (a0)
-; CHECK-NEXT: vse16.v v8, (a1)
+; CHECK-NEXT: vsetivli zero, 2, e64, m1, ta, ma
----------------
wangpc-pp wrote:
So the alignment of `<4 x i16>` is 64 bits, IIUC? Then this makes sense to me.
https://github.com/llvm/llvm-project/pull/98131
More information about the llvm-commits
mailing list