[llvm] [RISCV] Split vector FP pseudo instructions by SEW. NFC. (PR #87686)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 7 20:42:32 PDT 2024
================
@@ -2823,16 +2831,17 @@ multiclass VPseudoVDIV_VV_VX {
multiclass VPseudoVFMUL_VV_VF_RM {
foreach m = MxListF in {
- defm "" : VPseudoBinaryFV_VV_RM<m>,
- SchedBinary<"WriteVFMulV", "ReadVFMulV", "ReadVFMulV", m.MX,
- forceMergeOpRead=true>;
+ foreach e = SchedSEWSet<m.MX, isF=1>.val in
+ defm "" : VPseudoBinaryFV_VV_RM<m, "", e>,
+ SchedBinary<"WriteVFMulV", "ReadVFMulV", "ReadVFMulV", m.MX, e,
+ forceMergeOpRead=true>;
}
foreach f = FPList in {
foreach m = f.MxList in {
- defm "" : VPseudoBinaryV_VF_RM<m, f>,
+ defm "" : VPseudoBinaryV_VF_RM<m, f, "", f.SEW>,
----------------
wangpc-pp wrote:
ditto.
https://github.com/llvm/llvm-project/pull/87686
More information about the llvm-commits
mailing list