Revert constant-folding change that will miscompile in some cases.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 17 May 2008 19:00:05 +0000 (19:00 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 17 May 2008 19:00:05 +0000 (19:00 +0000)
commit08de1e476c8404cf49ea37e4268b5ca7b90e0795
treea50e9bc1928ac0458c71dc95437b6723e67ffebc
parentb5783106c469b9ec286e7c193e25a9e2f4e80368
Revert constant-folding change that will miscompile in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll