Do not set the `link' bit when branching to the first BB of a function, as it
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jun 2004 17:57:40 +0000 (17:57 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jun 2004 17:57:40 +0000 (17:57 +0000)
commit9c661c8e26e93cbc1080d881e422cbcb4ca02e7b
treed0aa99f280300777df4477d024710549f2470ab1
parent604fdc10bb3ac812cc8a73d1567454ede942b703
Do not set the `link' bit when branching to the first BB of a function, as it
will cause an infinite loop.  The link bit is only used for calling functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14466 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPC32AsmPrinter.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PowerPCAsmPrinter.cpp