This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / CodeGen / X86 / empty-functions.ll
blobb303cd1f736810b282ef87a1775c0032fadad52f
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
4 define void @func() {
5 entry:
6   unreachable
8 ; CHECK-NO-FP:     _func:
9 ; CHECK-NO-FP-NOT: movq %rsp, %rbp
10 ; CHECK-NO-FP:     nop
12 ; CHECK-FP:      _func:
13 ; CHECK-FP:      movq %rsp, %rbp
14 ; CHECK-FP-NEXT: Ltmp1:
15 ; CHECK-FP:      nop