Two minor improvements:
authorChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2004 05:45:33 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Nov 2004 05:45:33 +0000 (05:45 +0000)
commit7e529e4b3cbce226f26f840e434332cf0d4e2c32
tree61fc9ab53c2330f733c06435913fc07691944bc4
parent14ab537b5a15678a9c62e72ce9af3141b10d4cb4
Two minor improvements:
 1. Speedup getValueState by having it not consider Arguments.  It's better
    to just add them before we start SCCP'ing.
 2. SCCP can delete the contents of dead blocks.  No really, it's ok!  This
    reduces the size of the IR for subsequent passes, even though
    simplifycfg would do the same job.  In practice, simplifycfg does not
    run until much later than sccp in gccas

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