AMDGPU/SI: Add debugging subtarget feature for DS offsets
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 6 Jul 2015 16:01:58 +0000 (16:01 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 6 Jul 2015 16:01:58 +0000 (16:01 +0000)
commit6fe7acaaf8561919562b6b55f2be834045402940
tree7287a13b8dfdd7a6549c6bf843a51fbb8dcf7dfe
parent067b86fcab6f2827ece77f9688f043d673824c6e
AMDGPU/SI: Add debugging subtarget feature for DS offsets

We don't have a good way to detect most situations where
DS offsets are usable on SI, so add an option to force using
them even if unsafe for debugging performance problems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/ds-negative-offset-addressing-mode-loop.ll