On Feb 14, 2008, at 6:52 AM, Duncan Sands wrote:
> Hi Dale, this test is failing for me (x86-32 linux):
> there is nothing called retval.
>
> // RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep retval | grep S242
> | grep {i32 1} | count 2
OK, that's because Linux returns S242 by the sret mechanism instead of
as an i64. What's I'd like to do to preserve the sense of the test is
grep for retval | memtmp, but I'm not sure how to do that portably.
Does this work for you?
// RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep {retval\\|memtmp} |
grep S242 | grep {i32 1} | count 2
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits