From: Duncan Sands Date: Fri, 15 Feb 2008 19:42:13 +0000 (+0000) Subject: Fix this test on linux, which returns S242 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=31fdedde044228a3346bf3389cc9319cac8ff515;p=oota-llvm.git 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 --- 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