diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-27 21:45:19 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-27 21:45:19 +0000 |
| commit | 3567d3d2ecad91a135de45841f130a480d722006 (patch) | |
| tree | 243e3d744de32c438cc353b50157f4e5bac4d4d2 /llvm/lib/Transforms/Scalar | |
| parent | 283f56ac03cfa4168cdd45045539e28e8d9fc92e (diff) | |
| download | bcm5719-llvm-3567d3d2ecad91a135de45841f130a480d722006.tar.gz bcm5719-llvm-3567d3d2ecad91a135de45841f130a480d722006.zip | |
Rename LoopUnrollStatus to LoopUnrollResult; NFC
A "Result" suffix is more appropriate here
llvm-svn: 314350
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp index 40fcf97d657..4887967de44 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp @@ -1045,18 +1045,18 @@ static bool tryToUnrollLoop( UP.Count = TripCount; // Unroll the loop. - LoopUnrollStatus UnrollStatus = UnrollLoop( + LoopUnrollResult UnrollStatus = UnrollLoop( L, UP.Count, TripCount, UP.Force, UP.Runtime, UP.AllowExpensiveTripCount, UseUpperBound, MaxOrZero, TripMultiple, UP.PeelCount, UP.UnrollRemainder, LI, &SE, &DT, &AC, &ORE, PreserveLCSSA); - if (UnrollStatus == LoopUnrollStatus::Unmodified) + if (UnrollStatus == LoopUnrollResult::Unmodified) return false; // If loop has an unroll count pragma or unrolled by explicitly set count // mark loop as unrolled to prevent unrolling beyond that requested. // If the loop was peeled, we already "used up" the profile information // we had, so we don't want to unroll or peel again. - if (UnrollStatus != LoopUnrollStatus::FullyUnrolled && + if (UnrollStatus != LoopUnrollResult::FullyUnrolled && (IsCountSetExplicitly || UP.PeelCount)) SetLoopAlreadyUnrolled(L); |

