Fix surprising missed optimization in mergefunc where we forgot to consider
authorNick Lewycky <nicholas@mxc.ca>
Thu, 27 Jan 2011 08:38:19 +0000 (08:38 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 27 Jan 2011 08:38:19 +0000 (08:38 +0000)
commit25296e25fd30806b4a1f2348cbf73f227962be86
tree9f27063376188d1f0210df039f276265efaecb71
parentb3371cdf5e6f8a9286a56fb94d70278be6f64276
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]