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

An UnusedValue still requires a target reg#18561

Merged
CarolEidt merged 2 commits into
dotnet:masterfrom
CarolEidt:Fix18295
Jun 20, 2018
Merged

An UnusedValue still requires a target reg#18561
CarolEidt merged 2 commits into
dotnet:masterfrom
CarolEidt:Fix18295

Conversation

@CarolEidt
Copy link
Copy Markdown

The BuildSimple method wasn't creating a def for an unused value. Although (in this case) the code is dead, the code generator must still be able to generate code for it.

The BuildSimple method wasn't creating a def for an unused value. Although (in this case) the code is dead, the code generator must still be able to generate code for it.
@CarolEidt
Copy link
Copy Markdown
Author

The test case here was a small repro that @sandreenko found using ILGEN on desktop. It gets the same assert as #18295, but I still need to validate that it fixes that case.

@CarolEidt
Copy link
Copy Markdown
Author

@dotnet/jit-contrib PTAL
@jashook - can you help me understand why the AVX/MaskLoad tests are still being run? The associated csproj files were deleted in #17637, which was merged 2 days ago, but they still show up failing on the arm and arm64 legs.

@jashook
Copy link
Copy Markdown

jashook commented Jun 20, 2018

It is most likely because they need to also be removed from the .lst files as well. Will open a pr in a little addressing it.

Copy link
Copy Markdown

@jashook jashook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@CarolEidt
Copy link
Copy Markdown
Author

@jashook - should I add this test to the arm/arm64 test lst files as well?

@jashook
Copy link
Copy Markdown

jashook commented Jun 20, 2018

Yes please :)

Copy link
Copy Markdown

@jashook jashook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@CarolEidt CarolEidt merged commit 0c95349 into dotnet:master Jun 20, 2018
@CarolEidt CarolEidt deleted the Fix18295 branch January 23, 2019 01:11
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* An UnusedValue still requires a target reg

The BuildSimple method wasn't creating a def for an unused value. Although (in this case) the code is dead, the code generator must still be able to generate code for it.

* Add test case for dotnet/coreclr#18295 to arm/arm64 tests.lst


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

2 participants