Fix frame pointer debug information test
authorJF Bastien <jfb@google.com>
Fri, 14 Jun 2013 19:55:26 +0000 (19:55 +0000)
committerJF Bastien <jfb@google.com>
Fri, 14 Jun 2013 19:55:26 +0000 (19:55 +0000)
Run the test at O1 instead of O0: ARM FastISel keeps frame pointers around and ignores the flag. The test should now pass on ARM and still passes on x86.See: http://llvm.org/bugs/show_bug.cgi?id=16322

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183999 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/2010-04-19-FramePtr.ll

index 88eebe6f3b6f5c91cdc1187c39959ac4dacec5ab..81e34d1b70d0bd4395a00f93e1e41e2d83c83b7c 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc -asm-verbose -O0 -o %t < %s 
+; RUN: llc -asm-verbose -O1 -o %t < %s 
 ; RUN: grep DW_AT_APPLE_omit_frame_ptr %t
-; RUN: llc -disable-fp-elim -asm-verbose -O0 -o %t < %s 
+; RUN: llc -disable-fp-elim -asm-verbose -O1 -o %t < %s 
 ; RUN: grep -v DW_AT_APPLE_omit_frame_ptr %t