llvm-project
llvm-project copied to clipboard
SCEV can't compute trip count
When the IV advances w/o nsw/nuw, but the TC is known to divide by the IV's step, SCEV should be able to calculate the trip count, since the loop's exit condition will become true. See reproducer of the issue in https://reviews.llvm.org/D143644