diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-12-10 22:53:04 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-12-10 22:53:04 +0000 |
| commit | d2265b45ae58c2c26fb12035df1e3900ef37e5b8 (patch) | |
| tree | 2d97b40f1282b0566509c19fb788da69f715eb7a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 91f78080e3727d4472f9aac4b401938ce2195c80 (diff) | |
| download | llvm-d2265b45ae58c2c26fb12035df1e3900ef37e5b8.zip llvm-d2265b45ae58c2c26fb12035df1e3900ef37e5b8.tar.gz llvm-d2265b45ae58c2c26fb12035df1e3900ef37e5b8.tar.bz2 | |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
