rampitec added a comment. In https://reviews.llvm.org/D34485#787380, @arsenm wrote: > LGTM. Should this also handle i1 and/or/xor? I'm not sure yet, I have to check the resulting code. Probably it should. https://reviews.llvm.org/D34485