diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-02-23 22:55:13 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-02-23 22:55:13 +0000 |
commit | 913dfd8f7f88645fc4de85fc28b0209448a9edfe (patch) | |
tree | f43b34a92bb148d8c7d68fba31218930f20777bc /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | d26f95bc949b98d4c092c79ae0ab689d29889e7a (diff) | |
download | bcm5719-llvm-913dfd8f7f88645fc4de85fc28b0209448a9edfe.tar.gz bcm5719-llvm-913dfd8f7f88645fc4de85fc28b0209448a9edfe.zip |
Fix bug 22641
The bug was a result of getPreStartForExtend interpreting nsw/nuw
flags on an add recurrence more strongly than is legal. {S,+,X}<nsw>
implies S+X is nsw only if the backedge of the loop is taken at least
once.
Differential Revision: http://reviews.llvm.org/D7808
llvm-svn: 230275
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions