From: Douglas Yung Date: Wed, 24 Aug 2016 02:02:32 +0000 (+0000) Subject: Adding an additional test to ensure the frame pointer is emitted X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28b38bc11b59c1dcd29a71d21bb67a38251bfd73;p=clang Adding an additional test to ensure the frame pointer is emitted 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 --- diff --git a/test/Driver/frame-pointer-elim.c b/test/Driver/frame-pointer-elim.c index d2a2715731..e1d816ea9f 100644 --- a/test/Driver/frame-pointer-elim.c +++ b/test/Driver/frame-pointer-elim.c @@ -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(); }