summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-01-30 05:19:45 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-01-30 05:19:45 +0000
commite013246462fe620bc668faf0f5a9bd959098563a (patch)
tree4295fe592b2a89cded2157e9291d6333576e9478 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parentd0799df7075c549611a8da06e4a7272fd82ff9c9 (diff)
downloadbcm5719-llvm-e013246462fe620bc668faf0f5a9bd959098563a.tar.gz
bcm5719-llvm-e013246462fe620bc668faf0f5a9bd959098563a.zip
AMDGPU: Fix emitting invalid workitem intrinsics for HSA
The AMDGPUPromoteAlloca pass was emitting the read.local.size calls, which with HSA was incorrectly selected to reading from the offset mesa uses off of the kernarg pointer. Error on intrinsics which aren't supported by HSA, and start emitting the correct IR to read the workgroup size out of the dispatch pointer. Also initialize the pass so it can be tested with opt, and start moving towards not depending on the subtarget as an argument. Start emitting errors for the intrinsics not handled with HSA. llvm-svn: 259297
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud