diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-05-17 19:52:01 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-05-17 19:52:01 +0000 |
commit | 38ed8021c748bf8a928a30a97f497eccf0746369 (patch) | |
tree | b16095967140b7bdc7b393d329d0670ea5b67f29 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 0a828aa0006e9c054c806d35b1719059c0711ae5 (diff) | |
download | bcm5719-llvm-38ed8021c748bf8a928a30a97f497eccf0746369.tar.gz bcm5719-llvm-38ed8021c748bf8a928a30a97f497eccf0746369.zip |
Fix an assert in SelectionDAGBuilder when processing inline asm
When processing inline asm that contains errors, make sure we can recover
gracefully by creating an UNDEF SDValue for the inline asm statement before
returning from SelectionDAGBuilder::visitInlineAsm. This is necessary for
consumers that don't exit on the first error that is emitted (e.g. clang)
and that would assert later on.
Fixes PR24071.
Patch by Diana Picus.
llvm-svn: 269811
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions