aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-11-20 01:26:13 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-11-20 01:26:13 +0000
commitc85f4ced4d163442019d170282b751852b2e6500 (patch)
treeffe06ef1bcff4831aaa1644c3576163f6e86edd8 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenteb027124afc07b00c85a141b1f03b29a5681f840 (diff)
downloadllvm-c85f4ced4d163442019d170282b751852b2e6500.zip
llvm-c85f4ced4d163442019d170282b751852b2e6500.tar.gz
llvm-c85f4ced4d163442019d170282b751852b2e6500.tar.bz2
ScalarEvolution: do not set nuw when creating exprs of form <expr> + <all-ones>.
The nuw constraint will not be satisfied unless <expr> == 0. This bug has been around since r102234 (in 2010!), but was uncovered by r251052, which introduced more aggressive optimization of nuw scev expressions. Differential Revision: http://reviews.llvm.org/D14850 llvm-svn: 253627
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions