[LoopUnrollRuntime] Clean up a predicate.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 12 Apr 2015 01:24:01 +0000 (01:24 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 12 Apr 2015 01:24:01 +0000 (01:24 +0000)
commite0f4a11a8971f0f736dec8392a066081753e26cd
tree923c089c45e1e988267b4da5c283c1e516fc1a26
parente2e641234fd4749ffa548bd18c9697b8eb066eef
[LoopUnrollRuntime] Clean up a predicate.

Clean up a predicate I added in r229731, fix the relevant comment and
add a test case.  The earlier version is confusing to read and was also
buggy (probably not a coincidence) till Alexey fixed it in r233881.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/runtime-loop5.ll [new file with mode: 0644]