summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame
diff options
context:
space:
mode:
authorNeil Henning <neil.henning@amd.com>2019-04-01 15:19:52 +0000
committerNeil Henning <neil.henning@amd.com>2019-04-01 15:19:52 +0000
commit0a30f33ce21d0c9ac414101612e66e948c2ecec3 (patch)
treea88f31147257d48261c068a616d761dd2865caee /lldb/packages/Python/lldbsuite/test/python_api/frame
parentd8519f4a7db902d0199206f554e442d0e30fed35 (diff)
downloadbcm5719-llvm-0a30f33ce21d0c9ac414101612e66e948c2ecec3.tar.gz
bcm5719-llvm-0a30f33ce21d0c9ac414101612e66e948c2ecec3.zip
[AMDGPU] Pre-allocate WWM registers to reduce VGPR pressure.
This change incorporates an effort by Connor Abbot to change how we deal with WWM operations potentially trashing valid values in inactive lanes. Previously, the SIFixWWMLiveness pass would work out which registers were being trashed within WWM regions, and ensure that the register allocator did not have any values it was depending on resident in those registers if the WWM section would trash them. This worked perfectly well, but would cause sometimes severe register pressure when the WWM section resided before divergent control flow (or at least that is where I mostly observed it). This fix instead runs through the WWM sections and pre allocates some registers for WWM. It then reserves these registers so that the register allocator cannot use them. This results in a significant register saving on some WWM shaders I'm working with (130 -> 104 VGPRs, with just this change!). Differential Revision: https://reviews.llvm.org/D59295 llvm-svn: 357400
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud