diff options
author | Diana Picus <diana.picus@linaro.org> | 2016-06-23 09:19:16 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2016-06-23 09:19:16 +0000 |
commit | e440f99913f9e3cb02331f95808cfe57f0b7836e (patch) | |
tree | 373111f0115236b83c9faf8e7f4fcd511eb8779c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 724e53029660c705441a405a254073c6d6ee9bc6 (diff) | |
download | llvm-e440f99913f9e3cb02331f95808cfe57f0b7836e.zip llvm-e440f99913f9e3cb02331f95808cfe57f0b7836e.tar.gz llvm-e440f99913f9e3cb02331f95808cfe57f0b7836e.tar.bz2 |
[AMDGPU] Remove exit-on-error in test (PR27761)
The exit-on-error flag was necessary in order to avoid an assertion when
handling DYNAMIC_STACKALLOC nodes in SelectionDAGLegalize.
We can avoid the assertion by creating some dummy nodes. This enables us to
remove the exit-on-error flag on the first 2 run lines (SI), but on the third
run line (R600) we would run into another assertion when trying to reserve
indirect registers. This patch also replaces that assertion with an early exit
from the function.
Fixes PR27761.
Differential Revision: http://reviews.llvm.org/D20852
llvm-svn: 273550
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions