[cfe-commits] r164929 - in /cfe/trunk/test: CodeGen/2008-01-25-ByValReadNone.c CodeGenCXX/member-alignment.cpp

Nico Weber nicolasweber at gmx.de
Mon Oct 1 01:44:54 PDT 2012


Author: nico
Date: Mon Oct  1 03:44:54 2012
New Revision: 164929

URL: http://llvm.org/viewvc/llvm-project?rev=164929&view=rev
Log:
Mark two Clang tests as passing on ARM

Also move one of them from grep to FileCheck.
Patch from Joey Gouly <joey.gouly at arm.com>!


Modified:
    cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c
    cfe/trunk/test/CodeGenCXX/member-alignment.cpp

Modified: cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c?rev=164929&r1=164928&r2=164929&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c (original)
+++ cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c Mon Oct  1 03:44:54 2012
@@ -1,7 +1,9 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | not grep readonly
-// RUN: %clang_cc1 -emit-llvm -o - %s | not grep readnone
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
-// XFAIL: arm,mips
+// XFAIL: mips
+
+// CHECK-NOT: readonly
+// CHECK-NOT: readnone
 
 // The struct being passed byval means that we cannot mark the
 // function readnone.  Readnone would allow stores to the arg to

Modified: cfe/trunk/test/CodeGenCXX/member-alignment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/member-alignment.cpp?rev=164929&r1=164928&r2=164929&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/member-alignment.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/member-alignment.cpp Mon Oct  1 03:44:54 2012
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
-// XFAIL: arm,powerpc
+// XFAIL: powerpc
 
 // rdar://7268289
 





More information about the cfe-commits mailing list