[PATCH] D122714: [X86][AMX] Materialize undef or zero value to tilezero

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 03:35:51 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 AMX combiner would store undef or zero to stack and invoke tileload
to load the data to tile register. To avoid the store/load, we can
materialzie undef or zero value to tilezero.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122714

Files:
  llvm/lib/Target/X86/X86LowerAMXType.cpp
  llvm/test/CodeGen/X86/AMX/amx-combine-undef.ll
  llvm/test/CodeGen/X86/AMX/lat-combine-amx-bitcast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122714.419090.patch
Type: text/x-patch
Size: 11206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220330/248ad459/attachment.bin>


More information about the llvm-commits mailing list