diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-04-30 18:58:23 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-04-30 18:58:23 +0000 |
commit | 4d8d2ec3ebf2334e8f16b4d702e3e6e6788c4a3e (patch) | |
tree | c6c3ff497ccb28a80bbe56b7d91b81ed95ade295 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 0a905042cd87017ddf7449d9659dd4fcc17acefe (diff) | |
download | bcm5719-llvm-4d8d2ec3ebf2334e8f16b4d702e3e6e6788c4a3e.tar.gz bcm5719-llvm-4d8d2ec3ebf2334e8f16b4d702e3e6e6788c4a3e.zip |
Don't rewrite jumps to empty BBs to landing pads.
In the test case here, the 'unreachable' BB was removed by BranchFolding because its empty.
It then rewrote the jump from 'entry' to jump to its fallthrough, which was a landing pad.
This results in 'entry' jumping to 2 different landing pads, which fails the machine verifier.
rdar://problem/20750162
llvm-svn: 236248
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions