diff options
author | Nikita Popov <npopov@redhat.com> | 2022-07-06 15:36:45 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-07-06 15:38:53 +0200 |
commit | 20962c1240691d25b21ce425313c81eed0b1b358 (patch) | |
tree | eafde46ab0278520aa14c434c6d37fb02ac6f81c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 511a7eef937ebc1e25efc90bf41f12b52ad1dff3 (diff) | |
download | llvm-20962c1240691d25b21ce425313c81eed0b1b358.zip llvm-20962c1240691d25b21ce425313c81eed0b1b358.tar.gz llvm-20962c1240691d25b21ce425313c81eed0b1b358.tar.bz2 |
[SimplifyCFG] Don't split predecessors of callbr terminator
This addresses the assertion failure reported in
https://reviews.llvm.org/D124159#3631240.
I believe that this limitation in SplitBlockPredecessors is not
actually necessary (because unlike with indirectbr, callbr is
restricted in a way that does allow updating successors), but for
now fix the assertion failure the same way we do everywhere else,
by also skipping callbr.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions