]> granicus.if.org Git - clang/commitdiff
Mark two Clang tests as passing on ARM
authorNico Weber <nicolasweber@gmx.de>
Mon, 1 Oct 2012 08:44:54 +0000 (08:44 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 1 Oct 2012 08:44:54 +0000 (08:44 +0000)
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

test/CodeGen/2008-01-25-ByValReadNone.c
test/CodeGenCXX/member-alignment.cpp

index d977139b212066e48e55b64c57f9a8720d0abf15..ca21f6c443a0a3f55f663e529bd4b033d44fc5a0 100644 (file)
@@ -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
index 8e120f7125073b2c9daa6bd137ae50a406fcd984..100beb60e1d18110101a77e4be6f728960928f14 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
-// XFAIL: arm,powerpc
+// XFAIL: powerpc
 
 // rdar://7268289