[X86] AVX512: Only allow k1-k7 as predicates to vpcmp*
authorAdam Nemet <anemet@apple.com>
Tue, 8 Jul 2014 00:22:32 +0000 (00:22 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 8 Jul 2014 00:22:32 +0000 (00:22 +0000)
commit79580db9184264dfba4fbe76bd4d385c837a4e99
treee644f441128a98bf68415a1b3f4197976130880c
parent07435c47752aef21f369fdb946f2751a2cf58700
[X86] AVX512: Only allow k1-k7 as predicates to vpcmp*

As destination k0 is allowed but not as predicate/writemask.

I also modified the test to allow checking of error messages by the assembler.
I applied a similar approach to the test ret.s in the same directory.

llvm-svn: 212504
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/test/MC/X86/avx512-encodings.s