[llvm] r269994 - [MBP] Remove a redundant skipFunction(). NFC.
Haicheng Wu via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 15:34:45 PDT 2016
Author: haicheng
Date: Wed May 18 17:34:45 2016
New Revision: 269994
URL: http://llvm.org/viewvc/llvm-project?rev=269994&view=rev
Log:
[MBP] Remove a redundant skipFunction(). NFC.
skipFunction() is called twice.
Differential Revision: http://reviews.llvm.org/D20377
Modified:
llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
Modified: llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp?rev=269994&r1=269993&r2=269994&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Wed May 18 17:34:45 2016
@@ -1455,9 +1455,6 @@ bool MachineBlockPlacement::runOnMachine
if (std::next(F.begin()) == F.end())
return false;
- if (skipFunction(*F.getFunction()))
- return false;
-
MBPI = &getAnalysis<MachineBranchProbabilityInfo>();
MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
MLI = &getAnalysis<MachineLoopInfo>();
More information about the llvm-commits
mailing list