Skip to content

Remove CreateFalse node during lowering, if MaskToVector is getting removed #114272

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

Merged
merged 5 commits into from
Apr 7, 2025

Conversation

kunalspathak
Copy link
Member

During lowering, if we see CndSel(AllTrue, op2, op3), we replace it with op2 and delete AllTrue and op3. If op3 is AllFalse, we remove it too. However, it can be wrapped in MaskToVector(AllFalse) and in such case, we would just delete MaskToVector node and not AllFalse node. Fixed by removing that node as well.

Fixes: #113338

@Copilot Copilot bot review requested due to automatic review settings April 4, 2025 17:29
@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 Apr 4, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • src/tests/JIT/Regression/JitBlue/Runtime_113338/Runtime_113338.csproj: Language not supported

@kunalspathak
Copy link
Member Author

@dotnet/jit-contrib @dotnet/arm64-contrib

Copy link
Contributor

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

@kunalspathak
Copy link
Member Author

most of the failures seems to be #113534 which is fixed in #114228. I will merge main, just to be sure.

@kunalspathak
Copy link
Member Author

/azp run Fuzzlyn, Antigen

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kunalspathak
Copy link
Member Author

/azp run Fuzzlyn

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kunalspathak
Copy link
Member Author

osx/arm64 fuzzlyn failure is #113940

@kunalspathak kunalspathak merged commit 9559b2a into dotnet:main Apr 7, 2025
117 of 123 checks passed
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
Development

Successfully merging this pull request may close these issues.

JIT: Assertion failed 'node->IsUnusedValue() && "found an unmarked unused value"' during 'Lowering nodeinfo'
2 participants