Teach mergefunc that intptr_t is the same width as a pointer. We still can't
commit8d0d63ef12e8a07690e847361d7a2a73f6a443c4
authorNick Lewycky <nicholas@mxc.ca>
Wed, 26 Jan 2011 09:13:58 +0000 (26 09:13 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 26 Jan 2011 09:13:58 +0000 (26 09:13 +0000)
treee25ac62bae748f6babb901de05176de38a1d5dd9
parent2dd44846f1a8ffb669b54112c3913309f0aba187
Teach mergefunc that intptr_t is the same width as a pointer. We still can't
merge vector<intptr_t>::push_back() and vector<void*>::push_back() because
Enumerate() doesn't realize that "i64* null" and "i8** null" are equivalent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124285 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp