Split out the code for finding a unique loop predecessor from
authorDan Gohman <gohman@apple.com>
Tue, 22 Jun 2010 15:25:42 +0000 (15:25 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 22 Jun 2010 15:25:42 +0000 (15:25 +0000)
commit5cf27f81f49b4516b1e9d269f070c88fa3228f9e
tree229f5ddd523273ea938445c3a09065740217aade
parentfe60104ac97f3a8736dcfbfdf9547c7b7cc7b951
Split out the code for finding a unique loop predecessor from
getLoopPreheader into a separate function, for clients which don't
require a proper preheader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106543 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopInfo.h