From 3bf2f23adba2263b339bd0a1b94f95d9a851e4f8 Mon Sep 17 00:00:00 2001 From: Elena Demikhovsky Date: Tue, 12 May 2015 09:47:23 +0000 Subject: [PATCH] AVX-512: asm parser errors check I reverted the error check that was removed in 236416. I put the it in a separate file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237107 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/avx512-err.s | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/MC/X86/avx512-err.s diff --git a/test/MC/X86/avx512-err.s b/test/MC/X86/avx512-err.s new file mode 100644 index 00000000000..bfe6e39ee31 --- /dev/null +++ b/test/MC/X86/avx512-err.s @@ -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} + -- 2.34.1