shchenz accepted this revision. shchenz added a comment. LGTM too. Could you please check if there is similar opportunity for `and.` -> `rlwinm.`? Thanks. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71589/new/ https://reviews.llvm.org/D71589