[PATCH] D124378: [X86][AMX] combine tile cast and load/store instruction.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 04:33:04 PDT 2022


LuoYuanke created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
LuoYuanke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The `llvm.x86.cast.tile.to.vector` intrinsic is lowered to
`llvm.x86.tilestored64.internal` and `load <256 x i32>`. The
`llvm.x86.cast.vector.to.tile` is lowered to `store <256 x i32>` and
`llvm.x86.tileloadd64.internal`. When `llvm.x86.cast.tile.to.vector` is
used by `store <256 x i32>` or `load <256 x i32>` is used by
`llvm.x86.cast.vector.to.tile`, they can be combined by
`llvm.x86.tilestored64.internal` and `llvm.x86.tileloadd64.internal`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124378

Files:
  llvm/lib/Target/X86/X86LowerAMXType.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124378.424868.patch
Type: text/x-patch
Size: 4479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220425/b57184ca/attachment.bin>


More information about the llvm-commits mailing list