llvm-6502/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
Chris Lattner 10e7c60c04 emit a 0 byte instead of a noop if a function is empty on darwin.
"0" is nice and target independent.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94718 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-28 01:06:32 +00:00

9 lines
153 B
LLVM

; RUN: llc < %s -march=x86 | grep {.byte 0}
target triple = "i686-apple-darwin8"
define void @bork() noreturn nounwind {
entry:
unreachable
}