diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-01-26 17:29:20 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-01-26 17:29:20 +0000 |
commit | a683f9ba1356e92a5e7243d9f80fe8a8b6f737c8 (patch) | |
tree | f1968755ecfab5c1612dba797cfe0c8e3631cb94 /utils/TableGen/InstrInfoEmitter.cpp | |
parent | 9373d272b2183bf62083773e22ad6b1272cb089a (diff) | |
download | llvm-a683f9ba1356e92a5e7243d9f80fe8a8b6f737c8.tar.gz llvm-a683f9ba1356e92a5e7243d9f80fe8a8b6f737c8.tar.bz2 llvm-a683f9ba1356e92a5e7243d9f80fe8a8b6f737c8.tar.xz |
Files missing from LABEL check in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 3d4da0ee28..7ea85980da 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -315,7 +315,9 @@ void InstrInfoEmitter::emitShiftedValue(Record *R, StringInit *Val, if (RV == 0 || RV->getValue() == 0) { // This isn't an error if this is a builtin instruction. - if (R->getName() != "PHI" && R->getName() != "INLINEASM") + if (R->getName() != "PHI" && + R->getName() != "INLINEASM" && + R->getName() != "LABEL") throw R->getName() + " doesn't have a field named '" + Val->getValue() + "'!"; return; |