[all-commits] [llvm/llvm-project] b75dad: [RISCV] Support VP_SPLAT mask operations (#132345)
MingYan via All-commits
all-commits at lists.llvm.org
Mon Mar 24 00:27:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b75dad090c14ebafe445f486e2b27ab47fd12a16
https://github.com/llvm/llvm-project/commit/b75dad090c14ebafe445f486e2b27ab47fd12a16
Author: MingYan <99472920+NexMing at users.noreply.github.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/vp-splat-mask.ll
Log Message:
-----------
[RISCV] Support VP_SPLAT mask operations (#132345)
When val is a constant, it will:
(vp.splat val, mask, vl) -> (select val, (riscv_vmset_vl vl),
(riscv_vmclr_vl vl))
Otherwise:
(vp.splat val, mask, vl) -> (vmsne_vl (vmv_v_x_vl (zext val), vl),
splat(zero), mask, vl)
---------
Co-authored-by: yanming <ming.yan at terapines.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list