Chris Lattner d2265b45ae 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".

llvm-svn: 44817
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