[PATCH] D90607: [AMDGPU] Fix ds_read2/write2 with unaligned offsets

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 06:40:20 PST 2020


foad updated this revision to Diff 302567.
foad added a comment.

Use new isDSOffset2Legal, do the same for globalisel, and fix a globalisel bug with large offsets.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90607

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local-128.mir
  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.302567.patch
Type: text/x-patch
Size: 20249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/9ff59673/attachment.bin>


More information about the llvm-commits mailing list