The introduction of indirectbr meant the introduction of
authorDan Gohman <gohman@apple.com>
Thu, 5 Nov 2009 21:14:46 +0000 (21:14 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 5 Nov 2009 21:14:46 +0000 (21:14 +0000)
commitf4e82d1f2e25f7cf8b7e9c3bd42b0e384139e07e
tree9a72f77b5f8b9d193d43b8b5593a9b1073b7fa46
parent03e896bd6073efc4523d8bcd0239d6ed62126db7
The introduction of indirectbr meant the introduction of
unsplittable critical edges, which means the introduction of
loops which cannot be transformed to LoopSimplify form. Fix
LoopSimplify to avoid transforming such loops into invalid
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86176 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp
test/Transforms/LoopSimplify/indirectbr.ll [new file with mode: 0644]