diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-18 21:08:18 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-18 21:08:18 +0000 |
commit | 8eac00963347ec729959be8fee78584cd5566b26 (patch) | |
tree | 656319aa04ee1648c3461d481dc565fd96589495 /llvm/utils/TableGen/SubtargetEmitter.cpp | |
parent | 920ceddf807410e615bd888bed4bbb6a5849fdac (diff) | |
download | bcm5719-llvm-8eac00963347ec729959be8fee78584cd5566b26.tar.gz bcm5719-llvm-8eac00963347ec729959be8fee78584cd5566b26.zip |
Allow up to 64 functional units per processor itinerary.
This patch changes the type used to hold the FU bitset from unsigned to uint64_t.
This will be needed for some upcoming PowerPC itineraries.
llvm-svn: 158679
Diffstat (limited to 'llvm/utils/TableGen/SubtargetEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/SubtargetEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/SubtargetEmitter.cpp b/llvm/utils/TableGen/SubtargetEmitter.cpp index 1b871a8b66b..870b8ad0b8b 100644 --- a/llvm/utils/TableGen/SubtargetEmitter.cpp +++ b/llvm/utils/TableGen/SubtargetEmitter.cpp @@ -379,8 +379,8 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(raw_ostream &OS, << "namespace " << Name << "FU {\n"; for (unsigned j = 0, FUN = FUs.size(); j < FUN; ++j) - OS << " const unsigned " << FUs[j]->getName() - << " = 1 << " << j << ";\n"; + OS << " const uint64_t " << FUs[j]->getName() + << " = 1ULL << " << j << ";\n"; OS << "}\n"; |