[PATCH] D23683: Include X86CallFrameOptimization in the opt-bisect process

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 15:57:57 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL279175: Include X86CallFrameOptimization in the opt-bisect process. (authored by akaylor).

Changed prior to commit:
  https://reviews.llvm.org/D23683?vs=68581&id=68629#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23683

Files:
  llvm/trunk/lib/Target/X86/X86CallFrameOptimization.cpp

Index: llvm/trunk/lib/Target/X86/X86CallFrameOptimization.cpp
===================================================================
--- llvm/trunk/lib/Target/X86/X86CallFrameOptimization.cpp
+++ llvm/trunk/lib/Target/X86/X86CallFrameOptimization.cpp
@@ -225,7 +225,7 @@
   assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size");
   Log2SlotSize = Log2_32(SlotSize);
 
-  if (!isLegal(MF))
+  if (skipFunction(*MF.getFunction()) || !isLegal(MF))
     return false;
 
   unsigned FrameSetupOpcode = TII->getCallFrameSetupOpcode();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23683.68629.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/9818b661/attachment.bin>


More information about the llvm-commits mailing list