1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
Chris Lattner df1662f0e6 emit a 0 byte instead of a noop if a function is empty on darwin.
"0" is nice and target independent.

llvm-svn: 94718
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
}