Teach mergefunc how to emit aliases safely again -- but keep it turned it off
commitd8a2324a9dc2921431e1a5a14c4efe8768084571
authorNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jan 2011 08:56:50 +0000 (25 08:56 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jan 2011 08:56:50 +0000 (25 08:56 +0000)
tree63cfa328c3b9a5e364594fc22928a0d07d8f4f3b
parenta45e6a95b1598e84e7ec97f78f4cd5189c3e4915
Teach mergefunc how to emit aliases safely again -- but keep it turned it off
for now. It's controlled by the HasGlobalAliases variable which is not attached
to any flag yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/fold-weak.ll