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

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 12:39:47 PDT 2016


haicheng updated this revision to Diff 57662.
haicheng marked an inline comment as done.
haicheng added a comment.

Address Matt's comment.  Thank you, Matt.


Repository:
  rL LLVM

http://reviews.llvm.org/D20377

Files:
  lib/CodeGen/MachineBlockPlacement.cpp

Index: lib/CodeGen/MachineBlockPlacement.cpp
===================================================================
--- lib/CodeGen/MachineBlockPlacement.cpp
+++ 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.57662.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/cb46f4b9/attachment.bin>


More information about the llvm-commits mailing list