Skip to content

Conversation

@jakobbotsch
Copy link
Member

We may get here for any invariant dividend/divisor but these can be
'complex' address-of trees that gtClone does not handle.

Fix #76051

… trees

We may get here for any invariant dividend/divisor but these can be
'complex' address-of trees that gtClone does not handle.

Fix dotnet#76051
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 23, 2022
@ghost ghost assigned jakobbotsch Sep 23, 2022
@ghost
Copy link

ghost commented Sep 23, 2022

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

We may get here for any invariant dividend/divisor but these can be
'complex' address-of trees that gtClone does not handle.

Fix #76051

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo
Copy link
Member

EgorBo commented Sep 23, 2022

Maybe we can rename gtClone globally? to something that reflects that it might return nullptr for complex trees, e.g.
gtCloneIfSimple
gtTryClone
gtCloneSimpleTree
etc

@jakobbotsch
Copy link
Member Author

Maybe we can rename gtClone globally? to something that reflects that it might return nullptr for complex trees, e.g.
gtCloneIfSimple
gtTryClone
gtCloneSimpleTree
etc

Seems like a good idea, but as a separate change since we should probably backport this one.

@jakobbotsch
Copy link
Member Author

Failures look like #76041 and #76070

@neon-sunset
Copy link
Contributor

Will this change be backported to 7.0?

@AndyAyersMS
Copy link
Member

Will this change be backported to 7.0?

I expect so, yes.

@jakobbotsch
Copy link
Member Author

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3126305425

@ghost ghost locked as resolved and limited conversation to collaborators Oct 26, 2022
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project segfaults on Ubuntu ( ARM64 )

4 participants