Fix PR2411, where ip constant prop would propagate the
authorChris Lattner <sabre@nondot.org>
Mon, 9 Jun 2008 07:58:07 +0000 (07:58 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Jun 2008 07:58:07 +0000 (07:58 +0000)
commit18d73c206e8259de61abf54d8d0f47c0e54f42aa
tree11bf9dfa8d76033f80ca964d827c5aa7df09b5be
parent93ee81e5b945e99403f33155a0ec6263da89c6a6
Fix PR2411, where ip constant prop would propagate the
result of a weak function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52137 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/IPConstantPropagation.cpp
test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll [new file with mode: 0644]