Fix overly aggressive type merging.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Nov 2014 05:59:24 +0000 (05:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 25 Nov 2014 05:59:24 +0000 (05:59 +0000)
commit842d2b62ed84c8d067d43bbdb6194b0aafeaa098
treed259fe10f037ab6711db87ba82857243463acb45
parentc5e9bf54c7ba993ce5c5460fc572045ca4d80492
Fix overly aggressive type merging.

If we find out that two types are *not* isomorphic, we learn nothing about
opaque sub types in both the source and destination.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222727 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
test/Linker/Inputs/type-unique-opaque.ll [new file with mode: 0644]
test/Linker/type-unique-opaque.ll [new file with mode: 0644]