Add a test for LowerInvoke that doesn't use "-enable-correct-eh-support"
authorMark Seaborn <mseaborn@chromium.org>
Thu, 20 Mar 2014 14:12:47 +0000 (14:12 +0000)
committerMark Seaborn <mseaborn@chromium.org>
Thu, 20 Mar 2014 14:12:47 +0000 (14:12 +0000)
commit25efa8a8d28759f9dd4e8856c5d1c7c0f0198fcb
treea21abef8a8b10f64d9c783446655163fa29f0e3b
parentebf9f0c6cb5eb5a17bae7a24cfe380fe5801a60c
Add a test for LowerInvoke that doesn't use "-enable-correct-eh-support"

None of the existing tests for LowerInvoke check LowerInvoke's output,
and all but one use "-enable-correct-eh-support", which is obsolete,
so those tests will be removed when that option is removed.

To make sure LowerInvoke will still have test coverage, this adds a
test for its default mode which converts invokes to calls.

Differential Revision: http://llvm-reviews.chandlerc.com/D3124

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204344 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/LowerInvoke/lowerinvoke.ll [new file with mode: 0644]