diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-08-18 22:49:51 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-08-18 22:49:51 +0000 |
commit | 81901d658f5198c92bae6df4253104397858e3bb (patch) | |
tree | 2fa64d53d0fb41b69ecaf5b3538d5d35579f9e4f /llvm/lib/Target/X86/X86CallFrameOptimization.cpp | |
parent | dab786fb789b156d863104c800f1bdb9077feee3 (diff) | |
download | bcm5719-llvm-81901d658f5198c92bae6df4253104397858e3bb.tar.gz bcm5719-llvm-81901d658f5198c92bae6df4253104397858e3bb.zip |
Include X86CallFrameOptimization in the opt-bisect process.
Differential Revision: https://reviews.llvm.org/D23683
llvm-svn: 279175
Diffstat (limited to 'llvm/lib/Target/X86/X86CallFrameOptimization.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86CallFrameOptimization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86CallFrameOptimization.cpp b/llvm/lib/Target/X86/X86CallFrameOptimization.cpp index 986c4065fda..176a6d252d3 100644 --- a/llvm/lib/Target/X86/X86CallFrameOptimization.cpp +++ b/llvm/lib/Target/X86/X86CallFrameOptimization.cpp @@ -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(); |