Move exit condition and exit branch from exiting block into loop header and dominator...
authorDevang Patel <dpatel@apple.com>
Sat, 25 Aug 2007 02:39:24 +0000 (02:39 +0000)
committerDevang Patel <dpatel@apple.com>
Sat, 25 Aug 2007 02:39:24 +0000 (02:39 +0000)
commitd79faee69aa57a8f146dbf04ee8f7c956775df5c
tree60a15e7f064b3c3372afdf7874b515a513cbbf18
parentbe97c986e18d188e5b56406fa0676243e8835063
Move exit condition and exit branch from exiting block into loop header and dominator info. This avoid execution of dead iteration. Loop is already filter in the beginning such that this change is safe.

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