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

Fix struct promotion check for SIMD field#18548

Merged
CarolEidt merged 1 commit into
dotnet:masterfrom
CarolEidt:Fix18544
Jun 19, 2018
Merged

Fix struct promotion check for SIMD field#18548
CarolEidt merged 1 commit into
dotnet:masterfrom
CarolEidt:Fix18544

Conversation

@CarolEidt
Copy link
Copy Markdown

A struct can have lvIsRegArg true but have multiple SIMD fields if it is passed by reference.

Fix #18544

A struct can have `lvIsRegArg` true but have multiple SIMD fields if it is passed by reference.
@CarolEidt
Copy link
Copy Markdown
Author

@dotnet/jit-contrib PTAL

@CarolEidt
Copy link
Copy Markdown
Author

CarolEidt commented Jun 19, 2018

The arm and arm64 failures are the AVX/MaskLoad tests. I first saw these failing on #18499, which only changed codegenxarch.cpp, plus this test.

@fiigii
Copy link
Copy Markdown

fiigii commented Jun 19, 2018

The AVX/MaskLoad tests have been disabled in #17637

@CarolEidt
Copy link
Copy Markdown
Author

@fiigii - thanks for reminding me about those tests being deleted.

@CarolEidt
Copy link
Copy Markdown
Author

@sdmaclea - this fixes the assert that I see with the arm64 altjit on x64/windows. I'm going to merge this (which will close the issue). Could you verify that the test runs correctly and re-open the bug if it isn't fixed (or open another one if the symptom is different)?

@CarolEidt CarolEidt merged commit d390551 into dotnet:master Jun 19, 2018
@CarolEidt CarolEidt deleted the Fix18544 branch June 19, 2018 21:50
@sdmaclea
Copy link
Copy Markdown

@CarolEidt Thanks. This resolved the issue on linux-arm64 as well.

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
A struct can have `lvIsRegArg` true but have multiple SIMD fields if it is passed by reference.

Commit migrated from dotnet/coreclr@d390551
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.

4 participants