summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@gmail.com>2015-12-22 20:55:23 +0000
committerChangpeng Fang <changpeng.fang@gmail.com>2015-12-22 20:55:23 +0000
commitb41574a96126b85c8f9abd33574326c9a6a07709 (patch)
tree43c625fad0c7f19240b98ea69d0baa0dcb6ca9f4 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parent10d9a033db633ec8072a86c58047e695cda62ecb (diff)
downloadbcm5719-llvm-b41574a96126b85c8f9abd33574326c9a6a07709.tar.gz
bcm5719-llvm-b41574a96126b85c8f9abd33574326c9a6a07709.zip
AMDGPU/SI: Use flat for global load/store when targeting HSA
Summary: For some reason doing executing an MUBUF instruction with the addr64 bit set and a zero base pointer in the resource descriptor causes the memory operation to be dropped when the shader is executed using the HSA runtime. This kind of MUBUF instruction is commonly used when the pointer is stored in VGPRs. The base pointer field in the resource descriptor is set to zero and and the pointer is stored in the vaddr field. This patch resolves the issue by only using flat instructions for global memory operations when targeting HSA. This is an overly conservative fix as all other configurations of MUBUF instructions appear to work. NOTE: re-commit by fixing a failure in Codegen/AMDGPU/llvm.dbg.value.ll Reviewers: tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15543 llvm-svn: 256282
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud