[X86] Support the EVEX versions vcvt(t)ss2si and vcvt(t)sd2si with the {evex} pseudo...
authorCraig Topper <craig.topper@intel.com>
Wed, 10 Apr 2019 01:29:59 +0000 (01:29 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 10 Apr 2019 01:29:59 +0000 (01:29 +0000)
commit9ca3a95f79879468e3cb903a3947bcbe017e72ea
tree95cbf6da84b15aedf45202ce4f48baa453454e06
parent7143224272aa1e0023c6f9e4621bf6eece38249b
[X86] Support the EVEX versions vcvt(t)ss2si and vcvt(t)sd2si with the {evex} pseudo prefix in the assembler.

The EVEX versions are ambiguous with the VEX versions based on operands alone so we had explicitly dropped
them from the AsmMatcher table. Unfortunately, when we add them they incorrectly show in the table before
their VEX counterparts. This is different how the prioritization normally works.

To fix this we have to explicitly reject the instructions unless the {evex} prefix has been seen.

llvm-svn: 358041
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/test/MC/X86/AVX512F_SCALAR-64.s