summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Statepoint.cpp
diff options
context:
space:
mode:
authorJoseph Tremoulet <jotrem@microsoft.com>2016-01-05 02:37:41 +0000
committerJoseph Tremoulet <jotrem@microsoft.com>2016-01-05 02:37:41 +0000
commit0d808888c141971d8750cf151029db2131aca5a1 (patch)
tree6ae5b882e591073377b1e1689d1a1c941c8d7068 /llvm/lib/IR/Statepoint.cpp
parent869be0a4a6ba22cdedcefad13bcad8bbcb39e273 (diff)
downloadbcm5719-llvm-0d808888c141971d8750cf151029db2131aca5a1.tar.gz
bcm5719-llvm-0d808888c141971d8750cf151029db2131aca5a1.zip
[WinEH] Simplify unreachable catchpads
Summary: At least for CoreCLR, a catchpad which immediately executes an `unreachable` instruction indicates that the exception can never have a matching type, and so such catchpads can be removed, and so can their catchswitches if the catchswitch becomes empty. Reviewers: rnk, andrew.w.kaylor, majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D15846 llvm-svn: 256809
Diffstat (limited to 'llvm/lib/IR/Statepoint.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud