X86 Asm uses assertions instead of proper diagnostic. This patch fixes that.
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>
Tue, 25 Jul 2017 13:05:12 +0000 (13:05 +0000)
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>
Tue, 25 Jul 2017 13:05:12 +0000 (13:05 +0000)
commit32e9b1ad0b0eaba1cdfe2f3637764e15574fd40c
treef443fee76d7dbbc99c9e3cd1d3ca6a8076f3107e
parent43f178bbc9c75aea3df73632ae5fb4ca59a96c99
X86 Asm uses assertions instead of proper diagnostic. This patch fixes that.

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

llvm-svn: 308972
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/X86/intel-syntax-3.s [new file with mode: 0644]
llvm/test/MC/X86/intel-syntax-invalid-scale.s
llvm/test/MC/X86/intel-syntax.s