apply Eli's patch for PR2165 and provide a testcase.
authorChris Lattner <sabre@nondot.org>
Thu, 16 Oct 2008 05:26:51 +0000 (05:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Oct 2008 05:26:51 +0000 (05:26 +0000)
commit868510328fc0b25ca97f2fba466a77c2c4e29c45
tree03db7e663b72703ab1019a660fcee949213c4eba
parent8e8b8a223c2b0e69f44c0639f846260c8011668f
apply Eli's patch for PR2165 and provide a testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57625 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/ConstProp/bitcast2.ll [new file with mode: 0644]