[llvm] [RISCV] Lower VP_SELECT constant false to use vmerge.vxm/vmerge.vim (PR #144461)
Liao Chunyu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 22:26:32 PDT 2025
================
@@ -34,10 +34,10 @@ define <vscale x 1 x i8> @masked_load_passthru_nxv1i8(ptr %a, <vscale x 1 x i1>
; ZVE32: # %bb.0:
; ZVE32-NEXT: csrr a1, vlenb
; ZVE32-NEXT: srli a1, a1, 3
-; ZVE32-NEXT: vsetvli a2, zero, e8, mf4, ta, ma
-; ZVE32-NEXT: vmv.v.i v8, 0
----------------
ChunyuLiao wrote:
I'll take a look at the VL optimizer. I'm not sure what the case is expected to be updated to — the earlier comments 'vmv.v.i is an unmasked instruction anyway so the difference between ma/mu shouldn't matter', but that doesn't seem to be a problem anymore.
https://github.com/llvm/llvm-project/pull/144461
More information about the llvm-commits
mailing list