diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2016-01-05 20:42:49 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2016-01-05 20:42:49 +0000 |
commit | 6035504ab32cec45c93f3193c62a8d91a83f4159 (patch) | |
tree | 405f62c7284650dbc9cd2174b9b7f37bfc1bf581 /clang/test/Modules/ModuleDebugInfo.cpp | |
parent | 2ef58a18af665f7a993d094f1134faf8fc462e03 (diff) | |
download | llvm-6035504ab32cec45c93f3193c62a8d91a83f4159.zip llvm-6035504ab32cec45c93f3193c62a8d91a83f4159.tar.gz llvm-6035504ab32cec45c93f3193c62a8d91a83f4159.tar.bz2 |
AMDGPU/SI: Do not move scratch resource register on Tonga & Iceland
Due to the SGPR init bug, every program claims to use the same number
of SGPRs anyway, so there's no point in trying to shift those registers
down from their initial spot of reservation.
Add a test that uses VGPR spilling and blocks most SGPRs from being used for
the scratch resource register. Previously, this would run into an assertion.
Differential Revision: http://reviews.llvm.org/D15724
llvm-svn: 256870
Diffstat (limited to 'clang/test/Modules/ModuleDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions