OSDN Git Service

Get rid of an optimization in SCCP which appears to have many issues. Specifically...
authorEli Friedman <eli.friedman@gmail.com>
Fri, 11 Nov 2011 01:16:15 +0000 (01:16 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:12:12 +0000 (09:12 -0800)
commite8c7497540eadce39596f7a0a354760831ab2a3d
treeef23689e7cbf727e309cae6046f9b849f995e7b3
parent66539bcd0b44be36b1c920a8b4d5538b1a9de83d
Get rid of an optimization in SCCP which appears to have many issues.  Specifically, it doesn't handle many cases involving undef correctly, and it is missing other checks which
lead to it trying to re-mark a value marked as a constant with a different value.  It also appears to trigger very rarely.

Fixes PR11357.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/phitest.ll [deleted file]