summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-10-02 23:23:46 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-10-02 23:23:46 +0000
commit1384c3a5b896e5f9463fe87d75b35cbdf80e288b (patch)
tree90f552e763acba4331806000030e4bdf3e31a549 /lldb/packages/Python/lldbsuite/test/python_api
parent2a964eabaa80399d5fb33535a1fcacc033e498e9 (diff)
downloadbcm5719-llvm-1384c3a5b896e5f9463fe87d75b35cbdf80e288b.tar.gz
bcm5719-llvm-1384c3a5b896e5f9463fe87d75b35cbdf80e288b.zip
[AMDGPU] Fix illegal agpr use by VALU
When SIFixSGPRCopies attempts to fix an illegal copy from vector to scalar register it calls moveToVALU(). A copy from an agpr to sgpr becomes a copy from agpr to agpr, which may result in the illegal register class at a use of this copy. Solution is to copy it always into a vgpr. This may result in a subsequent copy into an agpr if that is what really needed, however should not happen too often and likely will be folded later. The opposite situation may not happen because an sgpr is always illegal where agpr is legal, so such user instructions may not exist. Differential Revision: https://reviews.llvm.org/D68358 llvm-svn: 373544
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud