diff options
author | Junmo Park <junmoz.park@samsung.com> | 2016-01-28 01:23:18 +0000 |
---|---|---|
committer | Junmo Park <junmoz.park@samsung.com> | 2016-01-28 01:23:18 +0000 |
commit | 502ff66967c754205c10a7ecc508b0923e33442e (patch) | |
tree | 17dde28f79e28c216a82fa8950031adb6208ea2d /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | adf28177eb0495c60c4ad07a2f2c67ba2fc10dc1 (diff) | |
download | llvm-502ff66967c754205c10a7ecc508b0923e33442e.zip llvm-502ff66967c754205c10a7ecc508b0923e33442e.tar.gz llvm-502ff66967c754205c10a7ecc508b0923e33442e.tar.bz2 |
Minor code formatting cleanup. NFC.
llvm-svn: 259010
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp index 0d68f18..25e28fa 100644 --- a/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp @@ -176,8 +176,8 @@ static void CloneLoopBlocks(Loop *L, Value *NewIter, const bool UnrollProlog, // For the first block, add a CFG connection to this newly // created block. InsertTop->getTerminator()->setSuccessor(0, NewBB); - } + if (Latch == *BB) { // For the last block, if UnrollProlog is true, create a direct jump to // InsertBot. If not, create a loop back to cloned head. |