[llvm] [RISCV] Shrink vslidedown when lowering fixed extract_subvector (PR #65598)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 08:03:01 PDT 2023
================
@@ -238,7 +238,7 @@ define void @extract_v8i1_v64i1_8(ptr %x, ptr %y) {
; LMULMAX2-NEXT: li a2, 32
; LMULMAX2-NEXT: vsetvli zero, a2, e8, m2, ta, ma
; LMULMAX2-NEXT: vlm.v v8, (a0)
-; LMULMAX2-NEXT: vsetivli zero, 1, e8, mf4, ta, ma
+; LMULMAX2-NEXT: vsetivli zero, 1, e8, mf8, ta, ma
----------------
preames wrote:
Ah, you don't want this. This is not a profitable change.
We don't want "minimum LMUL". We want "minimum LMUL which is a multiple of DLEN".
https://github.com/llvm/llvm-project/pull/65598
More information about the llvm-commits
mailing list