Skip to content

Conversation

@tannergooding
Copy link
Member

IsContainableHWIntrinsicOp was only checking the base type of the broadcast node, which meant that scenarios such as MultiplyLow(vector256Int16, Vector256.Create(int32).AsInt16()) would incorrectly try to contain the child node.

This ensures that we check both the base type of the broadcast (which indicates how many bytes it reads from memory) and the base type of the parent node (which indicates how many bytes it would read from memory).

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

ghost commented Sep 21, 2023

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

Issue Details

IsContainableHWIntrinsicOp was only checking the base type of the broadcast node, which meant that scenarios such as MultiplyLow(vector256Int16, Vector256.Create(int32).AsInt16()) would incorrectly try to contain the child node.

This ensures that we check both the base type of the broadcast (which indicates how many bytes it reads from memory) and the base type of the parent node (which indicates how many bytes it would read from memory).

Author: tannergooding
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@tannergooding tannergooding merged commit cdcda15 into dotnet:main Sep 22, 2023
@tannergooding
Copy link
Member Author

/backport to release/8.0-rc2

@tannergooding tannergooding deleted the fix-92357 branch September 22, 2023 04:32
@github-actions
Copy link
Contributor

Started backporting to release/8.0-rc2: https://github.com/dotnet/runtime/actions/runs/6270127035

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.

2 participants