llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

SCEV can't compute trip count

Open komalon1 opened this issue 3 years ago • 0 comments

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

komalon1 avatar Mar 05 '23 13:03 komalon1