OSDN Git Service

[LIR] Fix mis-compilation with unwinding.
authorHaicheng Wu <haicheng@codeaurora.org>
Wed, 6 Jul 2016 21:05:40 +0000 (21:05 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Wed, 6 Jul 2016 21:05:40 +0000 (21:05 +0000)
commit41ba9f90b7707f41c4602faacde6f0cd352571d6
tree93c3bcdd1e70652f0cbf11120ef48abd8659666a
parentd6ed0ff57aa2851559a231e35869523a205c1819
[LIR] Fix mis-compilation with unwinding.

To fix PR27859, bail out if there is an instruction may throw.

Differential Revision: http://reviews.llvm.org/D20638

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/unwind.ll [new file with mode: 0644]