]> granicus.if.org Git - llvm/commit
Merging r283129:
authorHans Wennborg <hans@hanshq.net>
Tue, 8 Nov 2016 16:38:34 +0000 (16:38 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 8 Nov 2016 16:38:34 +0000 (16:38 +0000)
commitd6c51ae2a900616a13fcda6213e1f12d4257557d
tree5564d7d15a0473b8de16e6d3749d0c5dd42419fb
parent46079999e9111e8e8c2c1f0511477c3bec38d74a
Merging r283129:
------------------------------------------------------------------------
r283129 | hans | 2016-10-03 11:18:04 -0700 (Mon, 03 Oct 2016) | 6 lines

Jump threading: avoid trying to split edge into landingpad block (PR27840)

Splitting the edge is nontrivial because of the landing pad, and we would
currently assert trying to do it.

Differential Revision: https://reviews.llvm.org/D24680
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@286246 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/pr27840.ll [new file with mode: 0644]