OSDN Git Service

AMDGPU: Allow negative MUBUF vaddr for gfx9
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Nov 2017 00:52:40 +0000 (00:52 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Nov 2017 00:52:40 +0000 (00:52 +0000)
commit1de313a465013d8fd0b0bbe2433f0e9f266b6b6d
tree2668db68b721b4a626fe6e85d354cf3ae284e729
parentfb1028740138d634227e928a584c0fd0104474ea
AMDGPU: Allow negative MUBUF vaddr for gfx9

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319393 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/function-returns.ll
test/CodeGen/AMDGPU/mubuf-offset-private.ll