[PATCH] D98397: [AMDGPU] Restrict image_msaa_load to MSAA dimension types

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 11 00:36:22 PST 2021


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

This instruction is only valid on 2D MSAA and 2D MSAA Array
surfaces.  Remove intrinsic support for other dimension types,
and block assembly for unsupported dimensions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98397

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.msaa.load.x.ll
  llvm/test/MC/AMDGPU/gfx1030_err.s
  llvm/test/MC/AMDGPU/gfx1030_new.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98397.329862.patch
Type: text/x-patch
Size: 24675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210311/0cf630f1/attachment.bin>


More information about the llvm-commits mailing list