Looks like 'not' in patterns doesn't work properly for vector types and ends up creating a patterns that look for a single immediate with a vector type. This can't really occur.
This patch replaces all uses of 'not' on vectors with 'null_frag' and then adds patterns for KANDN. We already had the patterns for KNOT and KXNOR.