]> granicus.if.org Git - llvm/commit
AMDGPU: Select scratch mubuf offsets when pointer is a constant
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Apr 2017 19:40:59 +0000 (19:40 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Apr 2017 19:40:59 +0000 (19:40 +0000)
commit38bd5524b017bceb157074c2888fa5fec70aa7ef
tree343a0147793f03accbce568fc26007ae5f5e64fc
parent9d3f4cc120fe55cb22e2c074a56804d7c387eedc
AMDGPU: Select scratch mubuf offsets when pointer is a constant

In call sequence setups, there may not be a frame index base
and the pointer is a constant offset from the frame
pointer / scratch wave offset register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301230 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/BUFInstructions.td
test/CodeGen/AMDGPU/addrspacecast.ll
test/CodeGen/AMDGPU/mubuf-offset-private.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/private-access-no-objects.ll