diff options
author | Andrew Trick <atrick@apple.com> | 2011-07-23 00:33:05 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-07-23 00:33:05 +0000 |
commit | 2045ce154a69b8f251d3a5259324528f0def337b (patch) | |
tree | 2458f26a061c4ae0318e36172ba6b4647a40ed1f /include/llvm/Transforms/Utils/UnrollLoop.h | |
parent | ba03377fa171d2340bfff2ec817e62ec09eab992 (diff) | |
download | external_llvm-2045ce154a69b8f251d3a5259324528f0def337b.zip external_llvm-2045ce154a69b8f251d3a5259324528f0def337b.tar.gz external_llvm-2045ce154a69b8f251d3a5259324528f0def337b.tar.bz2 |
Move trip count discovery outside of the generic LoopUnroll helper. This
removes its dependence on canonical induction variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/UnrollLoop.h')
-rw-r--r-- | include/llvm/Transforms/Utils/UnrollLoop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/UnrollLoop.h b/include/llvm/Transforms/Utils/UnrollLoop.h index 3d5ee1a..7212a8c 100644 --- a/include/llvm/Transforms/Utils/UnrollLoop.h +++ b/include/llvm/Transforms/Utils/UnrollLoop.h @@ -22,7 +22,8 @@ class Loop; class LoopInfo; class LPPassManager; -bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM); +bool UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, + unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM); } |