summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-07-23 00:33:05 +0000
committerAndrew Trick <atrick@apple.com>2011-07-23 00:33:05 +0000
commit2045ce154a69b8f251d3a5259324528f0def337b (patch)
tree2458f26a061c4ae0318e36172ba6b4647a40ed1f /include/llvm/Transforms
parentba03377fa171d2340bfff2ec817e62ec09eab992 (diff)
downloadllvm-2045ce154a69b8f251d3a5259324528f0def337b.tar.gz
llvm-2045ce154a69b8f251d3a5259324528f0def337b.tar.bz2
llvm-2045ce154a69b8f251d3a5259324528f0def337b.tar.xz
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')
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/UnrollLoop.h b/include/llvm/Transforms/Utils/UnrollLoop.h
index 3d5ee1a62b..7212a8c760 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);
}