r227592 - Shuffle tests around to more appropriate files

Filipe Cabecinhas me at filcab.net
Fri Jan 30 10:25:48 PST 2015


Author: filcab
Date: Fri Jan 30 12:25:48 2015
New Revision: 227592

URL: http://llvm.org/viewvc/llvm-project?rev=227592&view=rev
Log:
Shuffle tests around to more appropriate files

Modified:
    cfe/trunk/test/Driver/frame-pointer-elim.c
    cfe/trunk/test/Driver/ps4-cpu-defaults.cpp

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=227592&r1=227591&r2=227592&view=diff
==============================================================================
--- cfe/trunk/test/Driver/frame-pointer-elim.c (original)
+++ cfe/trunk/test/Driver/frame-pointer-elim.c Fri Jan 30 12:25:48 2015
@@ -26,5 +26,10 @@
 // RUN:   FileCheck --check-prefix=OMIT_LEAF %s
 // OMIT_LEAF: "-momit-leaf-frame-pointer"
 
+// On the PS4, we default to omitting the frame pointer on lead functions
+// (OMIT_LEAF check line is above)
+// RUN: %clang -### -target x86_64-scei-ps4 -S %s 2>&1 | \
+// RUN:   FileCheck --check-prefix=OMIT_LEAF %s
+
 void f0() {}
 void f1() { f0(); }

Modified: cfe/trunk/test/Driver/ps4-cpu-defaults.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ps4-cpu-defaults.cpp?rev=227592&r1=227591&r2=227592&view=diff
==============================================================================
--- cfe/trunk/test/Driver/ps4-cpu-defaults.cpp (original)
+++ cfe/trunk/test/Driver/ps4-cpu-defaults.cpp Fri Jan 30 12:25:48 2015
@@ -1,7 +1,6 @@
 // Check that on the PS4 we default to:
-// -target-cpu btver2, -momit-leaf-frame-pointer, and no exceptions
+// -target-cpu btver2 and no exceptions
 
 // RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s
 // CHECK: "-target-cpu" "btver2"
-// CHECK: -momit-leaf-frame-pointer
 // CHECK-NOT: exceptions





More information about the cfe-commits mailing list