From 24d05b0f29df6cea62d971e87ab86be2434b9ae6 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 1 Oct 2012 08:44:54 +0000 Subject: [PATCH] Mark two Clang tests as passing on ARM Also move one of them from grep to FileCheck. Patch from Joey Gouly ! llvm-svn: 164929 --- clang/test/CodeGen/2008-01-25-ByValReadNone.c | 8 +++++--- clang/test/CodeGenCXX/member-alignment.cpp | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/clang/test/CodeGen/2008-01-25-ByValReadNone.c b/clang/test/CodeGen/2008-01-25-ByValReadNone.c index d977139b2120..ca21f6c443a0 100644 --- a/clang/test/CodeGen/2008-01-25-ByValReadNone.c +++ b/clang/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/clang/test/CodeGenCXX/member-alignment.cpp b/clang/test/CodeGenCXX/member-alignment.cpp index 8e120f712507..100beb60e1d1 100644 --- a/clang/test/CodeGenCXX/member-alignment.cpp +++ b/clang/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