Skip to content

JIT: Simplify Compiler::getHWIntrinsicImmTypes - #117784

Merged
amanasifkhalid merged 4 commits into
dotnet:mainfrom
amanasifkhalid:simplify-intrinsic-helper
Jul 22, 2025
Merged

amanasifkhalid merged 4 commits into
dotnet:mainfrom
amanasifkhalid:simplify-intrinsic-helper

Conversation

@amanasifkhalid

Copy link
Copy Markdown
Contributor

Numerous SVE2 PRs have had to expand the checks in this function to catch new intrinsics. These checks aren't necessary for computing the intrinsic's immediates' sizes/types. They are essentially debug checks that are (or ought to be) checked downstream. Removing them simplifies later intrinsic additions, and cleans up the function quite a bit.

cc @dotnet/arm64-contrib

Copilot AI review requested due to automatic review settings July 17, 2025 18:40
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 17, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@amanasifkhalid

Copy link
Copy Markdown
Contributor Author

@dotnet/jit-contrib PTAL. No diffs.

@a74nh a74nh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This LGTM. Cleans up more than I expected.

Comment thread src/coreclr/jit/hwintrinsic.h Outdated
@amanasifkhalid

Copy link
Copy Markdown
Contributor Author

/ba-g linux_musl libraries tests timed out

@amanasifkhalid
amanasifkhalid merged commit 2edd5fc into dotnet:main Jul 22, 2025
@amanasifkhalid
amanasifkhalid deleted the simplify-intrinsic-helper branch July 22, 2025 19:37
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 22, 2025
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.

4 participants