[PATCH] D90607: [AMDGPU] Fix ds_read2/write2 with unaligned offsets
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 2 06:04:48 PST 2020
foad created this revision.
foad added reviewers: arsenm, rampitec, mbrkusanin.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
foad requested review of this revision.
Herald added a subscriber: wdng.
These instructions use a scaled offset. We were wrongly selecting them
even when the required offset was not a multiple of the scale factor.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90607
Files:
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/test/CodeGen/AMDGPU/ds-sub-offset.ll
llvm/test/CodeGen/AMDGPU/ds_read2.ll
llvm/test/CodeGen/AMDGPU/ds_write2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90607.302264.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201102/d3382998/attachment.bin>
More information about the llvm-commits
mailing list