1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[MBP] Remove an unused function parameter

NFC.

llvm-svn: 265596
This commit is contained in:
Haicheng Wu 2016-04-06 20:38:20 +00:00
parent ee69c81e47
commit 9f05a7ca34

View File

@ -268,8 +268,7 @@ class MachineBlockPlacement : public MachineFunctionPass {
const BlockFilterSet *BlockFilter); const BlockFilterSet *BlockFilter);
MachineBasicBlock * MachineBasicBlock *
selectBestCandidateBlock(BlockChain &Chain, selectBestCandidateBlock(BlockChain &Chain,
SmallVectorImpl<MachineBasicBlock *> &WorkList, SmallVectorImpl<MachineBasicBlock *> &WorkList);
const BlockFilterSet *BlockFilter);
MachineBasicBlock * MachineBasicBlock *
getFirstUnplacedBlock(MachineFunction &F, const BlockChain &PlacedChain, getFirstUnplacedBlock(MachineFunction &F, const BlockChain &PlacedChain,
MachineFunction::iterator &PrevUnplacedBlockIt, MachineFunction::iterator &PrevUnplacedBlockIt,
@ -522,8 +521,7 @@ MachineBlockPlacement::selectBestSuccessor(MachineBasicBlock *BB,
/// ///
/// \returns The best block found, or null if none are viable. /// \returns The best block found, or null if none are viable.
MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock( MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList) {
const BlockFilterSet *BlockFilter) {
// Once we need to walk the worklist looking for a candidate, cleanup the // Once we need to walk the worklist looking for a candidate, cleanup the
// worklist of already placed entries. // worklist of already placed entries.
// FIXME: If this shows up on profiles, it could be folded (at the cost of // FIXME: If this shows up on profiles, it could be folded (at the cost of
@ -630,7 +628,7 @@ void MachineBlockPlacement::buildChain(
// block among those we've identified as not violating the loop's CFG at // block among those we've identified as not violating the loop's CFG at
// this point. This won't be a fallthrough, but it will increase locality. // this point. This won't be a fallthrough, but it will increase locality.
if (!BestSucc) if (!BestSucc)
BestSucc = selectBestCandidateBlock(Chain, BlockWorkList, BlockFilter); BestSucc = selectBestCandidateBlock(Chain, BlockWorkList);
if (!BestSucc) { if (!BestSucc) {
BestSucc = BestSucc =