musman added a comment. @efriedma Thanks for the review, I didn't think to use SCEV for this. I will modify the code as you suggested. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83392/new/ https://reviews.llvm.org/D83392