summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/empty-functions.ll
blob: bed16cfe82ad8b2fc5cea2d5537b96b02ba9cb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc < %s -mtriple=powerpc-apple-darwin | FileCheck -check-prefix=CHECK-NO-FP %s
; RUN: llc < %s -mtriple=powerpc-apple-darwin -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s
; RUN: llc < %s -mtriple=powerpc-netbsd -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s

define void @func() {
entry:
  unreachable
}
; CHECK-NO-FP:     _func:
; CHECK-NO-FP:     nop

; CHECK-FP:      {{_?}}func:
; CHECK-FP: nop {{[;#]}} avoids zero-length function
OpenPOWER on IntegriCloud