IR KT-49372 cache progression loop parameters if their values can change

This commit is contained in:
Dmitry Petrov
2021-10-22 16:44:13 +03:00
committed by teamcityserver
parent 7fb82232cd
commit 45a4cea655
16 changed files with 113 additions and 24 deletions
@@ -35,8 +35,8 @@ fun box(): String {
// 1 IF_ICMPEQ
// 1 IFGT
// 3 IF
// 9 ILOAD
// 4 ISTORE
// 10 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 0 IINC
@@ -42,8 +42,8 @@ fun box(): String {
// 1 IFGE
// 7 IF
// 1 INEG
// 18 ILOAD
// 8 ISTORE
// 19 ILOAD
// 9 ISTORE
// 1 IADD
// 0 ISUB
// 0 IINC
@@ -35,8 +35,8 @@ fun box(): String {
// 1 IF_ICMPEQ
// 2 IFGT
// 4 IF
// 13 ILOAD
// 6 ISTORE
// 14 ILOAD
// 7 ISTORE
// 1 IADD
// 0 ISUB
// 0 IINC
@@ -42,8 +42,8 @@ fun box(): String {
// 1 INEG
// 0 INVOKESTATIC kotlin/UInt.constructor-impl
// 0 INVOKE\w+ kotlin/UInt.(un)?box-impl
// 19 ILOAD
// 9 ISTORE
// 20 ILOAD
// 10 ISTORE
// 1 IADD
// 0 ISUB
// 0 IINC