mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
49237f04a8
to help verify that the feature may be disabled through the -mno-red-zone option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63079 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
439 B
C
12 lines
439 B
C
// 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
|
|
|
|
long double f0(float f) { return f; }
|