[all-commits] [llvm/llvm-project] 942ec5: [X86][AMX] combine tile cast and load/store instru...

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Thu Apr 28 00:09:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 942ec5c36d922b29d0e7200082b533018d42421a
      https://github.com/llvm/llvm-project/commit/942ec5c36d922b29d0e7200082b533018d42421a
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86LowerAMXType.cpp
    M llvm/test/CodeGen/X86/AMX/amx-combine.ll
    M llvm/test/CodeGen/X86/AMX/lat-transform-amx-bitcast.ll

  Log Message:
  -----------
  [X86][AMX] combine tile cast and load/store instruction.

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`.

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




More information about the All-commits mailing list