summaryrefslogtreecommitdiff
path: root/lib/TableGen/Record.cpp
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
commit7aef99b677452724100145c81f76f32e494cc5a7 (patch)
tree911069748ddc9ec08c681a3acd2963ab1eb4269e /lib/TableGen/Record.cpp
parent8d870abe759784384b2cd9e76eaf7c494d769725 (diff)
downloadllvm-7aef99b677452724100145c81f76f32e494cc5a7.tar.gz
llvm-7aef99b677452724100145c81f76f32e494cc5a7.tar.bz2
llvm-7aef99b677452724100145c81f76f32e494cc5a7.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen/Record.cpp')
-rw-r--r--lib/TableGen/Record.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TableGen/Record.cpp b/lib/TableGen/Record.cpp
index 92559d15b5..7c2ee228e5 100644
--- a/lib/TableGen/Record.cpp
+++ b/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!";
}
}