[PATCH] D132122: AArch64 SVE: add sve patterns to make use of predicated smin, umin, smax, and umax instructions, add ll test file for the new patterns

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 02:26:18 PDT 2022


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td:360
+
+def AArch64smax_m1 : PatFrags<(ops node:$pg, node:$op1, node:$op2),
+			      [(int_aarch64_sve_smax node:$pg, node:$op1, node:$op2),
----------------
Can these defs use `EitherVSelectOrPassthruPatFrags` instead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132122



More information about the llvm-commits mailing list