Skip to content

Commit 96e94d6

Browse files
committed
[RISCV] Remove untested Zvfbfmin isel patterns
These were added with the Zvfbfa instrinsics but aren't tested. We should probably have these patterns but they should be applicable to Zvfbfmin and Zvbfa and would need to be tested.
1 parent f36c73e commit 96e94d6

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoZvfbf.td

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -475,20 +475,6 @@ let Predicates = [HasStdExtZvfbfmin] in {
475475
fvti.RegClass:$rs2, fvti.RegClass:$rs1, (fvti.Mask VMV0:$vm),
476476
fvti.AVL, fvti.Log2SEW)>;
477477

478-
def : Pat<(fvti.Vector (vselect (fvti.Mask VMV0:$vm),
479-
(SplatFPOp (SelectScalarFPAsInt (XLenVT GPR:$imm))),
480-
fvti.RegClass:$rs2)),
481-
(!cast<Instruction>("PseudoVMERGE_VXM_"#fvti.LMul.MX)
482-
(fvti.Vector (IMPLICIT_DEF)),
483-
fvti.RegClass:$rs2, GPR:$imm, (fvti.Mask VMV0:$vm), fvti.AVL, fvti.Log2SEW)>;
484-
485-
def : Pat<(fvti.Vector (vselect (fvti.Mask VMV0:$vm),
486-
(SplatFPOp (fvti.Scalar fpimm0)),
487-
fvti.RegClass:$rs2)),
488-
(!cast<Instruction>("PseudoVMERGE_VIM_"#fvti.LMul.MX)
489-
(fvti.Vector (IMPLICIT_DEF)),
490-
fvti.RegClass:$rs2, 0, (fvti.Mask VMV0:$vm), fvti.AVL, fvti.Log2SEW)>;
491-
492478
def : Pat<(fvti.Vector (vselect (fvti.Mask VMV0:$vm),
493479
(SplatFPOp fvti.ScalarRegClass:$rs1),
494480
fvti.RegClass:$rs2)),
@@ -507,25 +493,6 @@ let Predicates = [HasStdExtZvfbfmin] in {
507493
fvti.RegClass:$passthru, fvti.RegClass:$rs2, fvti.RegClass:$rs1, (fvti.Mask VMV0:$vm),
508494
GPR:$vl, fvti.Log2SEW)>;
509495

510-
def : Pat<(fvti.Vector (riscv_vmerge_vl (fvti.Mask VMV0:$vm),
511-
(SplatFPOp (SelectScalarFPAsInt (XLenVT GPR:$imm))),
512-
fvti.RegClass:$rs2,
513-
fvti.RegClass:$passthru,
514-
VLOpFrag)),
515-
(!cast<Instruction>("PseudoVMERGE_VXM_"#fvti.LMul.MX)
516-
fvti.RegClass:$passthru, fvti.RegClass:$rs2, GPR:$imm, (fvti.Mask VMV0:$vm),
517-
GPR:$vl, fvti.Log2SEW)>;
518-
519-
520-
def : Pat<(fvti.Vector (riscv_vmerge_vl (fvti.Mask VMV0:$vm),
521-
(SplatFPOp (fvti.Scalar fpimm0)),
522-
fvti.RegClass:$rs2,
523-
fvti.RegClass:$passthru,
524-
VLOpFrag)),
525-
(!cast<Instruction>("PseudoVMERGE_VIM_"#fvti.LMul.MX)
526-
fvti.RegClass:$passthru, fvti.RegClass:$rs2, 0, (fvti.Mask VMV0:$vm),
527-
GPR:$vl, fvti.Log2SEW)>;
528-
529496
def : Pat<(fvti.Vector (riscv_vmerge_vl (fvti.Mask VMV0:$vm),
530497
(SplatFPOp fvti.ScalarRegClass:$rs1),
531498
fvti.RegClass:$rs2,

0 commit comments

Comments
 (0)