• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
13target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
14target triple = "x86_64-unknown-linux-gnu"
15
16; Function Attrs: uwtable
17define internal i64 @banana() unnamed_addr #0 {
18entry-block:
19  ret i64 0
20}
21
22; Function Attrs: nounwind uwtable
23define win64cc i64 @peach() unnamed_addr #1 {
24entry-block:
25  %0 = call i64 @banana()
26  ret i64 %0
27}
28
29attributes #0 = { uwtable }
30attributes #1 = { nounwind uwtable }
31