summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-03 18:31:23 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-03 18:31:23 +0000
commit11ef606f1d33a8c368b1d071631eba28ae50a94c (patch)
tree79bdd16a756c3b1322cd4e143e6de3e4760b8bf1 /lldb/packages/Python/lldbsuite/test/python_api/section
parentf3867e64a82570990461e377c44887a310389ce8 (diff)
downloadbcm5719-llvm-11ef606f1d33a8c368b1d071631eba28ae50a94c.tar.gz
bcm5719-llvm-11ef606f1d33a8c368b1d071631eba28ae50a94c.zip
[SCEV] Be less eager about demoting zexts to sexts
After r262438 we can have provably positive NSW SCEV expressions whose zero extensions cannot be simplified (since r262438 makes SCEV better at computing constant ranges). This means demoting sexts of positive add recurrences eagerly can result in an unsimplified zero extension where we could have had a simplified sign extension. This change fixes the issue by teaching SCEV to demote sext of a positive SCEV expression to a zext only if the sext could not be simplified. llvm-svn: 262638
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud