Since 'load null' is undefined, we can make it do whatever we want. Returning
authorChris Lattner <sabre@nondot.org>
Sun, 7 Mar 2004 22:16:24 +0000 (22:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Mar 2004 22:16:24 +0000 (22:16 +0000)
commitc76d80342e229a86bf3f780c797e29d197363bc4
treee1bedd18ec2aef284c397cda1463e6bf91d8ce48
parentf8338c4375b25cbb61b5ea38b2e0006efa554db7
Since 'load null' is undefined, we can make it do whatever we want.  Returning
a zero value is the most likely way to cause further simplification, so we do it.

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