mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 17:20:28 +00:00
Do not run frame verification if target does not use frame instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
786ac2097e
commit
ff09ea4e98
@ -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…
x
Reference in New Issue
Block a user