summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU
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 /lib/Target/CellSPU
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 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/SPUNopFiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUNopFiller.cpp b/lib/Target/CellSPU/SPUNopFiller.cpp
index 7c58041e3b..150959777d 100644
--- a/lib/Target/CellSPU/SPUNopFiller.cpp
+++ b/lib/Target/CellSPU/SPUNopFiller.cpp
@@ -138,7 +138,7 @@ SPUNopFiller::SPUOpPlace
SPUNopFiller::getOpPlacement( MachineInstr &instr ) {
int sc = instr.getDesc().getSchedClass();
const InstrStage *stage = IID->beginStage(sc);
- unsigned FUs = stage->getUnits();
+ uint64_t FUs = stage->getUnits();
SPUOpPlace retval;
switch( FUs ) {