Files
kotlin/compiler/testData/codegen/bytecodeText
Dmitry Petrov 2051355d6a Optimize constant conditions
Using basic constant propagation (only integer constants, no arithmetic
calculations), rewrite conditional jump instructions with constant
arguments.

This covers problem description in KT-17007.
Note that it also works transparently with inline functions.
Partial evaluation is required to cover more "advanced" cases.

As a side effect, this also covers KT-3098:
rewrite IF_ICMP<cmp_op>(x, 0) to IF<cmp0_op>(x).
2017-05-16 17:28:43 +03:00
..
2016-02-01 18:32:12 +03:00
2016-02-01 22:20:30 +03:00
2016-02-01 22:20:30 +03:00
2013-02-11 02:01:43 +04:00
2015-04-07 13:08:51 +03:00
2015-10-27 12:02:27 +03:00