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

Add Canonicalization Patterns for ModArith #1216

Open
AlexanderViand-Intel opened this issue Dec 20, 2024 · 0 comments
Open

Add Canonicalization Patterns for ModArith #1216

AlexanderViand-Intel opened this issue Dec 20, 2024 · 0 comments

Comments

@AlexanderViand-Intel
Copy link
Collaborator

Upstream MLIR defines a whole range of peephole optimizations for operations in the arith dialect in the form of canonicalization patterns.

In HEIR, our mod_arith Dialect, which models arithmetic modulo some (frequently non-power-of-two) modulus, could benefit from similar arithmetization patterns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant