aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-10-01 08:44:54 +0000
committerNico Weber <nicolasweber@gmx.de>2012-10-01 08:44:54 +0000
commit6e208dbcbdcda2ddf0e269ebc9e0f5373f995ce1 (patch)
tree6f64a50fe6aba630b1a160ac6ee86d931d642c60
parent58197501e7c20138f8d3bb06cbe8675f5070c8bf (diff)
Mark two Clang tests as passing on ARM
Also move one of them from grep to FileCheck. Patch from Joey Gouly <joey.gouly@arm.com>! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164929 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/2008-01-25-ByValReadNone.c8
-rw-r--r--test/CodeGenCXX/member-alignment.cpp2
2 files changed, 6 insertions, 4 deletions
diff --git a/test/CodeGen/2008-01-25-ByValReadNone.c b/test/CodeGen/2008-01-25-ByValReadNone.c
index d977139b21..ca21f6c443 100644
--- a/test/CodeGen/2008-01-25-ByValReadNone.c
+++ b/test/CodeGen/2008-01-25-ByValReadNone.c
@@ -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
diff --git a/test/CodeGenCXX/member-alignment.cpp b/test/CodeGenCXX/member-alignment.cpp
index 8e120f7125..100beb60e1 100644
--- a/test/CodeGenCXX/member-alignment.cpp
+++ b/test/CodeGenCXX/member-alignment.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
-// XFAIL: arm,powerpc
+// XFAIL: powerpc
// rdar://7268289