[PATCH] D88206: [AMDGPU] Fix v3f16 handling for getresinfo

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 02:41:29 PDT 2020


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

v3f32 should not be expanded to v4f32. getresinfo with a dmask of 7
created an image sample with a v3f32 return value, which was bitcasted
to a v4f32 in constructRetValue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88206

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.getresinfo.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88206.293985.patch
Type: text/x-patch
Size: 16571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/4bd159f1/attachment.bin>


More information about the llvm-commits mailing list