Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s
      2 
      3 ; First without noredzone.
      4 ; CHECK-LABEL: f0:
      5 ; CHECK: -4(%rsp)
      6 ; CHECK: -4(%rsp)
      7 ; CHECK: ret
      8 define x86_fp80 @f0(float %f) nounwind readnone {
      9 entry:
     10 	%0 = fpext float %f to x86_fp80		; <x86_fp80> [#uses=1]
     11 	ret x86_fp80 %0
     12 }
     13 
     14 ; Then with noredzone.
     15 ; CHECK-LABEL: f1:
     16 ; CHECK: subq $4, %rsp
     17 ; CHECK: (%rsp)
     18 ; CHECK: (%rsp)
     19 ; CHECK: addq $4, %rsp
     20 ; CHECK: ret
     21 define x86_fp80 @f1(float %f) nounwind readnone noredzone {
     22 entry:
     23 	%0 = fpext float %f to x86_fp80		; <x86_fp80> [#uses=1]
     24 	ret x86_fp80 %0
     25 }
     26