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)
commit8b96c7e9b5434b96023c8c0dcd21c493ddb78990
tree399307ea4bd6feaf96ad3ebd7489563035d4d041
parentcff8a34716ad5e979e601cee8151cce540bf1093
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".

llvm-svn: 303108
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/directive-cpu-err.s [new file with mode: 0644]