@@ -2352,31 +2352,6 @@ multiclass VPatSLoad<string intrinsic,
2352
2352
$rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
2353
2353
}
2354
2354
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
-
2380
2355
multiclass VPatUSStore<string intrinsic,
2381
2356
string inst,
2382
2357
ValueType type,
@@ -2413,29 +2388,6 @@ multiclass VPatSStore<string intrinsic,
2413
2388
(PseudoMask $rs3, $rs1, $rs2, (mask_type V0), GPR:$vl, sew)>;
2414
2389
}
2415
2390
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
-
2439
2391
multiclass VPatUnaryS_M<string intrinsic_name,
2440
2392
string inst>
2441
2393
{
0 commit comments