[PATCH] D104912: [AMDGPU] Select d16 stores even when sramecc is enabled
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 25 06:38:39 PDT 2021
foad created this revision.
foad added reviewers: arsenm, rampitec, t-tye.
Herald added subscribers: kerbowa, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
The sramecc feature changes the behaviour of d16 loads so they do not
preserve the unused 16 bits of the result register, but it has no impact
on d16 stores, so we should make use of them even when the feature is
enabled.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104912
Files:
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/test/CodeGen/AMDGPU/store-hi16.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104912.354486.patch
Type: text/x-patch
Size: 8747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210625/4ada0df1/attachment.bin>
More information about the llvm-commits
mailing list