Michael Zolotukhin 8b9c97493f Prevent division by 0.
When we try to estimate number of potentially removed instructions in
loop unroller, we analyze first N iterations and then scale the
computed number by TripCount/N. We should bail out early if N is 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228988 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-13 00:17:03 +00:00
..
2015-02-12 16:30:00 +00:00
2015-02-13 00:17:03 +00:00
2015-01-30 18:07:45 +00:00