[PATCH] D128951: [AMDGPU] Update WMMA intrinsics with explicit f16 types

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 15:01:11 PDT 2022


piotr created this revision.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
piotr requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Update intrinsics to use n x f16 and n x i16 instead
of 32-bit types. This may avoid the need for a bitcast
and is probably less confusing.

Depends on making v16f16 and v16i16 types legal.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128951

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/SIInstrInfo.td
  llvm/lib/Target/AMDGPU/VOP3PInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_32.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_64.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma_32.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma_64.ll
  llvm/test/CodeGen/AMDGPU/wmma_multiple_32.ll
  llvm/test/CodeGen/AMDGPU/wmma_multiple_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128951.441534.patch
Type: text/x-patch
Size: 55761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/0958e0cf/attachment.bin>


More information about the llvm-commits mailing list