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-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-11-13 21:42:48 +00:00
2007-07-19 23:13:04 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-06-29 16:35:07 +00:00
2007-09-20 00:57:00 +00:00
2007-09-10 23:51:41 +00:00