If there are no machine instructions emitted for a function, then insert
authorBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 06:51:24 +0000 (06:51 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 06:51:24 +0000 (06:51 +0000)
commit381802f8e06668d0ec5fc760804c83e511dafc7c
treeb06c50d1c029703ef07733f84fb360e4775d1544
parent418ab3729cbf094011eeaeb92306c410ae0f8944
If there are no machine instructions emitted for a function, then insert
a "nop" instruction so that we don't have the function's label associated
with something that it's not supposed to be associated with.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Transforms/Scalar/SimplifyCFG.cpp