https://github.com/dcaballe commented: LG, thanks! Just some minor comments. I'm curious: what is the current lowering of this without the canonicalization? A `vector.shuffle` extracting the slice from the mask? https://github.com/llvm/llvm-project/pull/146745