]> granicus.if.org Git - llvm/commit
Allow constant folding of GEP instructions, even if we don't do a whole lot yet.
authorChris Lattner <sabre@nondot.org>
Thu, 17 Apr 2003 19:24:18 +0000 (19:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Apr 2003 19:24:18 +0000 (19:24 +0000)
commit27287de06b0a6d3c2713fc3a78281df8f5d1a0fa
tree91da59b1c1d41b359046465b7c90bfb03afa39d3
parentfd73cf895c8e83c8f016f8e67f8d96544e316343
Allow constant folding of GEP instructions, even if we don't do a whole lot yet.
Fold ConstExpr casts better
castToPointer shouldn't be forced to return a constantpointer

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