@@ -814,7 +814,7 @@ def VCVTBHS: ASuI<0b11101, 0b11, 0b0010, 0b01, 0, (outs SPR:$Sd), (ins SPR:$Sm),
814814
815815def : FP16Pat<(f32 (any_fpextend (f16 HPR:$Sm))),
816816 (VCVTBHS (COPY_TO_REGCLASS (f16 HPR:$Sm), SPR))>;
817- def : FP16Pat<(f16_to_fp GPR:$a),
817+ def : FP16Pat<(any_f16_to_fp GPR:$a),
818818 (VCVTBHS (COPY_TO_REGCLASS GPR:$a, SPR))>;
819819
820820let hasSideEffects = 0, mayRaiseFPException = 1, Uses = [FPSCR_RM] in
@@ -826,7 +826,7 @@ def VCVTBSH: ASuI<0b11101, 0b11, 0b0011, 0b01, 0, (outs SPR:$Sd), (ins SPR:$Sda,
826826
827827def : FP16Pat<(f16 (any_fpround SPR:$Sm)),
828828 (COPY_TO_REGCLASS (VCVTBSH (IMPLICIT_DEF), SPR:$Sm), HPR)>;
829- def : FP16Pat<(fp_to_f16 SPR:$a),
829+ def : FP16Pat<(any_fp_to_f16 SPR:$a),
830830 (i32 (COPY_TO_REGCLASS (VCVTBSH (IMPLICIT_DEF), SPR:$a), GPR))>;
831831def : FP16Pat<(insertelt (v8f16 MQPR:$src1), (f16 (any_fpround (f32 SPR:$src2))), imm_even:$lane),
832832 (v8f16 (INSERT_SUBREG (v8f16 MQPR:$src1),
@@ -891,7 +891,7 @@ def VCVTBHD : ADuI<0b11101, 0b11, 0b0010, 0b01, 0,
891891def : FullFP16Pat<(f64 (any_fpextend (f16 HPR:$Sm))),
892892 (VCVTBHD (COPY_TO_REGCLASS (f16 HPR:$Sm), SPR))>,
893893 Requires<[HasFPARMv8, HasDPVFP]>;
894- def : FP16Pat<(f64 (f16_to_fp GPR:$a)),
894+ def : FP16Pat<(f64 (any_f16_to_fp GPR:$a)),
895895 (VCVTBHD (COPY_TO_REGCLASS GPR:$a, SPR))>,
896896 Requires<[HasFPARMv8, HasDPVFP]>;
897897
@@ -917,7 +917,7 @@ def VCVTBDH : ADuI<0b11101, 0b11, 0b0011, 0b01, 0,
917917def : FullFP16Pat<(f16 (any_fpround DPR:$Dm)),
918918 (COPY_TO_REGCLASS (VCVTBDH (IMPLICIT_DEF), DPR:$Dm), HPR)>,
919919 Requires<[HasFPARMv8, HasDPVFP]>;
920- def : FP16Pat<(fp_to_f16 (f64 DPR:$a)),
920+ def : FP16Pat<(any_fp_to_f16 (f64 DPR:$a)),
921921 (i32 (COPY_TO_REGCLASS (VCVTBDH (IMPLICIT_DEF), DPR:$a), GPR))>,
922922 Requires<[HasFPARMv8, HasDPVFP]>;
923923
0 commit comments