Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mattr="-sse,-mmx,+soft-float" | FileCheck %s
      2 
      3 ; CHECK: peach:
      4 ; CHECK: pushq %rsi
      5 ; CHECK: pushq %rdi
      6 ; CHECK-NOT: movaps
      7 ; CHECK: callq banana
      8 ; CHECK-NOT: movaps
      9 ; CHECK: popq %rdi
     10 ; CHECK: popq %rsi
     11 ; CHECK: retq
     12 
     13 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
     14 target triple = "x86_64-unknown-linux-gnu"
     15 
     16 ; Function Attrs: uwtable
     17 define internal i64 @banana() unnamed_addr #0 {
     18 entry-block:
     19   ret i64 0
     20 }
     21 
     22 ; Function Attrs: nounwind uwtable
     23 define win64cc i64 @peach() unnamed_addr #1 {
     24 entry-block:
     25   %0 = call i64 @banana()
     26   ret i64 %0
     27 }
     28 
     29 attributes #0 = { uwtable }
     30 attributes #1 = { nounwind uwtable }
     31