[PATCH] D76836: [AMDGPU] Add G16 support to image instructions

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 04:17:57 PDT 2020


Flakebi created this revision.
Flakebi added reviewers: arsenm, nhaehnle.
Flakebi added projects: LLVM, AMDGPU.
Herald added subscribers: llvm-commits, kerbowa, jfb, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Flakebi updated this revision to Diff 252793.
Flakebi added a comment.

Forgot to run formatter


Add G16 feature for GFX10 and refactor lowerImage to be easier to read
and support 16 bit derivatives.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76836

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.encode.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.ll
  llvm/test/CodeGen/AMDGPU/unsupported-image-g16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76836.252793.patch
Type: text/x-patch
Size: 71472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/40c140d5/attachment.bin>


More information about the llvm-commits mailing list