aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2021-11-08 14:43:12 -0800
committerJessica Paquette <jpaquette@apple.com>2021-11-09 16:20:34 -0800
commit3eabcda81453854677faa70ae20f41e1a483cfe2 (patch)
treea4c591596d2fae8e63c31d487cd9893a46f5652e /lldb/source/Plugins/ScriptInterpreter/Python
parent1bed03b5e3812dc6c659d285d77a2a577a2d113d (diff)
downloadllvm-3eabcda81453854677faa70ae20f41e1a483cfe2.zip
llvm-3eabcda81453854677faa70ae20f41e1a483cfe2.tar.gz
llvm-3eabcda81453854677faa70ae20f41e1a483cfe2.tar.bz2
[GlobalISel] Ensure that translateInvoke adds all successors for inlineasm
The existing code didn't add all necessary successors, which resulted in disjoint basic blocks. These would end up not being legalized which, in the best case, caused a fallback only in assert builds. Here's an example: https://godbolt.org/z/ndx15Enfj We also end up getting weird codegen here as well. Refactoring the code here allows us to correctly attach all successors. With this patch, the above example gives correct codegen at -O0 with and without asserts. Also autogen the testcase to show that we add all the successors now. Differential Revision: https://reviews.llvm.org/D113437
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions