Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 0f27e30

Browse files
author
Andrew Kaylor
committed
Include X86CallFrameOptimization in the opt-bisect process.
Differential Revision: https://reviews.llvm.org/D23683 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279175 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 303a259 commit 0f27e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86CallFrameOptimization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ bool X86CallFrameOptimization::runOnMachineFunction(MachineFunction &MF) {
225225
assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size");
226226
Log2SlotSize = Log2_32(SlotSize);
227227

228-
if (!isLegal(MF))
228+
if (skipFunction(*MF.getFunction()) || !isLegal(MF))
229229
return false;
230230

231231
unsigned FrameSetupOpcode = TII->getCallFrameSetupOpcode();

0 commit comments

Comments
 (0)