aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorMingming Liu <mingmingl@google.com>2022-06-16 21:56:08 -0700
committerMingming Liu <mingmingl@google.com>2022-06-16 21:56:08 -0700
commitb7d09557f6efcf47a905a0e12edf63162dd5e85f (patch)
treeedc8f5caee92b2b1b9d6eac2670cbfaba4ab7e5d /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent46d45df4516e9a5bc43460429cd02cd04a85db1a (diff)
downloadllvm-b7d09557f6efcf47a905a0e12edf63162dd5e85f.zip
llvm-b7d09557f6efcf47a905a0e12edf63162dd5e85f.tar.gz
llvm-b7d09557f6efcf47a905a0e12edf63162dd5e85f.tar.bz2
Revert "[MachineBlockPlacementStats] Add check for `-filter-print-funcs` option to machine-block-placement stats."
This reverts commit 46d45df4516e9a5bc43460429cd02cd04a85db1a. Going to add differential revision link to commit message and re-commit.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBlockPlacement.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
index 4cc84f2..19de90a 100644
--- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -50,7 +50,6 @@
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Function.h"
-#include "llvm/IR/PrintPasses.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Allocator.h"
@@ -3660,9 +3659,6 @@ bool MachineBlockPlacementStats::runOnMachineFunction(MachineFunction &F) {
if (std::next(F.begin()) == F.end())
return false;
- if (!isFunctionInPrintList(F.getName()))
- return false;
-
MBPI = &getAnalysis<MachineBranchProbabilityInfo>();
MBFI = &getAnalysis<MachineBlockFrequencyInfo>();