aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2015-10-19 22:08:14 +0000
committerMichael Liao <michael.liao@intel.com>2015-10-19 22:08:14 +0000
commitc65d386b819212b53c76e698fcfb5e16207cdf92 (patch)
treeaf331352bbbbabbe12c3e91a908f085541309e45 /lldb/scripts/Python/modify-python-lldb.py
parent6b92a14a28c524e9149b13b2dbea259467421a5b (diff)
downloadllvm-c65d386b819212b53c76e698fcfb5e16207cdf92.zip
llvm-c65d386b819212b53c76e698fcfb5e16207cdf92.tar.gz
llvm-c65d386b819212b53c76e698fcfb5e16207cdf92.tar.bz2
[InstCombine] Optimize icmp of inc/dec at RHS
Allow LLVM to optimize the sequence like the following: %inc = add nsw i32 %i, 1 %cmp = icmp slt %n, %inc into: %cmp = icmp sle i32 %n, %i The case is not handled previously due to the complexity of compuation of %n. Hence, LLVM cannot swap operands of icmp accordingly. llvm-svn: 250746
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions