mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-11 10:25:41 +00:00
Only run MF.verify() with EXPENSIVE_CHECKS=1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1423,7 +1423,7 @@ X86FrameLowering::adjustForSegmentedStacks(MachineFunction &MF) const {
|
|||||||
checkMBB->addSuccessor(allocMBB);
|
checkMBB->addSuccessor(allocMBB);
|
||||||
checkMBB->addSuccessor(&prologueMBB);
|
checkMBB->addSuccessor(&prologueMBB);
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifdef XDEBUG
|
||||||
MF.verify();
|
MF.verify();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
; RUN: llc < %s -mtriple=i686-linux -segmented-stacks | FileCheck %s -check-prefix=X32
|
; RUN: llc < %s -mtriple=i686-linux -segmented-stacks | FileCheck %s -check-prefix=X32
|
||||||
; RUN: llc < %s -mtriple=x86_64-linux -segmented-stacks | FileCheck %s -check-prefix=X64
|
; RUN: llc < %s -mtriple=x86_64-linux -segmented-stacks | FileCheck %s -check-prefix=X64
|
||||||
;
|
|
||||||
; X86FrameLowering::adjustForSegmentedStacks is inserting code after a RET.
|
|
||||||
; XFAIL: *
|
|
||||||
|
|
||||||
; Just to prevent the alloca from being optimized away
|
; Just to prevent the alloca from being optimized away
|
||||||
declare void @dummy_use(i32*, i32)
|
declare void @dummy_use(i32*, i32)
|
||||||
|
Reference in New Issue
Block a user