Use a new helper to split critical edges, making the code simpler.
authorChris Lattner <sabre@nondot.org>
Wed, 17 Aug 2005 06:35:16 +0000 (06:35 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 Aug 2005 06:35:16 +0000 (06:35 +0000)
commitaa96ae780afa5475e62df284855a971216289212
tree3eed428c3f13c6fd1812dd033ee507743c8b65a2
parentbb20372e70cbba598a4abbb77ca489fed61aebe0
Use a new helper to split critical edges, making the code simpler.

Do not claim to not change the CFG.  We do change the cfg to split critical
edges.  This isn't causing us a problem now, but could likely do so in the
future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22824 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp