From 6e208dbcbdcda2ddf0e269ebc9e0f5373f995ce1 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 ! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164929 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/2008-01-25-ByValReadNone.c | 8 +++++--- test/CodeGenCXX/member-alignment.cpp | 2 +- 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 -- 2.40.0