@@ -536,19 +536,19 @@ multiclass VPatWidenBinaryFPSDNode_VV_VF<SDNode op, string instruction_name> {
536
536
defvar wti = vtiToWti.Wti;
537
537
let Predicates = !listconcat(GetVTypePredicates<vti>.Predicates,
538
538
GetVTypePredicates<wti>.Predicates) in {
539
- def : Pat<(op (wti.Vector (riscv_fpextend_vl_oneuse
539
+ def : Pat<(op (wti.Vector (riscv_fpextend_vl_sameuser
540
540
(vti.Vector vti.RegClass:$rs2),
541
541
(vti.Mask true_mask), (XLenVT srcvalue))),
542
- (wti.Vector (riscv_fpextend_vl_oneuse
542
+ (wti.Vector (riscv_fpextend_vl_sameuser
543
543
(vti.Vector vti.RegClass:$rs1),
544
544
(vti.Mask true_mask), (XLenVT srcvalue)))),
545
545
(!cast<Instruction>(instruction_name#"_VV_"#vti.LMul.MX)
546
546
(wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
547
547
vti.RegClass:$rs1, vti.AVL, vti.Log2SEW, TA_MA)>;
548
- def : Pat<(op (wti.Vector (riscv_fpextend_vl_oneuse
548
+ def : Pat<(op (wti.Vector (riscv_fpextend_vl_sameuser
549
549
(vti.Vector vti.RegClass:$rs2),
550
550
(vti.Mask true_mask), (XLenVT srcvalue))),
551
- (wti.Vector (riscv_fpextend_vl_oneuse
551
+ (wti.Vector (riscv_fpextend_vl_sameuser
552
552
(vti.Vector (SplatFPOp vti.ScalarRegClass:$rs1)),
553
553
(vti.Mask true_mask), (XLenVT srcvalue)))),
554
554
(!cast<Instruction>(instruction_name#"_V"#vti.ScalarSuffix#"_"#vti.LMul.MX)
@@ -571,10 +571,10 @@ multiclass VPatWidenBinaryFPSDNode_VV_VF_RM<SDNode op, string instruction_name>
571
571
defvar wti = vtiToWti.Wti;
572
572
let Predicates = !listconcat(GetVTypePredicates<vti>.Predicates,
573
573
GetVTypePredicates<wti>.Predicates) in {
574
- def : Pat<(op (wti.Vector (riscv_fpextend_vl_oneuse
574
+ def : Pat<(op (wti.Vector (riscv_fpextend_vl_sameuser
575
575
(vti.Vector vti.RegClass:$rs2),
576
576
(vti.Mask true_mask), (XLenVT srcvalue))),
577
- (wti.Vector (riscv_fpextend_vl_oneuse
577
+ (wti.Vector (riscv_fpextend_vl_sameuser
578
578
(vti.Vector vti.RegClass:$rs1),
579
579
(vti.Mask true_mask), (XLenVT srcvalue)))),
580
580
(!cast<Instruction>(instruction_name#"_VV_"#vti.LMul.MX#"_E"#vti.SEW)
@@ -584,10 +584,10 @@ multiclass VPatWidenBinaryFPSDNode_VV_VF_RM<SDNode op, string instruction_name>
584
584
// RISCVInsertReadWriteCSR
585
585
FRM_DYN,
586
586
vti.AVL, vti.Log2SEW, TA_MA)>;
587
- def : Pat<(op (wti.Vector (riscv_fpextend_vl_oneuse
587
+ def : Pat<(op (wti.Vector (riscv_fpextend_vl_sameuser
588
588
(vti.Vector vti.RegClass:$rs2),
589
589
(vti.Mask true_mask), (XLenVT srcvalue))),
590
- (wti.Vector (riscv_fpextend_vl_oneuse
590
+ (wti.Vector (riscv_fpextend_vl_sameuser
591
591
(vti.Vector (SplatFPOp (vti.Scalar vti.ScalarRegClass:$rs1))),
592
592
(vti.Mask true_mask), (XLenVT srcvalue)))),
593
593
(!cast<Instruction>(instruction_name#"_V"#vti.ScalarSuffix#"_"#vti.LMul.MX#"_E"#vti.SEW)
@@ -669,10 +669,10 @@ multiclass VPatWidenFPMulAccSDNode_VV_VF_RM<string instruction_name,
669
669
!if(!eq(vti.Scalar, bf16),
670
670
[HasStdExtZvfbfwma],
671
671
[])) in {
672
- def : Pat<(fma (wti.Vector (riscv_fpextend_vl_oneuse
672
+ def : Pat<(fma (wti.Vector (riscv_fpextend_vl_sameuser
673
673
(vti.Vector vti.RegClass:$rs1),
674
674
(vti.Mask true_mask), (XLenVT srcvalue))),
675
- (wti.Vector (riscv_fpextend_vl_oneuse
675
+ (wti.Vector (riscv_fpextend_vl_sameuser
676
676
(vti.Vector vti.RegClass:$rs2),
677
677
(vti.Mask true_mask), (XLenVT srcvalue))),
678
678
(wti.Vector wti.RegClass:$rd)),
@@ -749,11 +749,11 @@ multiclass VPatWidenFPMulSacSDNode_VV_VF_RM<string instruction_name> {
749
749
defvar suffix = vti.LMul.MX # "_E" # vti.SEW;
750
750
let Predicates = !listconcat(GetVTypePredicates<vti>.Predicates,
751
751
GetVTypePredicates<wti>.Predicates) in {
752
- def : Pat<(fma (wti.Vector (riscv_fpextend_vl_oneuse
752
+ def : Pat<(fma (wti.Vector (riscv_fpextend_vl_sameuser
753
753
(vti.Vector vti.RegClass:$rs1),
754
754
(vti.Mask true_mask), (XLenVT srcvalue))),
755
- (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
756
- (vti.Mask true_mask), (XLenVT srcvalue)),
755
+ (riscv_fpextend_vl_sameuser (vti.Vector vti.RegClass:$rs2),
756
+ (vti.Mask true_mask), (XLenVT srcvalue)),
757
757
(fneg wti.RegClass:$rd)),
758
758
(!cast<Instruction>(instruction_name#"_VV_"#suffix)
759
759
wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
0 commit comments