diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-20 01:26:13 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-20 01:26:13 +0000 |
commit | c85f4ced4d163442019d170282b751852b2e6500 (patch) | |
tree | ffe06ef1bcff4831aaa1644c3576163f6e86edd8 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | eb027124afc07b00c85a141b1f03b29a5681f840 (diff) | |
download | llvm-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