Skip to content

Fix handling of CreateScalarUnsafe for embedded broadcast#87134

Merged
tannergooding merged 3 commits intodotnet:mainfrom
tannergooding:fix-87116
Jun 7, 2023
Merged

Fix handling of CreateScalarUnsafe for embedded broadcast#87134
tannergooding merged 3 commits intodotnet:mainfrom
tannergooding:fix-87116

Conversation

@tannergooding
Copy link
Member

This resolves #87116

The root issue was that CreateScalarUnsafe is a special containable node which does not necessarily come from memory. It could also be an enregistered local that we want to consume directly as part of another scalar operation.

Embedded broadcast, however, explicitly requires the operand to be coming from memory and so needs to take this into account.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 5, 2023
@ghost ghost assigned tannergooding Jun 5, 2023
@ghost
Copy link

ghost commented Jun 5, 2023

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

Issue Details

This resolves #87116

The root issue was that CreateScalarUnsafe is a special containable node which does not necessarily come from memory. It could also be an enregistered local that we want to consume directly as part of another scalar operation.

Embedded broadcast, however, explicitly requires the operand to be coming from memory and so needs to take this into account.

Author: tannergooding
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@tannergooding tannergooding added the avx512 Related to the AVX-512 architecture label Jun 5, 2023
@Ruihan-Yin
Copy link
Member

Thanks for addressing this bug in embedded broadcast!

@tannergooding
Copy link
Member Author

Merged in dotnet/main so CI could rerun and get past the timeouts that were hitting various PRs this morning

@tannergooding tannergooding reopened this Jun 6, 2023
@tannergooding tannergooding merged commit eb09ba9 into dotnet:main Jun 7, 2023
@tannergooding tannergooding deleted the fix-87116 branch June 7, 2023 18:05
@ghost ghost locked as resolved and limited conversation to collaborators Jul 7, 2023
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 avx512 Related to the AVX-512 architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure JIT/SIMD/VectorAdd_ro/VectorAdd_ro

3 participants