[PATCH] D103168: [AArch64][SVE] Add support for using reverse forms of SVE2 shifts
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 3 02:40:55 PDT 2021
paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:3197-3207
+multiclass sve2_int_bin_pred_all_active_bhsd<SDPatternOperator op> {
+ def _UNDEF_B : PredTwoOpPseudo<NAME # _B, ZPR8, FalseLanesUndef>;
+ def _UNDEF_H : PredTwoOpPseudo<NAME # _H, ZPR16, FalseLanesUndef>;
+ def _UNDEF_S : PredTwoOpPseudo<NAME # _S, ZPR32, FalseLanesUndef>;
+ def _UNDEF_D : PredTwoOpPseudo<NAME # _D, ZPR64, FalseLanesUndef>;
+
+ def : SVE_2_Op_Pred_All_Active_Pt<nxv16i8, op, nxv16i1, nxv16i8, nxv16i8, !cast<Pseudo>(NAME # _UNDEF_B)>;
----------------
Minor request but if you don't mind can you move this to the bottom of the file near where the other related multiclasses and drop the 2 from the name. I ask because I can see this milticlass having other uses.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103168/new/
https://reviews.llvm.org/D103168
More information about the llvm-commits
mailing list