[llvm-commits] [llvm] r63079 - /llvm/trunk/test/FrontendC/x86-64-red-zone.c

Török Edwin edwintorok at gmail.com
Tue Jan 27 11:52:40 PST 2009


On 2009-01-27 02:59, Dan Gohman wrote:
> Author: djg
> Date: Mon Jan 26 18:59:55 2009
> New Revision: 63079
>
> URL: http://llvm.org/viewvc/llvm-project?rev=63079&view=rev
> Log:
> Add a FrontendC testcase for the x86-64 Red Zone feature,
> to help verify that the feature may be disabled through
> the -mno-red-zone option.
>
> Added:
>     llvm/trunk/test/FrontendC/x86-64-red-zone.c
>
> Added: llvm/trunk/test/FrontendC/x86-64-red-zone.c
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/x86-64-red-zone.c?rev=63079&view=auto
>
> ==============================================================================
> --- llvm/trunk/test/FrontendC/x86-64-red-zone.c (added)
> +++ llvm/trunk/test/FrontendC/x86-64-red-zone.c Mon Jan 26 18:59:55 2009
> @@ -0,0 +1,11 @@
> +// RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - > %t
> +// RUN: not grep subq %t
> +// RUN: not grep addq %t
> +// RUN: grep {\\-4(%%rsp)} %t | count 2
> +// RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - -mno-red-zone > %t
> +// RUN: grep subq %t | count 1
> +// RUN: grep addq %t | count 1
> +// This is a test for x86-64, add your target below if it FAILs.
> +// XFAIL: alpha|ia64|arm|powerpc|sparc|x86

Hi Dan,

I get an XPASS on x86_64. It appears that x86_64 == x86 for XFAIL :(

Best regards,
--Edwin



More information about the llvm-commits mailing list