llvm-6502/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
Bill Wendling 824a721560 If there's no instructions being emitted on X86 for a function, emit a
nop. Emit the nop directly for PPC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46398 91177308-0d34-0410-b5e6-96231b3b80d8
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
}