summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-02-23 22:55:13 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-02-23 22:55:13 +0000
commit913dfd8f7f88645fc4de85fc28b0209448a9edfe (patch)
treef43b34a92bb148d8c7d68fba31218930f20777bc /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
parentd26f95bc949b98d4c092c79ae0ab689d29889e7a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud