[llvm] [AArch64] Generate zeroing forms of certain SVE2.2 instructions (2/11) (PR #116828)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 03:10:22 PST 2024
================
@@ -3270,6 +3278,12 @@ multiclass sve_fp_z2op_p_zd_frint<bits<2> opc, string asm> {
def _D : sve_fp_z2op_p_zd<{ 0b0010, opc{1}, 1, opc{0} }, asm, ZPR64, ZPR64>;
}
+multiclass sve_fp_z2op_p_zd_bfcvt<bits<7> opc, string asm, SDPatternOperator op> {
+ def _StoH : sve_fp_z2op_p_zd<opc, asm, ZPR32, ZPR16>;
----------------
CarolineConcatto wrote:
I think we can replace:
"def _StoH" by "def NAME", because "defm BFCVT_ZPzZ_StoH" already has the size.
https://github.com/llvm/llvm-project/pull/116828
More information about the llvm-commits
mailing list