[X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd...
authorCraig Topper <craig.topper@intel.com>
Fri, 3 May 2019 16:15:15 +0000 (16:15 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 3 May 2019 16:15:15 +0000 (16:15 +0000)
commita8f3840c62a7c0fde28e9a3f1a32e30ba5579121
treefd5a0a439fbaed10529aa3ec68e51098af5933b2
parent9bc070077efba53728de05769b803258f832b0d8
[X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd and on memory forms in intel syntax

The x/y/z suffix is needed to disambiguate the memory form in at&t syntax since no xmm/ymm/zmm register is mentioned.

But we should also allow it for the register and broadcast forms where its not needed for consistency. This matches gas.

The printing code will still only use the suffix for the memory form where it is needed.

llvm-svn: 359903
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/test/MC/X86/intel-syntax-x86-avx512dq_vl.s
llvm/test/MC/X86/x86-64-avx512dq.s
llvm/test/MC/X86/x86-64-avx512dq_vl.s