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

[MLIR][Presburger] Template Matrix to allow MPInt and Fraction and separate out IntMatrix #66897

Merged
merged 19 commits into from
Sep 20, 2023

Conversation

Abhinav271828
Copy link
Contributor

@Abhinav271828 Abhinav271828 commented Sep 20, 2023

Matrix has been templated to Matrix (for MPInt and Fraction) with explicit instantiation for both these types.
IntMatrix, inheriting from Matrix, has been created to allow for integer-only methods.
makeMatrix has been duplicated to makeIntMatrix and makeFracMatrix.

This was already landed previously but was reverted in 98c994c due to build failure. This fixes the failure.

…nstantiation

Duplicate makeMatrix to makeIntMatrix and makeFracMatrix

Implement arithmetic operations for Fraction for compatibility
…nstantiation

Duplicate makeMatrix to makeIntMatrix and makeFracMatrix

Implement arithmetic operations for Fraction for compatibility
This reverts commit 2871b0127a3cbc8d2a4cf294e731aade1ed56424.
…nstantiation

Duplicate makeMatrix to makeIntMatrix and makeFracMatrix

Implement arithmetic operations for Fraction for compatibility
…nstantiation

Duplicate makeMatrix to makeIntMatrix and makeFracMatrix

Implement arithmetic operations for Fraction for compatibility
@Superty Superty self-assigned this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants