]> granicus.if.org Git - llvm/commit
[Arch64AsmParser] better diagnostic for isb
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Mon, 24 Apr 2017 08:22:20 +0000 (08:22 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Mon, 24 Apr 2017 08:22:20 +0000 (08:22 +0000)
commit8e5f1d4de286c5443a1f0034fb9f8921b99b5f4c
tree26c70b9ebbb7e234eef23f0ad25fed5beff34304
parenteaf78a2f040a86c8a8fc4da993909b4968f93f9d
[Arch64AsmParser] better diagnostic for isb

Instruction isb takes as an operand either 'sy' or an immediate value. This
improves the diagnostic when the string is not 'sy' and adds a test case for
this which was missing. This also adds tests to check invalid inputs for dsb
and dmb.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301165 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
test/MC/AArch64/basic-a64-diagnostics.s