[PATCH] D20377: [MBP] Remove a redundant skipFunction(). NFC.

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 15:41:08 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL269994: [MBP] Remove a redundant skipFunction(). NFC. (authored by haicheng).

Changed prior to commit:
  http://reviews.llvm.org/D20377?vs=57662&id=57691#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20377

Files:
  llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp

Index: llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
@@ -1455,9 +1455,6 @@
   if (std::next(F.begin()) == F.end())
     return false;
 
-  if (skipFunction(*F.getFunction()))
-    return false;
-
   MBPI = &getAnalysis<MachineBranchProbabilityInfo>();
   MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
   MLI = &getAnalysis<MachineLoopInfo>();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20377.57691.patch
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/cfba30bb/attachment.bin>


More information about the llvm-commits mailing list