aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-22 20:27:13 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-22 20:27:13 +0000
commitb460a3382961c5be9952a75d46228f624edbd39f (patch)
treee501b3464668764da5a5e507d86d4b500bfd41ef /utils
parentc90a1fcf9f44858b20e0f5f7e0b98049aec7a1e0 (diff)
Revert r158679 - use case is unclear (and it increases the memory footprint).
Original commit message: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/SubtargetEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp
index 19b0550b99..59464d2940 100644
--- a/utils/TableGen/SubtargetEmitter.cpp
+++ b/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 uint64_t " << FUs[j]->getName()
- << " = 1ULL << " << j << ";\n";
+ OS << " const unsigned " << FUs[j]->getName()
+ << " = 1 << " << j << ";\n";
OS << "}\n";