You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const expectedList = [
[
[
[0, 1],
[2, 3]
],
[
[4, 5],
[6, 7]
],
[ // The add of this sublist is to the wrong surrounding list.
[8, 9],
[10, 11]
],
[ // The add of this sublist is to the wrong surrounding list.
[12, 13],
[14, 15]
]
],
[] // They should have been added to this list.
];
The StoreLocal to :var1 in B3 is not picked up by the LoadLocal in B5 after OSR.
Optimized non-OSR IL gist, renamed variables to match OSR IL.
The add methods are invoked on the wrong list because only the OSR param holding the at-the-OSR-time t1 stack variable flows into the add. The definition from the new list for :var1 from B3 and loaded in B5 is never seen in B12 because B12 does not have a phi for t1 and consequently always reads the original t1 from the OSR-entry.
The synthetic phis inserted for the OSR entry are only inserted for the first join after the OSR entry. This is wrong, we should have had a phi in B12 for the t1 stack variable.
Image of the various IL graphs (blue is unoptimized, and optimized non-OSR, gray is optimized OSR):
dcharkes
changed the title
[vm/ffi] optcounter failure on inline_array_multi_dimensional_test
[vm] OSR missing phis
Apr 22, 2021
looks like some
index
calls are not happening:, [], [], []], []])
.https://dart-ci.appspot.com/log/any/dartk-optcounter-linux-release-x64/12076/ffi_2/inline_array_multi_dimensional_test
The text was updated successfully, but these errors were encountered: