[llvm-commits] [llvm] r140441 - in /llvm/trunk: lib/Target/X86/X86FrameLowering.cpp test/CodeGen/X86/segmented-stacks.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Sep 23 18:11:19 PDT 2011
Author: stoklund
Date: Fri Sep 23 20:11:19 2011
New Revision: 140441
URL: http://llvm.org/viewvc/llvm-project?rev=140441&view=rev
Log:
Only run MF.verify() with EXPENSIVE_CHECKS=1.
Modified:
llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
llvm/trunk/test/CodeGen/X86/segmented-stacks.ll
Modified: llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FrameLowering.cpp?rev=140441&r1=140440&r2=140441&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Fri Sep 23 20:11:19 2011
@@ -1423,7 +1423,7 @@
checkMBB->addSuccessor(allocMBB);
checkMBB->addSuccessor(&prologueMBB);
-#ifndef NDEBUG
+#ifdef XDEBUG
MF.verify();
#endif
}
Modified: llvm/trunk/test/CodeGen/X86/segmented-stacks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/segmented-stacks.ll?rev=140441&r1=140440&r2=140441&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/segmented-stacks.ll (original)
+++ llvm/trunk/test/CodeGen/X86/segmented-stacks.ll Fri Sep 23 20:11:19 2011
@@ -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)
More information about the llvm-commits
mailing list