[PATCH] D79087: [SVE][Codegen] Lower legal min & max operations

Kerry McLaughlin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 30 06:12:55 PDT 2020


kmclaughlin marked an inline comment as done.
kmclaughlin added inline comments.


================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:3851
+  def : SVE_1_Op_Imm_Arith_Pred_Pat<nxv4i32, nxv4i1,  op, ZPR32, i32, SVEArithSImmPat, !cast<Instruction>(NAME # _S)>;
+  def : SVE_1_Op_Imm_Arith_Pred_Pat<nxv2i64, nxv2i1,  op, ZPR64, i64, SVEArithSImmPat, !cast<Instruction>(NAME # _D)>;
 }
----------------
efriedma wrote:
> I don't see any test for this part of the patch?
The tests for these patterns are in `sve-int-arith-imm.ll`, which was added as part of D71779


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79087





More information about the cfe-commits mailing list