-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed 'false' during 'Early Value Propagation' #36588
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Comments
I'll investigate. |
This failure is in |
erozenfeld
added a commit
to erozenfeld/runtime
that referenced
this issue
Jun 4, 2020
Fix the code that propagates flags from the basic block of the return expression to the caller's basic block during inlining. We are now properly tracking the basic block of the return expression. Fixes dotnet#36588. Don't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP since they are executed at most once. The first change had a few diffs because we propagated BBF_BACKWARD_JUMP flag. After analyzing them I realized that we shouldn't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP in the first place. That resulted in some diffs because we are less aggressive with inlining of calls outside of loops.
erozenfeld
added a commit
that referenced
this issue
Jun 5, 2020
Fix the code that propagates flags from the basic block of the return expression to the caller's basic block during inlining. We are now properly tracking the basic block of the return expression. Fixes #36588. Don't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP since they are executed at most once. The first change had a few diffs because we propagated BBF_BACKWARD_JUMP flag. After analyzing them I realized that we shouldn't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP in the first place. That resulted in some diffs because we are less aggressive with inlining of calls outside of loops.
This assert still exists in many libraries test runs, e.g. System.Security.Cryptography.Csp.Tests
There are a few other tests which hit this, and it appears to be most, if not all platform. |
erozenfeld
added a commit
to erozenfeld/runtime
that referenced
this issue
Jun 22, 2020
This is a fllow-up to dotnet#37335 and dotnet#37840. When an inline fails we replace `GT_RET_EXPR`with the original `GT_CALL` node. `GT_RET_EXPR`may end up in a basic block other than the original `GT_CALL` so we need to propagate basic block flags. Fixes dotnet#36588.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Failure in libraries System.Data.Common.Tests: release libraries, checked coreclr with:
Windows x64
E.g.,
(the
/p:ArchiveTests=true
is required to build the RunTests.cmd wrapper scripts)@dotnet/jit-contrib
The text was updated successfully, but these errors were encountered: