r279603 - Adding an additional test to ensure the frame pointer is emitted
Douglas Yung via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 23 19:02:32 PDT 2016
Author: dyung
Date: Tue Aug 23 21:02:32 2016
New Revision: 279603
URL: http://llvm.org/viewvc/llvm-project?rev=279603&view=rev
Log:
Adding an additional test to ensure the frame pointer is emitted
when compiling with optimization when PS4 is the target.
Modified:
cfe/trunk/test/Driver/frame-pointer-elim.c
Modified: cfe/trunk/test/Driver/frame-pointer-elim.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/frame-pointer-elim.c?rev=279603&r1=279602&r2=279603&view=diff
==============================================================================
--- cfe/trunk/test/Driver/frame-pointer-elim.c (original)
+++ cfe/trunk/test/Driver/frame-pointer-elim.c Tue Aug 23 21:02:32 2016
@@ -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(); }
More information about the cfe-commits
mailing list