fix PR7876: If ipsccp decides that a function's address is taken
authorChris Lattner <sabre@nondot.org>
Thu, 12 Aug 2010 22:25:23 +0000 (22:25 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Aug 2010 22:25:23 +0000 (22:25 +0000)
commit1522ce9770567aeb67eae374c83fd0bdce949305
treea7f63f76014d5edf0665b04d0c742a2437988cb6
parent64baddc0f26f3cbe25d573f3c334d11fe3dbefea
fix PR7876: If ipsccp decides that a function's address is taken
before it rewrites the code, we need to use that in the post-rewrite pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110962 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/ipsccp-addr-taken.ll [new file with mode: 0644]