summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU
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 /lib/Target/CellSPU
parentc90a1fcf9f44858b20e0f5f7e0b98049aec7a1e0 (diff)
downloadllvm-b460a3382961c5be9952a75d46228f624edbd39f.tar.gz
llvm-b460a3382961c5be9952a75d46228f624edbd39f.tar.bz2
llvm-b460a3382961c5be9952a75d46228f624edbd39f.tar.xz
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 '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 150959777d..7c58041e3b 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);
- uint64_t FUs = stage->getUnits();
+ unsigned FUs = stage->getUnits();
SPUOpPlace retval;
switch( FUs ) {