[all-commits] [llvm/llvm-project] ad9091: [X86] Allow PTILEZEROV and PTILELOADDV to be remat...

Pengfei Wang via All-commits all-commits at lists.llvm.org
Fri Feb 26 05:56:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad9091c5fa9f3749496d1a8ce8481f0011ed40da
      https://github.com/llvm/llvm-project/commit/ad9091c5fa9f3749496d1a8ce8481f0011ed40da
  Author: Wang, Pengfei <pengfei.wang at intel.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

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

  Log Message:
  -----------
  [X86] Allow PTILEZEROV and PTILELOADDV to be rematerializable

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

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D97453




More information about the All-commits mailing list