Dan Gohman | 43edf5b | 2009-01-27 00:40:27 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=x86-64 > %t |
2 | ; RUN: not grep subq %t | ||||
3 | ; RUN: not grep addq %t | ||||
4 | ; RUN: grep {\\-4(%%rsp)} %t | count 2 | ||||
5 | ; RUN: llvm-as < %s | llc -march=x86-64 -disable-red-zone > %t | ||||
6 | ; RUN: grep subq %t | count 1 | ||||
7 | ; RUN: grep addq %t | count 1 | ||||
8 | |||||
9 | define x86_fp80 @f0(float %f) nounwind readnone { | ||||
10 | entry: | ||||
11 | %0 = fpext float %f to x86_fp80 ; <x86_fp80> [#uses=1] | ||||
12 | ret x86_fp80 %0 | ||||
13 | } |