• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck -check-prefix=CHECK-NO-FP %s
2; RUN: llc < %s -mtriple=x86_64-apple-darwin -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s
3
4define void @func() {
5entry:
6  unreachable
7}
8; CHECK-NO-FP:     _func:
9; CHECK-NO-FP-NEXT: .cfi_startproc
10; CHECK-NO-FP:     nop
11; CHECK-NO-FP-NEXT: .cfi_endproc
12
13; CHECK-FP:      _func:
14; CHECK-FP-NEXT: .cfi_startproc
15; CHECK-FP-NEXT: :
16; CHECK-FP-NEXT: pushq %rbp
17; CHECK-FP-NEXT: :
18; CHECK-FP-NEXT: .cfi_def_cfa_offset 16
19; CHECK-FP-NEXT: :
20; CHECK-FP-NEXT: .cfi_offset %rbp, -16
21; CHECK-FP-NEXT: movq %rsp, %rbp
22; CHECK-FP-NEXT: :
23; CHECK-FP-NEXT: .cfi_def_cfa_register %rbp
24; CHECK-FP-NEXT: nop
25; CHECK-FP-NEXT: .cfi_endproc
26