RKSimon added a comment. LGTM but naturally test coverage would be a plus. Have you had any luck with your multiply by (pow2 and non-pow2) constant example? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132566/new/ https://reviews.llvm.org/D132566