1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
Bill Wendling 7b83688c73 If there's no instructions being emitted on X86 for a function, emit a
nop. Emit the nop directly for PPC.

llvm-svn: 46398
2008-01-26 09:03:52 +00:00

7 lines
119 B
LLVM

; RUN: llvm-as < %s | llc -march=x86 | grep nop
define void @bork() noreturn nounwind {
entry:
unreachable
}