[PATCH] D97997: [X86][NFC] Move instruction selection of the x86_tdpb[s,u]d_internal and x86_tilezero_internal to X86InstrAMX.td

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 04:03:40 PST 2021


LiuChen3 added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrAMX.td:51
     // Pseduo instruction for RA.
-    def PTILELOADDV : PseudoI<(outs TILE: $dst), (ins GR16:$src1,
-                                                      GR16:$src2,
-                                                      opaquemem:$src3), []>;
+    def PTILELOADDV : PseudoI<(outs TILE:$dst), (ins GR16:$src1,
+                                                     GR16:$src2,
----------------
pengfei wrote:
> Can we add patterns for the load and restore too?
load and store do some custom operation on the memory operand. For now I didn't find a good way to match it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97997



More information about the llvm-commits mailing list