[llvm] [RISCV] Pack build_vectors into largest available element type (PR #97351)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 09:35:14 PDT 2024


================
@@ -1267,43 +1267,53 @@ define <16 x i8> @buildvec_v16i8_loads_contigous(ptr %p) {
 ;
 ; RVA22U64-LABEL: buildvec_v16i8_loads_contigous:
 ; RVA22U64:       # %bb.0:
-; RVA22U64-NEXT:    addi a6, a0, 8
-; RVA22U64-NEXT:    lbu t6, 1(a0)
+; RVA22U64-NEXT:    lbu a1, 1(a0)
----------------
preames wrote:

>From your other comment, it seems like plain rv32 + v + zba + zbb might be enough here?  Can you confirm?

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


More information about the llvm-commits mailing list