diff options
author | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-05 02:37:41 +0000 |
---|---|---|
committer | Joseph Tremoulet <jotrem@microsoft.com> | 2016-01-05 02:37:41 +0000 |
commit | 0d808888c141971d8750cf151029db2131aca5a1 (patch) | |
tree | 6ae5b882e591073377b1e1689d1a1c941c8d7068 /llvm/lib/IR/Statepoint.cpp | |
parent | 869be0a4a6ba22cdedcefad13bcad8bbcb39e273 (diff) | |
download | bcm5719-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