-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Allow the inliner to substitute for small arguments #69068
Allow the inliner to substitute for small arguments #69068
Conversation
Since we no longer have contextual nodes to indicate small arguments, this should be safe to do. For register arguments it does not matter and for stack arguments it is handled in codegen (for macOS arm64).
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsSince we no longer have contextual nodes to indicate small arguments
|
/azp run Fuzzlyn |
Azure Pipelines successfully started running 1 pipeline(s). |
With small args we could end up inserting a cast between the arg node and a GT_RET_EXPR. We would not handle substituting this GT_RET_EXPR correctly. This reverts some more of the changes from 3e65d68 to make the scenario work again, by skipping over GT_RET_EXPR before creating the inlinee arg nodes.
|
/azp run Fuzzlyn |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-coreclr jitstress, runtime-coreclr libraries-jitstress |
Azure Pipelines successfully started running 2 pipeline(s). |
cc @dotnet/jit-contrib PTAL @AndyAyersMS |
Spot-checked some of the regressions, they fell in the following categories:
|
Since we no longer have contextual nodes to indicate small arguments
this should be safe to do. For register arguments it does not matter and
for stack arguments it is handled in codegen (for macOS arm64).