[SCCP] Don't violate the lattice invariants
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 7 Jan 2016 21:36:16 +0000 (21:36 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 7 Jan 2016 21:36:16 +0000 (21:36 +0000)
We marked values which are 'undef' as constant instead of undefined
which violates SCCP's invariants.  If we can figure out that a
computation results in 'undef', leave it in the undefined state.

This fixes PR16052.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257102 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found