AMDGPU: Change mubuf soffset register when SP relative
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 May 2017 21:02:58 +0000 (21:02 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 May 2017 21:02:58 +0000 (21:02 +0000)
commit156d3ae0b686037ab00e33eea5bd2d16762e371c
treeb1795c145e1cbb862595a0497d42a3ad25896091
parent23ef26728afad72f3d026c4919e12879a013c4fd
AMDGPU: Change mubuf soffset register when SP relative

Check the MachinePointerInfo for whether the access is
supposed to be relative to the stack pointer.

No tests because this is used in later commits implementing
calls.

llvm-svn: 303301
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/BUFInstructions.td