[PATCH] D40585: AMDGPU: Allow negative MUBUF vaddr for gfx9

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 15:31:16 PST 2017


arsenm created this revision.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

GFX9 does not enable bounds checking for the resource descriptors
 used for private access, so it should be OK to use vaddr with
a potentially negative value.


https://reviews.llvm.org/D40585

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  test/CodeGen/AMDGPU/function-returns.ll
  test/CodeGen/AMDGPU/mubuf-offset-private.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40585.124652.patch
Type: text/x-patch
Size: 27404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171128/5783db49/attachment.bin>


More information about the llvm-commits mailing list