arsenm added a comment. Can we more generally just fold out and of 31 since the shifts ignore the high bits anyway? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109671/new/ https://reviews.llvm.org/D109671