[PATCH] D72612: [AArch64][SVE] Add ImmArg property to intrinsics with immediates

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 03:31:52 PST 2020


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


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrFormats.td:1108
+  def "" : AsmVectorIndexOpnd<ty, mc>, PatLeaf<(ty imm), pred>;
+  def _timm : AsmVectorIndexOpnd<ty, mc>, PatLeaf<(ty timm), pred>;
+}
----------------
efriedma wrote:
> Using ImmLeaf/TImmLeaf doesn't work here?
Thanks for the suggestion, it looks like I can use ImmLeaf & TImmLeaf here (and use //Imm// again instead of //N->getZExtValue()// in VectorIndex1, etc below)


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

https://reviews.llvm.org/D72612





More information about the llvm-commits mailing list