Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the operands of NI_AVX512F_TernaryLogic during lowering #107813

Merged
merged 8 commits into from
Sep 16, 2024

Conversation

kunalspathak
Copy link
Member

We were not correctly translating the logical operation into control word leading to assert getting hit during containment.

Fixes: #107587
Fixes: #107324

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 13, 2024
@JulieLeeMSFT
Copy link
Member

@tannergooding @BruceForstall PTAL. We want to merge before 4pm today.

[Fact]
public static void TestEntryPoint()
{
try
Copy link
Member

Choose a reason for hiding this comment

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

This should rather be checking if (Avx512F.IsSupported), rather than doing try/catch, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, I misread the error of a different issue about "NullReferenceException". Will fix it.

@kunalspathak
Copy link
Member Author

/azp run Fuzzlyn

@kunalspathak kunalspathak merged commit 76f10f9 into dotnet:main Sep 16, 2024
114 checks passed
@kunalspathak
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10890038223

@kunalspathak kunalspathak deleted the issue_107587 branch September 16, 2024 18:41
jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 17, 2024
…07813)

* fix the operands for TernaryLogicUseFlags

* Add test case

* Revert "fix the operands for TernaryLogicUseFlags"

This reverts commit 5b01643.

* proper fix

* trim test

* wrap test in try-catch

* Revert "wrap test in try-catch"

This reverts commit 3319875.

* wrap in Avx512F.IsSupported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
3 participants