dmgreen added a comment. And as a fix for the problem here, and what I believe is a sensible fix for the long_shift pattern, does this patch look OK? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67664/new/ https://reviews.llvm.org/D67664