From 31fdedde044228a3346bf3389cc9319cac8ff515 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 15 Feb 2008 19:42:13 +0000 Subject: [PATCH] Fix this test on linux, which returns S242 using sret. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47173 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2008-02-13-sret.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/C++Frontend/2008-02-13-sret.cpp b/test/C++Frontend/2008-02-13-sret.cpp index 11595ba4e94..8ad20470197 100644 --- a/test/C++Frontend/2008-02-13-sret.cpp +++ b/test/C++Frontend/2008-02-13-sret.cpp @@ -1,4 +1,5 @@ -// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep retval | grep S242 | grep {i32 1} | count 2 +// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} | grep S242 | \ +// RUN: grep {i32 1} | count 2 // Test that all 8 bytes of ret in check242 are copied. llvm-gcc was // treating S242 as if it were S93, which does not need to have the -- 2.34.1