[PATCH] D97453: [X86] Allow PTILEZEROV and PTILELOADDV to be rematerializable

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 01:24:12 PST 2021


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

Spilling and reloading AMX registers are expensive. We allow PTILEZEROV
and PTILELOADDV to be rematerializable to avoid the register spilling.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97453

Files:
  llvm/lib/Target/X86/X86InstrAMX.td
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/test/CodeGen/X86/AMX/amx-across-func.ll
  llvm/test/CodeGen/X86/AMX/amx-lower-tile-copy.ll
  llvm/test/CodeGen/X86/AMX/amx-spill-merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97453.326323.patch
Type: text/x-patch
Size: 6447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210225/03d04dee/attachment.bin>


More information about the llvm-commits mailing list