[LoopVectorizer] Restructurize code for emitting RT checks. NFCI.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 8 Jul 2015 21:47:59 +0000 (21:47 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Wed, 8 Jul 2015 21:47:59 +0000 (21:47 +0000)
commitc196e8f18b0ce8ddc406252ae99c9959ccabef42
tree5460dedfa452b61dcda3ea03d8e62840cb5f9494
parentf26da26d0510fefe09fa6788f8caf415c611185a
[LoopVectorizer] Restructurize code for emitting RT checks. NFCI.

Place all code corresponding to a run-time check in one place.
Previously we generated some code, then proceeded to a next check, then
finished the code for the first check (like splitting blocks and
generating branches). Now the code for generating a check is
self-contained.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241741 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp