If there's no instructions being emitted on X86 for a function, emit a
authorBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 09:03:52 +0000 (09:03 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 09:03:52 +0000 (09:03 +0000)
commit824a721560f29eedb1427f81182e81cacf7e3ad4
tree789a28e4c73b4295b973ad9cd204ebd979058503
parentc79348d8dc43345e5c232ca421ccff6a23d0e624
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
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/X86/X86ATTAsmPrinter.cpp
test/CodeGen/X86/2008-01-25-EmptyFunction.ll [new file with mode: 0644]