lebedev.ri added a comment. Just to reiterate, i don't see what else we can do here. We do need to emit two instructions. And i do think we should indeed be emitting `bextr` in these situations. Repository: rL LLVM https://reviews.llvm.org/D48491