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 | e877c4f9c7b4e4142f33a29e6cd1a07262525a12 (patch) | |
tree | ecbb5ae6ebaa572c5715be2b35512d9921317c74 /lib/Target/CellSPU | |
parent | 0ed5cf4fc1f6d7947687114c9d0cbe0d1ba1d883 (diff) | |
download | external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.zip external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.gz external_llvm-e877c4f9c7b4e4142f33a29e6cd1a07262525a12.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUNopFiller.cpp b/lib/Target/CellSPU/SPUNopFiller.cpp index 7c58041..1509597 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 ) { |