Make this test pass on x86-32 linux.
authorDuncan Sands <baldrick@free.fr>
Wed, 14 May 2008 09:46:01 +0000 (09:46 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 14 May 2008 09:46:01 +0000 (09:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51099 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2008-02-13-sret.cpp

index fd427caf30429e2822838d31b68bd61ec2a97efd..15b4a992d1ecc82523553d18b0dae2842f384a7c 100644 (file)
@@ -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).