[PATCH] D75789: [AMDGPU] Allow struct.buffer.*.format intrinsics to accept i32
Carl Ritson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 17:39:25 PST 2020
critson created this revision.
critson added reviewers: tpr, arsenm, nhaehnle.
Herald added subscribers: llvm-commits, kerbowa, t-tye, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
In the same manner as struct.buffer.load / struct.buffer.store,
allow struct.buffer.load.format / struct.buffer.store.format to
return / accept any type. This simplifies front-end code gen.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75789
Files:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.format.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.store.format.f32.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.format.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.store.format.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75789.248865.patch
Type: text/x-patch
Size: 8718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200307/be88f917/attachment.bin>
More information about the llvm-commits
mailing list