Skip to content

Commit 7e54d73

Browse files
committed
[RISCV] Remove VPatILoad and VPatIStore multiclasses that are no longer used. NFC
1 parent cc574f8 commit 7e54d73

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,31 +2352,6 @@ multiclass VPatSLoad<string intrinsic,
23522352
$rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
23532353
}
23542354

2355-
multiclass VPatILoad<string intrinsic,
2356-
string inst,
2357-
ValueType type,
2358-
ValueType idx_type,
2359-
ValueType mask_type,
2360-
int sew,
2361-
LMULInfo vlmul,
2362-
LMULInfo idx_vlmul,
2363-
VReg reg_class,
2364-
VReg idx_reg_class>
2365-
{
2366-
defvar Intr = !cast<Intrinsic>(intrinsic);
2367-
defvar Pseudo = !cast<Instruction>(inst#"_V_"#idx_vlmul.MX#"_"#vlmul.MX);
2368-
def : Pat<(type (Intr GPR:$rs1, (idx_type idx_reg_class:$rs2), (XLenVT (VLOp GPR:$vl)))),
2369-
(Pseudo $rs1, $rs2, GPR:$vl, sew)>;
2370-
2371-
defvar IntrMask = !cast<Intrinsic>(intrinsic # "_mask");
2372-
defvar PseudoMask = !cast<Instruction>(inst#"_V_"#idx_vlmul.MX#"_"#vlmul.MX#"_MASK");
2373-
def : Pat<(type (IntrMask (type GetVRegNoV0<reg_class>.R:$merge),
2374-
GPR:$rs1, (idx_type idx_reg_class:$rs2),
2375-
(mask_type V0), (XLenVT (VLOp GPR:$vl)))),
2376-
(PseudoMask $merge,
2377-
$rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
2378-
}
2379-
23802355
multiclass VPatUSStore<string intrinsic,
23812356
string inst,
23822357
ValueType type,
@@ -2413,29 +2388,6 @@ multiclass VPatSStore<string intrinsic,
24132388
(PseudoMask $rs3, $rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
24142389
}
24152390

2416-
multiclass VPatIStore<string intrinsic,
2417-
string inst,
2418-
ValueType type,
2419-
ValueType idx_type,
2420-
ValueType mask_type,
2421-
int sew,
2422-
LMULInfo vlmul,
2423-
LMULInfo idx_vlmul,
2424-
VReg reg_class,
2425-
VReg idx_reg_class>
2426-
{
2427-
defvar Intr = !cast<Intrinsic>(intrinsic);
2428-
defvar Pseudo = !cast<Instruction>(inst#"_V_"#idx_vlmul.MX#"_"#vlmul.MX);
2429-
def : Pat<(Intr (type reg_class:$rs3), GPR:$rs1,
2430-
(idx_type idx_reg_class:$rs2), (XLenVT (VLOp GPR:$vl))),
2431-
(Pseudo $rs3, $rs1, $rs2, GPR:$vl, sew)>;
2432-
defvar IntrMask = !cast<Intrinsic>(intrinsic # "_mask");
2433-
defvar PseudoMask = !cast<Instruction>(inst#"_V_"#idx_vlmul.MX#"_"#vlmul.MX#"_MASK");
2434-
def : Pat<(IntrMask (type reg_class:$rs3), GPR:$rs1,
2435-
(idx_type idx_reg_class:$rs2), (mask_type V0), (XLenVT (VLOp GPR:$vl))),
2436-
(PseudoMask $rs3, $rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
2437-
}
2438-
24392391
multiclass VPatUnaryS_M<string intrinsic_name,
24402392
string inst>
24412393
{

0 commit comments

Comments
 (0)