Teach mergefunc how to emit aliases safely again -- but keep it turned it off
authorNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jan 2011 08:56:50 +0000 (08:56 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jan 2011 08:56:50 +0000 (08:56 +0000)
commitb38824f866447ccf8dd0c76656755b05bcede1b1
tree63cfa328c3b9a5e364594fc22928a0d07d8f4f3b
parent1bcb4288e500a7a0e00669627110ba76a375fd87
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