[PATCH] D73482: [AMDGPU] Fix lowering a16 image intrinsics

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 00:44:45 PST 2020


sebastian-ne updated this revision to Diff 241979.
sebastian-ne added a comment.

I changed the way the two f16 values get packed.
This way seems to be a lot better for optimization and results in less instructions sometimes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73482/new/

https://reviews.llvm.org/D73482

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73482.241979.patch
Type: text/x-patch
Size: 56654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/de75c62c/attachment.bin>


More information about the llvm-commits mailing list