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
{{ message }}
Repository navigation
[libraries-pgo] BBF_HAS_IDX_LEN is not set ... but is required because of the following tree #75827
BBF_HAS_IDX_LEN is not set on BB10 but is required because of the following tree
N002 ( 3, 3) [000126] ---X-------*ARR_LENGTH int
N001 ( 1, 1) [000125] -----------\--*LCL_VAR ref V11 tmp8 u:2Assert failure(PID21939 [0x000055b3], Thread:21945 [0x55b9]):Assertion failed 'false' in 'Xunit.Assert:RecordException(System.Func`1[System.Object]):System.Exception' during 'EarlyValuePropagation' (IL size 48; hash 0xd54f2d8c; Tier1)File:/__w/1/s/src/coreclr/jit/earlyprop.cpp Line:66Image:/datadisks/disk1/work/A44E0904/p/dotnet
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
The return expression here is itself a GT_RET_EXPR node. This means we end up with multiple copies of that particular node, and the flags are not propagated through the right one.
Not yet sure how to fix it, this is all very convoluted.
ghost added
in-prThere is an active PR which will close this issue when it is merged
Activity
jakobbotsch commentedon Sep 19, 2022
cc @dotnet/jit-contrib
EgorBo commentedon Sep 19, 2022
@jakobbotsch didn't you want to remove the check in #71707 ? 🙂
jakobbotsch commentedon Sep 19, 2022
Yes. But I have run into some regressions in #71707 that I need to think about how to fix before that can be merged.
jakobbotsch commentedon Sep 19, 2022
But I will assign to myself, it should give me some motivation to work on fixing that. 😉
jakobbotsch commentedon Oct 18, 2022
#71707 will probably take a while, so we should look at this separately given that it is failing often.
From a preliminary look this is some case of nested inlining not correctly propagating BB flags back.
jakobbotsch commentedon Oct 18, 2022
At one point here inlining ends up replacing the inline candidate call node with the return expression in-place:
runtime/src/coreclr/jit/fginline.cpp
Line 1420 in 10fc8ae
The return expression here is itself a
GT_RET_EXPRnode. This means we end up with multiple copies of that particular node, and the flags are not propagated through the right one.Not yet sure how to fix it, this is all very convoluted.
JIT: Clean up inliner substitution (#77176)