aemerson added a comment. It it possible to extend the existing combine in prelegalizer combiner to handle this too? Or will that cause us to still miss some cases? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94641/new/ https://reviews.llvm.org/D94641