[PATCH] D136358: [AArch64][SVE2] Add the SVE2.1 fclamp instructions

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 07:37:33 PDT 2022


david-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td:251
+let Predicates = [HasSVE2p1orSME2] in {
+defm FCLAMP_ZZZ : sve2_fclamp<"fclamp">;
+} // End let Predicates = [HasSVE2p1orSME2]
----------------
sdesmalen wrote:
> nit: sve2p1_ ? I also wonder if these should live in AArch64SVEInstrInfo.td instead?
That's a good question! I followed the same precedent as the SVE2 instructions above that were added for SME. Perhaps we can also move those to AArch64SVEInstrInfo.td for consistency?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136358/new/

https://reviews.llvm.org/D136358



More information about the llvm-commits mailing list