diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2016-05-18 22:34:45 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2016-05-18 22:34:45 +0000 |
commit | c01919e796709519595df68ca64b4027b4ea423f (patch) | |
tree | 2cd1776d1be25a6f81dedb71712ca54a66d5a6f5 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 4617aa78279f6f862cf775f293d8238b77bacdd1 (diff) | |
download | bcm5719-llvm-c01919e796709519595df68ca64b4027b4ea423f.tar.gz bcm5719-llvm-c01919e796709519595df68ca64b4027b4ea423f.zip |
[MBP] Remove a redundant skipFunction(). NFC.
skipFunction() is called twice.
Differential Revision: http://reviews.llvm.org/D20377
llvm-svn: 269994
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index df05458a8ec..41b2fcf86aa 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -1455,9 +1455,6 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &F) { if (std::next(F.begin()) == F.end()) return false; - if (skipFunction(*F.getFunction())) - return false; - MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); MLI = &getAnalysis<MachineLoopInfo>(); |