llvm.org GIT mirror llvm / release_28 test / CodeGen / PowerPC / empty-functions.ll
release_28

Tree @release_28 (Download .tar.gz)

empty-functions.ll @release_28

dc86704
 
 
 
 
 
 
 
 
 
 
 
; 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

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

; CHECK-FP:      _func:
; CHECK-FP:      nop