From ffed8fe5c9997275a7421d7ce3ce6f6a4f3409b6 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Thu, 7 Feb 2013 15:11:48 +0000 Subject: [PATCH] Only check for volatile memcpys in test. AArch64 handles aggFct's return struct slightly differently, leading to an extra memcpy. This test is fortunately only concerned about volatile copies, so we can modify the grep text to filter it. llvm-svn: 174621 --- clang/test/CodeGen/volatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGen/volatile.c b/clang/test/CodeGen/volatile.c index 1a996de..6caf711 100644 --- a/clang/test/CodeGen/volatile.c +++ b/clang/test/CodeGen/volatile.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-llvm < %s -o %t // RUN: grep volatile %t | count 28 -// RUN: grep memcpy %t | count 7 +// RUN: grep "memcpy.*, i1 true" %t | count 6 // The number 28 comes from the current codegen for volatile loads; // if this number changes, it's not necessarily something wrong, but -- 2.7.4