summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestJS.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2016-01-04 15:50:01 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2016-01-04 15:50:01 +0000
commite705aadd67ea76f539a27914098ec90a34def478 (patch)
treeb9fda03c0919ef17e5ba2d11ce0cc48ba11e95fa /clang/unittests/Format/FormatTestJS.cpp
parent1284f04aedab5153be92c3f828be01af241eef1d (diff)
downloadbcm5719-llvm-e705aadd67ea76f539a27914098ec90a34def478.tar.gz
bcm5719-llvm-e705aadd67ea76f539a27914098ec90a34def478.zip
AMDGPU: Avoid assertions after SGPR spilling failed
Summary: The comment explains it: emitError does not necessarily exit the compilation process, and then using NoRegister leads to assertions later on. This generates incorrect code, of course, but the user should know to not use the result when an error has been emitted. It would be nice to have a test-case for this inside the LLVM repository, but llc exits on error. shader-db tests trigger the underlying issue at least on Tonga. Reviewers: arsenm, tstellarAMD, mareko Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15826 llvm-svn: 256757
Diffstat (limited to 'clang/unittests/Format/FormatTestJS.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud