Hal Finkel 2392da9d83 getSmallConstantTripMultiple should never return zero.
When the trip count is -1, getSmallConstantTripMultiple could return zero,
and this would cause runtime loop unrolling to assert. Instead of returning
zero, one is now returned (consistent with the existing overflow cases).
Fixes PR14167.

llvm-svn: 166612
2012-10-24 19:46:44 +00:00
..
2012-10-09 08:13:15 +00:00
2012-09-19 09:22:17 +00:00
2012-09-29 00:12:08 +00:00