Implement correct constant folding of bitcast. This implements
authorChris Lattner <sabre@nondot.org>
Mon, 11 Dec 2006 18:30:27 +0000 (18:30 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Dec 2006 18:30:27 +0000 (18:30 +0000)
commit14f440aae76e5bae91e6775ddfbb9473bf0b8144
tree72f0a4cb6ae427f58092b24324f77bd484fab2f8
parent4ed4ac34c3fb132f3b8c9fb77aa6f7afe8ce16a7
Implement correct constant folding of bitcast.  This implements
Transforms/ConstProp/bitcast.ll and fixes
SingleSource/Regression/C/2003-10-12-GlobalVarInitializers

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