summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2017-07-05 06:38:49 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2017-07-05 06:38:49 +0000
commit80bc4a5554226f1f4a14ea204acf1ae2cac6bbb2 (patch)
tree0a2dd4fcd34b51ad257a95481fbf09f4fd698fa8 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent9d5571a2269277af458ca7c93e5afc019d09695c (diff)
downloadbcm5719-llvm-80bc4a5554226f1f4a14ea204acf1ae2cac6bbb2.tar.gz
bcm5719-llvm-80bc4a5554226f1f4a14ea204acf1ae2cac6bbb2.zip
[IndVars] Canonicalize comparisons between non-negative values and indvars
-If there is a IndVar which is known to be non-negative, and there is a value which is also non-negative, then signed and unsigned comparisons between them produce the same result. Both of those can be seen in the same loop. To allow other optimizations to simplify them, we turn all instructions like %c = icmp slt i32 %iv, %b to %c = icmp ult i32 %iv, %b if both %iv and %b are known to be non-negative. Differential Revision: https://reviews.llvm.org/D34979 llvm-svn: 307126
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud