2010-07-17 00:51:10 +02:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck -check-prefix=CHECK-NO-FP %s
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s
|
|
|
|
|
|
|
|
define void @func() {
|
|
|
|
entry:
|
|
|
|
unreachable
|
|
|
|
}
|
|
|
|
; CHECK-NO-FP: _func:
|
2011-05-05 20:43:39 +02:00
|
|
|
; CHECK-NO-FP-NEXT: .cfi_startproc
|
2010-07-17 00:51:10 +02:00
|
|
|
; CHECK-NO-FP: nop
|
2011-05-05 20:43:39 +02:00
|
|
|
; CHECK-NO-FP-NEXT: .cfi_endproc
|
2010-07-17 00:51:10 +02:00
|
|
|
|
|
|
|
; CHECK-FP: _func:
|
2011-05-05 20:43:39 +02:00
|
|
|
; CHECK-FP-NEXT: .cfi_startproc
|
|
|
|
; CHECK-FP-NEXT: :
|
|
|
|
; CHECK-FP-NEXT: pushq %rbp
|
|
|
|
; CHECK-FP-NEXT: :
|
|
|
|
; CHECK-FP-NEXT: .cfi_def_cfa_offset 16
|
|
|
|
; CHECK-FP-NEXT: :
|
2011-05-30 22:20:15 +02:00
|
|
|
; CHECK-FP-NEXT: .cfi_offset %rbp, -16
|
2011-05-05 20:43:39 +02:00
|
|
|
; CHECK-FP-NEXT: movq %rsp, %rbp
|
|
|
|
; CHECK-FP-NEXT: :
|
2011-05-30 22:20:15 +02:00
|
|
|
; CHECK-FP-NEXT: .cfi_def_cfa_register %rbp
|
2011-05-05 20:43:39 +02:00
|
|
|
; CHECK-FP-NEXT: nop
|
|
|
|
; CHECK-FP-NEXT: .cfi_endproc
|