Chris Lattner f286f6fd93 Fix PR1850 by removing an unsafe transformation from VMCore/ConstantFold.cpp.
Reimplement the xform in Analysis/ConstantFolding.cpp where we can use
targetdata to validate that it is safe.  While I'm in there, fix some const
correctness issues and generalize the interface to the "operand folder".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44817 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 22:53:04 +00:00
..
2007-07-27 18:34:27 +00:00
2007-11-09 12:34:20 +00:00
2007-09-17 20:07:40 +00:00
2007-08-01 15:32:29 +00:00
2007-05-03 01:11:54 +00:00