[X86] Teach the assembly parser to warn on duplicate registers in gather instructions.
authorCraig Topper <craig.topper@intel.com>
Thu, 26 Oct 2017 21:03:54 +0000 (21:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 26 Oct 2017 21:03:54 +0000 (21:03 +0000)
commit8a2a1041298b58e880ff07b8efa2914f3df798ce
tree5ea95017a7c6b60eee7b849195e8071d45480546
parent21cc2fa3f6a56afb47fa75b9e01132c4b64a4db4
[X86] Teach the assembly parser to warn on duplicate registers in gather instructions.

Fixes PR32238.

Differential Revision: https://reviews.llvm.org/D39077

llvm-svn: 316700
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/X86/gather.s [new file with mode: 0644]