diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2016-04-07 06:34:47 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2016-04-07 06:34:47 +0000 |
commit | 9ee4ddd710b53b4f110c1b0780ed2b87c560d5f0 (patch) | |
tree | 2b18a55ba56a728cffb7be3fdeb382d35e7ac02a /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 494913106556f9d0a55d96fc8ac298927e147571 (diff) | |
download | bcm5719-llvm-9ee4ddd710b53b4f110c1b0780ed2b87c560d5f0.tar.gz bcm5719-llvm-9ee4ddd710b53b4f110c1b0780ed2b87c560d5f0.zip |
[MBP] Remove an unused function parameter
NFC.
llvm-svn: 265642
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 67f2545aa96..aeb59d1bb46 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -268,8 +268,7 @@ class MachineBlockPlacement : public MachineFunctionPass { const BlockFilterSet *BlockFilter); MachineBasicBlock * selectBestCandidateBlock(BlockChain &Chain, - SmallVectorImpl<MachineBasicBlock *> &WorkList, - const BlockFilterSet *BlockFilter); + SmallVectorImpl<MachineBasicBlock *> &WorkList); MachineBasicBlock * getFirstUnplacedBlock(MachineFunction &F, const BlockChain &PlacedChain, MachineFunction::iterator &PrevUnplacedBlockIt, @@ -522,8 +521,7 @@ MachineBlockPlacement::selectBestSuccessor(MachineBasicBlock *BB, /// /// \returns The best block found, or null if none are viable. MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock( - BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, - const BlockFilterSet *BlockFilter) { + BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList) { // Once we need to walk the worklist looking for a candidate, cleanup the // worklist of already placed entries. // 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 // this point. This won't be a fallthrough, but it will increase locality. if (!BestSucc) - BestSucc = selectBestCandidateBlock(Chain, BlockWorkList, BlockFilter); + BestSucc = selectBestCandidateBlock(Chain, BlockWorkList); if (!BestSucc) { BestSucc = |