diff options
| author | Joseph Tremoulet <jotrem@microsoft.com> | 2015-10-06 20:28:16 +0000 |
|---|---|---|
| committer | Joseph Tremoulet <jotrem@microsoft.com> | 2015-10-06 20:28:16 +0000 |
| commit | 2afea5438f924af932cf62e39daa4a06e298fb37 (patch) | |
| tree | 6ddf7b58761a8eb26d3e00a4856588b75bc9e936 /llvm/lib/Transforms | |
| parent | a087fd21daaa43a04c9721976bf8f57a92a4f492 (diff) | |
| download | bcm5719-llvm-2afea5438f924af932cf62e39daa4a06e298fb37.tar.gz bcm5719-llvm-2afea5438f924af932cf62e39daa4a06e298fb37.zip | |
[WinEH] Recognize CoreCLR personality function
Summary:
- Add CoreCLR to if/else ladders and switches as appropriate.
- Rename isMSVCEHPersonality to isFuncletEHPersonality to better
reflect what it captures.
Reviewers: majnemer, andrew.w.kaylor, rnk
Subscribers: pgavlin, AndyAyers, llvm-commits
Differential Revision: http://reviews.llvm.org/D13449
llvm-svn: 249455
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index 72548dc69ca..8ce6ce799f9 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -2362,6 +2362,7 @@ static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { case EHPersonality::MSVC_X86SEH: case EHPersonality::MSVC_Win64SEH: case EHPersonality::MSVC_CXX: + case EHPersonality::CoreCLR: return TypeInfo->isNullValue(); } llvm_unreachable("invalid enum"); |

