Split the Add, Sub, and Mul instruction opcodes into separate
[oota-llvm.git] / test / CodeGen / X86 / red-zone.ll
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 }