Teach mergefunc that intptr_t is the same width as a pointer. We still can't
authorNick Lewycky <nicholas@mxc.ca>
Wed, 26 Jan 2011 09:13:58 +0000 (09:13 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 26 Jan 2011 09:13:58 +0000 (09:13 +0000)
commit207c193e7e9cc177115101333079e952a7676689
treee25ac62bae748f6babb901de05176de38a1d5dd9
parent388f4918fbd8349a6c5b8403e31f65aa3408add6
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