fix an IPSCCP bug I introduced when I changed IPSCCP to start working on
authorChris Lattner <sabre@nondot.org>
Tue, 3 Nov 2009 19:24:51 +0000 (19:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Nov 2009 19:24:51 +0000 (19:24 +0000)
commit2396cc37ae6f29693b0984e0d9129487a4e3830c
tree358a92b9488dd819680f860b00d59114ea868fcb
parent954cb43c8075a66390de9357595ca6069d86941c
fix an IPSCCP bug I introduced when I changed IPSCCP to start working on
functions that don't have local linkage.  Basically, we need to be more
careful about propagating argument information to functions whose results
we aren't tracking.  This fixes a miscompilation of
LLVMCConfigurationEmitter.cpp when built with an llvm-gcc that has ipsccp
enabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85923 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/ipsccp-basic.ll