Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Skip removed loops in optBlockIsLoopEntry#7909

Merged
JosephTremoulet merged 1 commit intodotnet:masterfrom
JosephTremoulet:FixLoopEntryCheck
Nov 1, 2016
Merged

Skip removed loops in optBlockIsLoopEntry#7909
JosephTremoulet merged 1 commit intodotnet:masterfrom
JosephTremoulet:FixLoopEntryCheck

Conversation

@JosephTremoulet
Copy link

This allows running this utility downstream of loop unrolling.

This allows running this utility downstream of loop unrolling.
@JosephTremoulet
Copy link
Author

@dotnet/jit-contrib PTAL.

@pgavlin
Copy link

pgavlin commented Oct 31, 2016

LGTM

1 similar comment
@briansull
Copy link

LGTM

@JosephTremoulet JosephTremoulet merged commit 7f8ca8d into dotnet:master Nov 1, 2016
@JosephTremoulet JosephTremoulet deleted the FixLoopEntryCheck branch November 1, 2016 05:24
AndyAyersMS added a commit to AndyAyersMS/coreclr that referenced this pull request Feb 13, 2017
The jit relies on a particular tree remaining intact during importation
to optimize type equality tests commonly found in generics.

In dotnet#7909 the jit started aggressively spilling the evaluation stack before
calls, which broke up the trees needed for the optimizations.

In the special cases pertaining to type tests the trees can safely remain
intact because we know the calls can't interact with the computations on
the stack. Recognize these cases and selectively suppress spilling.

Closes #9552.
jorive pushed a commit to guhuro/coreclr that referenced this pull request May 4, 2017
The jit relies on a particular tree remaining intact during importation
to optimize type equality tests commonly found in generics.

In dotnet#7909 the jit started aggressively spilling the evaluation stack before
calls, which broke up the trees needed for the optimizations.

In the special cases pertaining to type tests the trees can safely remain
intact because we know the calls can't interact with the computations on
the stack. Recognize these cases and selectively suppress spilling.

Closes #9552.
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
The jit relies on a particular tree remaining intact during importation
to optimize type equality tests commonly found in generics.

In dotnet/coreclr#7909 the jit started aggressively spilling the evaluation stack before
calls, which broke up the trees needed for the optimizations.

In the special cases pertaining to type tests the trees can safely remain
intact because we know the calls can't interact with the computations on
the stack. Recognize these cases and selectively suppress spilling.

Closes dotnet/coreclr#9552.


Commit migrated from dotnet/coreclr@a26e2c6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants