Jump threading: avoid trying to split edge into landingpad block (PR27840)
authorHans Wennborg <hans@hanshq.net>
Mon, 3 Oct 2016 18:18:04 +0000 (18:18 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 3 Oct 2016 18:18:04 +0000 (18:18 +0000)
commitb4d2678c6f2c8e411bd2f59e58667a3a1921ae8a
tree0e21647525863e28337d882dba2e299de83819c0
parent2ee505e715c5ba2318ed26c0925804fe095145a6
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

llvm-svn: 283129
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/test/Transforms/JumpThreading/pr27840.ll [new file with mode: 0644]