Move the folding of gep null, 0, 0, 0 to a place where it can be shared and
authorChris Lattner <sabre@nondot.org>
Mon, 16 Feb 2004 20:46:13 +0000 (20:46 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Feb 2004 20:46:13 +0000 (20:46 +0000)
commit2e9bb1a88e806644e96b2a73bf8c2eb540d68ede
treeadf937b68b3d5d45e16b696b976cad5d5e86d5ed
parent2ca265299cb74c7dbc8b507910e7d2033fd44f87
Move the folding of gep null, 0, 0, 0 to a place where it can be shared and
enjoyed by all, fixing a fixme.  Add an assert

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11505 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp