diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-02-07 15:11:48 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-02-07 15:11:48 +0000 |
commit | e8d3cf009f78dfdd9e498fe6a57cfede6f1486ad (patch) | |
tree | 04ed8e614a357e84d6039bfc8b488a59943a9ae3 | |
parent | 5024bf501a03bc9423476cb976bc4029dd9a56f5 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174621 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/volatile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/volatile.c b/test/CodeGen/volatile.c index 1a996defcf..6caf7119e0 100644 --- a/test/CodeGen/volatile.c +++ b/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 |