diff options
author | Dan Gohman <gohman@apple.com> | 2009-04-13 21:06:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-04-13 21:06:25 +0000 |
commit | 88c7af096b09ad26cbcebfdf40151e04094b7460 (patch) | |
tree | 3e225d87985e10c3bc45f681fb4fd7c4c6bc7db7 /utils/TableGen/InstrInfoEmitter.cpp | |
parent | 26cbf9eb99c779b8992f4865c6cf308318d39723 (diff) | |
download | llvm-88c7af096b09ad26cbcebfdf40151e04094b7460.tar.gz llvm-88c7af096b09ad26cbcebfdf40151e04094b7460.tar.bz2 llvm-88c7af096b09ad26cbcebfdf40151e04094b7460.tar.xz |
Rename COPY_TO_SUBCLASS to COPY_TO_REGCLASS, and generalize
it accordingly. Thanks to Jakob Stoklund Olesen for pointing
out how this might be useful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | utils/TableGen/InstrInfoEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index 1a32828e7d..61dbe64af8 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -341,7 +341,7 @@ void InstrInfoEmitter::emitShiftedValue(Record *R, StringInit *Val, R->getName() != "INSERT_SUBREG" && R->getName() != "IMPLICIT_DEF" && R->getName() != "SUBREG_TO_REG" && - R->getName() != "COPY_TO_SUBCLASS") + R->getName() != "COPY_TO_REGCLASS") throw R->getName() + " doesn't have a field named '" + Val->getValue() + "'!"; return; |