]> granicus.if.org Git - llvm/commit
AArch64: diagnose unrecognized features in .cpu directive.
authorTim Northover <tnorthover@apple.com>
Mon, 15 May 2017 19:42:15 +0000 (19:42 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 15 May 2017 19:42:15 +0000 (19:42 +0000)
commit59b08cd6cdc60fb68d4a1a28dedb145f47bcf9b1
tree9d599ed3bd0ceb3ab16f3d75a64a01542c43bb5d
parentcd3977bec35f71beccd2db4067f8d728a52ba938
AArch64: diagnose unrecognized features in .cpu directive.

We were silently ignoring any features we couldn't match up, which led to
errors in an inline asm block missing the conventional "\n\t".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
test/MC/AArch64/directive-cpu-err.s [new file with mode: 0644]