forked from OSchip/llvm-project
Do not run frame verification if target does not use frame instructions
llvm-svn: 300807
This commit is contained in:
parent
479ba8ee0e
commit
802aa667d5
|
@ -2030,6 +2030,8 @@ namespace {
|
|||
void MachineVerifier::verifyStackFrame() {
|
||||
unsigned FrameSetupOpcode = TII->getCallFrameSetupOpcode();
|
||||
unsigned FrameDestroyOpcode = TII->getCallFrameDestroyOpcode();
|
||||
if (FrameSetupOpcode == ~0u && FrameDestroyOpcode == ~0u)
|
||||
return;
|
||||
|
||||
SmallVector<StackStateOfBB, 8> SPState;
|
||||
SPState.resize(MF->getNumBlockIDs());
|
||||
|
|
Loading…
Reference in New Issue