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

lower mChckNaN magic with MIR pass #1297

Merged
merged 1 commit into from
May 2, 2024

Conversation

zerbina
Copy link
Collaborator

@zerbina zerbina commented May 2, 2024

Summary

Lower the mChckRange magic with a MIR pass instead of as part of C
code generation, shrinking down cgen.

Details

The lowering is integrated into rtchecks.lowerChecks, and is a
straightforward MIR port of how cgen handled the mChckNaN magic.

Summary
=======

Lower the `mChckRange` magic with a MIR pass instead of as part of C
code generation, shrinking down `cgen`.

Details
=======

The lowering is integrated into `rtchecks.lowerChecks`, and is a
straightforward MIR port of how `cgen` handled the `mChckNaN` magic.
@zerbina zerbina added refactor Implementation refactor compiler/backend Related to backend system of the compiler labels May 2, 2024
@zerbina zerbina added this to the C backend rework milestone May 2, 2024
@saem
Copy link
Collaborator

saem commented May 2, 2024

/merge

Copy link

github-actions bot commented May 2, 2024

Merge requested by: @saem

Contents after the first section break of the PR description has been removed and preserved below:


@chore-runner chore-runner bot added this pull request to the merge queue May 2, 2024
Merged via the queue into nim-works:devel with commit b48e74b May 2, 2024
31 checks passed
@zerbina zerbina deleted the mir-lower-nan-check branch May 2, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/backend Related to backend system of the compiler refactor Implementation refactor
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants