[PATCH] D72964: AMDGPU: Fix interaction of tfe and d16

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 15:59:01 PST 2020


arsenm created this revision.
arsenm added reviewers: rtaylor, nhaehnle, tpr, dstuttard.
Herald added subscribers: kerbowa, hiraditya, t-tye, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This using the wrong result register, and dropping the result entirely
for v2f16. This would fail to select on the scalar case. I believe it
was also mishandling packed/unpacked subtargets.


https://reviews.llvm.org/D72964

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/image-load-d16-tfe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72964.238916.patch
Type: text/x-patch
Size: 23741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200117/4c0fbe5e/attachment.bin>


More information about the llvm-commits mailing list