summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-18 21:08:18 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-18 21:08:18 +0000
commite877c4f9c7b4e4142f33a29e6cd1a07262525a12 (patch)
treeecbb5ae6ebaa572c5715be2b35512d9921317c74 /utils
parent0ed5cf4fc1f6d7947687114c9d0cbe0d1ba1d883 (diff)
downloadllvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.gz
llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.bz2
llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.xz
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@158679 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 1b871a8b66..870b8ad0b8 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 unsigned " << FUs[j]->getName()
- << " = 1 << " << j << ";\n";
+ OS << " const uint64_t " << FUs[j]->getName()
+ << " = 1ULL << " << j << ";\n";
OS << "}\n";