summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/netbsd/Host.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-03-04 20:57:14 +0000
committerSanjay Patel <spatel@rotateright.com>2019-03-04 20:57:14 +0000
commit6e32b46b1ddc79f73c18631df04735c4d453f830 (patch)
treed826e373266513a5e17e0eed9b5e56bdb099a06b /lldb/source/Host/netbsd/Host.cpp
parentfc778fa2c599cd09f041037987171fdc8c202be8 (diff)
downloadbcm5719-llvm-6e32b46b1ddc79f73c18631df04735c4d453f830.tar.gz
bcm5719-llvm-6e32b46b1ddc79f73c18631df04735c4d453f830.zip
[ConstantHoisting] avoid hang/crash from unreachable blocks (PR40930)
I'm not too familiar with this pass, so there might be a better solution, but this appears to fix the degenerate: PR40930 PR40931 PR40932 PR40934 ...without affecting any real-world code. As we've seen in several other passes, when we have unreachable blocks, they can contain semi-bogus IR and/or cause unexpected conditions. We would not typically expect these patterns to make it this far, but we have to guard against them anyway. llvm-svn: 355337
Diffstat (limited to 'lldb/source/Host/netbsd/Host.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud