[Unroll] When completely unrolling the loop, replace conditinal branches with uncondi...
authorMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 23 Sep 2015 23:12:43 +0000 (23:12 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 23 Sep 2015 23:12:43 +0000 (23:12 +0000)
commit90ef438f244ea9fdba63284b910e771b9d0192ad
treec1af50c96da53befad5adf1b84f1af7bbe348ec8
parent2f1d7a4c890b42b40a3102029074cd465b70dbb7
[Unroll] When completely unrolling the loop, replace conditinal branches with unconditional.

Nothing is expected to change, except we do less redundant work in
clean-up.

Reviewers: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D12951

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