[all-commits] [llvm/llvm-project] c4dba4: [X86][AMX] Don't emit tilerelease for old AMX inst...

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Wed Nov 17 17:28:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4dba47196c280dcf3763ccb6133f3dec5285e78
      https://github.com/llvm/llvm-project/commit/c4dba47196c280dcf3763ccb6133f3dec5285e78
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86FastTileConfig.cpp
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h
    M llvm/lib/Target/X86/X86PreTileConfig.cpp
    M llvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll
    M llvm/test/CodeGen/X86/AMX/amx-int8-intrinsics.ll
    M llvm/test/CodeGen/X86/AMX/amx-tile-intrinsics.ll

  Log Message:
  -----------
  [X86][AMX] Don't emit tilerelease for old AMX instrisic.

We should avoid mixing old AMX instrinsic with new AMX intrinsic. For
old AMX intrinsic, user is responsible for invoking tile release. This
patch is to check if there is any tile config generated by compiler. If
so it emit tilerelease instruction, otherwise it don't emit the
instruction.

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




More information about the All-commits mailing list