[PATCH] D123461: [AMDGPU][Codegen] Unsupported image sample texture map instructions on gfx6-gfx9

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 9 21:36:50 PDT 2022


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

On gfx6-gfx9, image_sample_*_g16 instructions should be generating "unsupported instruction" diagnostic instead of "variant unsupported" diagnostic.

This patch fixes the issue 54672.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123461

Files:
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/test/MC/AMDGPU/gfx7_unsupported.s
  llvm/test/MC/AMDGPU/gfx8_unsupported.s
  llvm/test/MC/AMDGPU/gfx9_unsupported.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123461.421767.patch
Type: text/x-patch
Size: 6779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220410/8032064c/attachment.bin>


More information about the llvm-commits mailing list