reames added a comment. I just went ahead and finished the SCEV patch I was suggesting since I'd done most of it already. See https://reviews.llvm.org/D103182 CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102982/new/ https://reviews.llvm.org/D102982