From c01919e796709519595df68ca64b4027b4ea423f Mon Sep 17 00:00:00 2001 From: Haicheng Wu Date: Wed, 18 May 2016 22:34:45 +0000 Subject: [MBP] Remove a redundant skipFunction(). NFC. skipFunction() is called twice. Differential Revision: http://reviews.llvm.org/D20377 llvm-svn: 269994 --- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/CodeGen') 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(); MBFI = &getAnalysis(); MLI = &getAnalysis(); -- cgit v1.2.3