On Mar 2, 2007, at 3:31 PM, Reid Spencer wrote:
> + // Guard against huge trip counts. This also guards against > assertions in > + // APInt from the use of getZExtValue, below. > + if (TripCountC->getValue().getActiveBits() > 32) > return Changed; // More than 2^32 iterations??? > > + uint64_t TripCountFull = TripCountC->getZExtValue(); > + if (TripCountFull == 0) > + return Changed; // Zero iteraitons? > + Won't this still assert on 'i128 16' ? -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits