foad added a comment. Do you still think this should be done as a post-regbankselect combine instead? I really have no idea. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107639/new/ https://reviews.llvm.org/D107639