topperc wrote: > Should this be reverted? Looks like it was still useful for VPEXPANDrm. There are only patterns for VPEXPANDrmk and VPEXPANDrmkz since an unmasked expand isn't very useful. https://github.com/llvm/llvm-project/pull/162036