forked from OSchip/llvm-project
Include X86CallFrameOptimization in the opt-bisect process.
Differential Revision: https://reviews.llvm.org/D23683 llvm-svn: 279175
This commit is contained in:
parent
dab786fb78
commit
81901d658f
|
@ -225,7 +225,7 @@ bool X86CallFrameOptimization::runOnMachineFunction(MachineFunction &MF) {
|
|||
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();
|
||||
|
|
Loading…
Reference in New Issue