From d1ee8534e89fbd9c88a6a95c294979958a785924 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 14 May 2008 09:46:01 +0000 Subject: [PATCH] Make this test pass on x86-32 linux. llvm-svn: 51099 --- test/C++Frontend/2008-02-13-sret.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/C++Frontend/2008-02-13-sret.cpp b/test/C++Frontend/2008-02-13-sret.cpp index fd427caf304..15b4a992d1e 100644 --- a/test/C++Frontend/2008-02-13-sret.cpp +++ b/test/C++Frontend/2008-02-13-sret.cpp @@ -1,5 +1,4 @@ -// RUN: %llvmgxx -S -O0 -m32 -emit-llvm %s -o - | grep {retval\\|memtmp} | \ -// RUN: grep S242 | grep {i32 1} | count 1 +// RUN: %llvmgxx -S -O1 -m32 -emit-llvm %s -o - | grep {store i32} | count 1 // Test that all 8 bytes of ret in check242 are copied, and only 4 bytes of // ret in check93 are copied (the same LLVM struct is used for both).