Fixes #1295. Mark undef values as varying in ccp.
authorAlan Baker <alanbaker@google.com>
Wed, 14 Feb 2018 14:39:11 +0000 (09:39 -0500)
committerAlan Baker <alanbaker@google.com>
Wed, 14 Feb 2018 15:21:26 +0000 (10:21 -0500)
commit229ebc06657c1c2186d2ec3dc0add54d82d93c98
tree806a7f2f7b3be3bc154360122d880aca503cb7dd
parent08699920ad473913702948d6191897f21f96f197
Fixes #1295. Mark undef values as varying in ccp.

* Undef now marked as varying in ccp
 * this prevents incorrect meet operations since phis were always not
 interesting
* added a test to catch the bug
source/opt/ccp_pass.cpp
test/opt/ccp_test.cpp