Fix fairly severe bug in my last checking where we treated all unfoldable
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jan 2004 17:40:36 +0000 (17:40 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jan 2004 17:40:36 +0000 (17:40 +0000)
commit84831642e4ecdb8188df48fc62bb89cd41033daa
treec93ad912bd3f998504f998fc23afb23b0b2dc8e7
parentd56147dc72a8ec245a5b5ad94013293b8b77849d
Fix fairly severe bug in my last checking where we treated all unfoldable
constants as being "true" when evaluating branches.  This was introduced
because we now create constantexprs for the constants instead of failing the
fold.

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