aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-10 22:53:04 +0000
committerChris Lattner <sabre@nondot.org>2007-12-10 22:53:04 +0000
commitd2265b45ae58c2c26fb12035df1e3900ef37e5b8 (patch)
tree2d97b40f1282b0566509c19fb788da69f715eb7a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent91f78080e3727d4472f9aac4b401938ce2195c80 (diff)
downloadllvm-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