]> granicus.if.org Git - clang/commitdiff
Adding an additional test to ensure the frame pointer is emitted
authorDouglas Yung <douglas.yung@sony.com>
Wed, 24 Aug 2016 02:02:32 +0000 (02:02 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Wed, 24 Aug 2016 02:02:32 +0000 (02:02 +0000)
when compiling with optimization when PS4 is the target.

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

test/Driver/frame-pointer-elim.c

index d2a2715731c3aec3de0164f2b50dc9a2458d204a..e1d816ea9fd169ce8a141ca5066a8474be582471 100644 (file)
@@ -57,6 +57,8 @@
 // (OMIT_LEAF check line is above)
 // RUN: %clang -### -target x86_64-scei-ps4 -S %s 2>&1 | \
 // RUN:   FileCheck --check-prefix=OMIT_LEAF %s
+// RUN: %clang -### -target x86_64-scei-ps4 -S -O2 %s 2>&1 | \
+// RUN:   FileCheck --check-prefix=OMIT_LEAF %s
 
 void f0() {}
 void f1() { f0(); }