diff options
-rw-r--r-- | lib/Target/X86/X86FrameLowering.cpp | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/segmented-stacks.ll | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 6bc349ffc1..23b071673d 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -1423,7 +1423,7 @@ X86FrameLowering::adjustForSegmentedStacks(MachineFunction &MF) const { checkMBB->addSuccessor(allocMBB); checkMBB->addSuccessor(&prologueMBB); -#ifndef NDEBUG +#ifdef XDEBUG MF.verify(); #endif } diff --git a/test/CodeGen/X86/segmented-stacks.ll b/test/CodeGen/X86/segmented-stacks.ll index 4a76874e84..3f0067e292 100644 --- a/test/CodeGen/X86/segmented-stacks.ll +++ b/test/CodeGen/X86/segmented-stacks.ll @@ -1,8 +1,5 @@ ; 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 -; -; X86FrameLowering::adjustForSegmentedStacks is inserting code after a RET. -; XFAIL: * ; Just to prevent the alloca from being optimized away declare void @dummy_use(i32*, i32) |