summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-11-11 23:08:10 +0000
committerJim Grosbach <grosbach@apple.com>2011-11-11 23:08:10 +0000
commit12952fef71f8fec88e95c0c89149bfb8e3765993 (patch)
treee4529829f7a741c1f3c3b26c6ef55c7ffbbe0bed /llvm/lib/TableGen
parentdbcfb9987c026e6b176a6b40d1d28555854b4f68 (diff)
downloadbcm5719-llvm-12952fef71f8fec88e95c0c89149bfb8e3765993.tar.gz
bcm5719-llvm-12952fef71f8fec88e95c0c89149bfb8e3765993.zip
ARM vldm and vstm VFP instructions can take a data type suffix.
It's ignored by the assembler when present, but is legal syntax. Other instructions have something similar, but for some mnemonics it's only sometimes not significant, so this quick check in the parser will need refactored into something more robust soon-ish. This gets some basics working in the meantime. Partial for rdar://10435264 llvm-svn: 144422
Diffstat (limited to 'llvm/lib/TableGen')
-rw-r--r--llvm/lib/TableGen/Record.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp
index 92559d15b5f..7c2ee228e5b 100644
--- a/llvm/lib/TableGen/Record.cpp
+++ b/llvm/lib/TableGen/Record.cpp
@@ -1699,7 +1699,7 @@ void Record::checkName() {
assert(TypedName && "Record name is not typed!");
RecTy *Type = TypedName->getType();
if (dynamic_cast<StringRecTy *>(Type) == 0) {
- llvm_unreachable("Record name is not a string!");
+ throw "Record name is not a string!";
}
}
OpenPOWER on IntegriCloud