Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / PowerPC / empty-functions.ll
blob3a2907d5d7b9dbe1f3e72aa206f60ab4ce8beefe
1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin | FileCheck -check-prefix=CHECK-NO-FP %s
2 ; RUN: llc < %s -mtriple=powerpc-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:     nop
11 ; CHECK-FP:      _func:
12 ; CHECK-FP:      nop