We should still merge them if they are unnamed_addr and produce an alias. Unfortunately HasGlobalAliases doesn't seem to be working, so the patch LGTM with just a FIXME added about it. http://llvm-reviews.chandlerc.com/D1702