-
Notifications
You must be signed in to change notification settings - Fork 13
feat: unify numeric operand promotion #139
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
base: main
Are you sure you want to change the base?
Conversation
OSL ChatGPT ReviewerNOTE: This is generated by an AI program, so some comments may not make sense. src/irx/builders/llvmliteir.py
LGTM! tests/test_llvmlite_helpers.py
|
|
@xmnlab @yuvimittal please have a look |
OSL ChatGPT ReviewerNOTE: This is generated by an AI program, so some comments may not make sense. src/irx/builders/llvmliteir.py
tests/test_llvmlite_helpers.pyLGTM! |
OSL ChatGPT ReviewerNOTE: This is generated by an AI program, so some comments may not make sense. src/irx/builders/llvmliteir.py
tests/test_llvmlite_helpers.pyLGTM! |
Pull Request description
Centralize numeric operand promotion for binops .
Adds
_unify_numeric_operandsplus helper tests so ints/floats/vectors all go through one path before LLVM emission, preventing mismatched widths or scalar/vector handling bugs.Solve #135
How to test these changes
python -m pytest tests/test_llvmlite_helpers.py -vpre-commit run --files src/irx/builders/llvmliteir.py tests/test_llvmlite_helpers.pyPull Request checklists
This PR is a:
About this PR:
Author's checklist:
Additional information
N/A
Reviewer's checklist