summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-05-14 09:46:01 +0000
committerDuncan Sands <baldrick@free.fr>2008-05-14 09:46:01 +0000
commit972378a0967a7ec96a043ffc279fdd5c87fd06df (patch)
tree5bbae083758fd43e22f3ac0660cb05af3927680b /test
parentca8f32599b30ffa1c49572152f83e412c024a9de (diff)
downloadllvm-972378a0967a7ec96a043ffc279fdd5c87fd06df.tar.gz
llvm-972378a0967a7ec96a043ffc279fdd5c87fd06df.tar.bz2
llvm-972378a0967a7ec96a043ffc279fdd5c87fd06df.tar.xz
Make this test pass on x86-32 linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2008-02-13-sret.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/C++Frontend/2008-02-13-sret.cpp b/test/C++Frontend/2008-02-13-sret.cpp
index fd427caf30..15b4a992d1 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).