Fix surprising missed optimization in mergefunc where we forgot to consider
commit40e0eaf0005cde0450d2158430eb96168f577660
authorNick Lewycky <nicholas@mxc.ca>
Thu, 27 Jan 2011 08:38:19 +0000 (27 08:38 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 27 Jan 2011 08:38:19 +0000 (27 08:38 +0000)
tree9f27063376188d1f0210df039f276265efaecb71
parentf34d6fda84f1dc36da2464ae466caceefb134bc1
Fix surprising missed optimization in mergefunc where we forgot to consider
that relationships like "i8* null" is equivalent to "i32* null".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/vector.ll [new file with mode: 0644]