[PATCH] D142656: [SVE][codegen] Add pattern for SVE multiply-add accumulate
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 10:16:08 PDT 2023
paulwalker-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:3209-3212
+ def : SVE_4_Op_MlAddSub_Pat<nxv16i8, op, nxv16i1, nxv16i8, nxv16i8, nxv16i8, !cast<Instruction>(NAME # _UNDEF_B)>;
+ def : SVE_4_Op_MlAddSub_Pat<nxv8i16, op, nxv8i1, nxv8i16, nxv8i16, nxv8i16, !cast<Instruction>(NAME # _UNDEF_H)>;
+ def : SVE_4_Op_MlAddSub_Pat<nxv4i32, op, nxv4i1, nxv4i32, nxv4i32, nxv4i32, !cast<Instruction>(NAME # _UNDEF_S)>;
+ def : SVE_4_Op_MlAddSub_Pat<nxv2i64, op, nxv2i1, nxv2i64, nxv2i64, nxv2i64, !cast<Instruction>(NAME # _UNDEF_D)>;
----------------
Rather than create a new class please just wrap these line in `let AddedComplexity = 9 in {}` instead.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142656/new/
https://reviews.llvm.org/D142656
More information about the llvm-commits
mailing list