AVX-512: asm parser errors check

I reverted the error check that was removed in 236416.
I put the it in a separate file.

llvm-svn: 237107
This commit is contained in:
Elena Demikhovsky 2015-05-12 09:47:23 +00:00
parent c1ac5d7bd5
commit 6f30dc18d3
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: not llvm-mc -triple x86_64-unknown-unknown -mcpu=knl -mattr=+avx512dq --show-encoding %s 2> %t.err
// RUN: FileCheck --check-prefix=ERR < %t.err %s
// ERR: invalid operand for instruction
vpcmpd $1, %zmm24, %zmm7, %k5{%k0}