By popular demand, link up types by name if they are isomorphic and one is an
authorChris Lattner <sabre@nondot.org>
Fri, 16 Dec 2011 08:36:07 +0000 (08:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Dec 2011 08:36:07 +0000 (08:36 +0000)
commit3fdf98c60f1706ef2df9b267db23bffdfbb7bf57
treec59152d50b1bafd9a642abea5f03ef4229c94a34
parentf5c8ae5f4b051a328c5659b39909b97a3e9dc562
By popular demand, link up types by name if they are isomorphic and one is an
autorenamed version of the other.   This makes the IR easier to read, because
we don't end up with random renamed versions of the types after LTO'ing a large app.

llvm-svn: 146728
llvm/lib/Linker/LinkModules.cpp
llvm/test/Linker/link-type-names.ll [new file with mode: 0644]