diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-03-08 08:22:45 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-03-08 08:22:45 +0000 |
commit | fac259814923d091942b230e7bd002a8d1130bc3 (patch) | |
tree | 5a91c02628a442fe93f9cfea4686d42366fc8a90 /utils/TableGen | |
parent | 9eddc1cf310c49c0f1f90cbde3687b2610a46689 (diff) | |
download | external_llvm-fac259814923d091942b230e7bd002a8d1130bc3.zip external_llvm-fac259814923d091942b230e7bd002a8d1130bc3.tar.gz external_llvm-fac259814923d091942b230e7bd002a8d1130bc3.tar.bz2 |
Use uint16_t to store instruction implicit uses and defs. Reduces static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-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 3706f2d..fc949f2 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/utils/TableGen/InstrInfoEmitter.cpp @@ -22,7 +22,7 @@ using namespace llvm; static void PrintDefList(const std::vector<Record*> &Uses, unsigned Num, raw_ostream &OS) { - OS << "static const unsigned ImplicitList" << Num << "[] = { "; + OS << "static const uint16_t ImplicitList" << Num << "[] = { "; for (unsigned i = 0, e = Uses.size(); i != e; ++i) OS << getQualifiedName(Uses[i]) << ", "; OS << "0 };\n"; |