LoopIndexSplit can sometimes result in cases where a block in its own domfrontier.
authorOwen Anderson <resistor@mac.com>
Tue, 3 Jun 2008 18:29:48 +0000 (18:29 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 3 Jun 2008 18:29:48 +0000 (18:29 +0000)
commit269db29bdbd5d3264a859e7d3763a4c501fb9ee4
tree27967f722f8e9d337d84b4f1b9dcf54c23d463f0
parentbd44c2e383723ef738f37a22ece912d163c66096
LoopIndexSplit can sometimes result in cases where a block in its own domfrontier.
Don't crash when we encounter one of these.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51915 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/BreakCriticalEdges.cpp