[PATCH] D102066: [AMDGPU] Fix codegen of image intrinsics for g16 and a16
David Stuttard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 7 04:41:12 PDT 2021
dstuttard created this revision.
Herald added subscribers: wenlei, kerbowa, hiraditya, t-tye, tpr, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
dstuttard requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
For gfx10 gradient (g16) and address (a16) can be independent. Previous
implementation assumed that a16 implied g16.
There are some other changes that fix the verification (as well as asm/disasm)
that are required for the included test to pass - the XFAIL will be removed in
those changes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102066
Files:
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.a16.dim.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102066.343646.patch
Type: text/x-patch
Size: 51167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210507/44d89649/attachment.bin>
More information about the llvm-commits
mailing list