Author: johannes Date: Fri Feb 15 16:05:15 2008 New Revision: 47182 URL: http://llvm.org/viewvc/llvm-project?rev=47182&view=rev Log: Modify test to expect improved code.
Modified: llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp Modified: llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2008-02-13-sret.cpp?rev=47182&r1=47181&r2=47182&view=diff ============================================================================== --- llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp (original) +++ llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp Fri Feb 15 16:05:15 2008 @@ -1,9 +1,9 @@ // RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} | grep S242 | \ -// RUN: grep {i32 1} | count 2 +// RUN: grep {i32 1} | 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). -// 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 -// last 4 padding bytes copied. typedef __builtin_va_list va_list; typedef unsigned long size_t; void *memset(void *, int, size_t); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits