Pierre-vh wrote: I legalized the i1 instead, leads to better codegen too it seems. For the other i1 ops, if those have to be legalized as well, I'd rather do it in a follow up patch if that's alright. Do we want all similar i1 pats gone? https://github.com/llvm/llvm-project/pull/67291