OSDN Git Service

Add a utility function to LoopInfo to return the exit block
authorDan Gohman <gohman@apple.com>
Thu, 12 Feb 2009 18:08:24 +0000 (18:08 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 12 Feb 2009 18:08:24 +0000 (18:08 +0000)
commitc83324682f3409c15dad992cd62928426c9ad83d
tree0c31573c0c1c9425a476c7eedef8401d7fa2a15f
parent8c4d1b2bcfa63d064a7bcbd9cd23ebe3b282f853
Add a utility function to LoopInfo to return the exit block
when the loop has exactly one exit, and make use of it in
LoopIndexSplit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64388 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopInfo.h
lib/Transforms/Scalar/LoopIndexSplit.cpp