-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[MLIR][Presburger] Implement matrix inverse #67382
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
Merged
Merged
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
8b09dcb
Update upstream branch
Abhinav271828 5733a7e
Shift changes to Fraction
Abhinav271828 9b2a171
Update documentation and remove extraneous include
Abhinav271828 732aa35
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 7ef46f4
Fix rebase conflict
Abhinav271828 89ad6f9
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 b9586b1
Add static assert
Abhinav271828 dfd4e7c
Fix comment
Abhinav271828 ea5256e
Make compatible with fraction patch
Abhinav271828 a342259
Revert "Make compatible with fraction patch"
Abhinav271828 24bee0e
Remove duplicate definitions
Abhinav271828 ac6d4a6
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 6d2d304
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 2c2909f
Add static assert
Abhinav271828 c94405f
Fix duplicates and use increment operators for Fraction
Abhinav271828 e65109d
Fix duplicates and delete extra files
Abhinav271828 c668acd
Fix comment
Abhinav271828 8e863db
Create IntMatrix for hermite normal form and row normalisation
Abhinav271828 63c81aa
Put opening braces on same line
Abhinav271828 2e59d89
Merge branch 'llvm:main' into first_patch
Abhinav271828 80f1d96
Inherit Matrix<Fraction> to FracMatrix and define inverse
Abhinav271828 69cce30
Add test for matrix inverse
Abhinav271828 033a110
Formatting
Abhinav271828 7febde0
Shift determinant from LinearTransform to Matrix<T>
Abhinav271828 05369ca
Implement integer inverse for integer matrix
Abhinav271828 2273874
Formatting
Abhinav271828 150b3db
Merge github.com:llvm/llvm-project into upstream
Abhinav271828 15cfbe0
Revert "Inherit Matrix<Fraction> to FracMatrix and define inverse"
Abhinav271828 fc689df
Fix reduce and add Fraction tests
Abhinav271828 8e75c16
Formatting
Abhinav271828 8431353
Fix CMake file
Abhinav271828 eebcd40
Fix reduce and add Fraction tests
Abhinav271828 21c30a9
Formatting
Abhinav271828 0eb9cfc
Sync up
Abhinav271828 d51f641
Change assert to expect
Abhinav271828 aead4ef
Revert "Revert "Inherit Matrix<Fraction> to FracMatrix and define inv…
Abhinav271828 3494ea4
Shift changes to Fraction
Abhinav271828 a86c5ee
Update documentation and remove extraneous include
Abhinav271828 3262c7e
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 d7ab8e3
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 595133f
Add static assert
Abhinav271828 c3e74b3
Revert "Make compatible with fraction patch"
Abhinav271828 8935b9c
Remove duplicate definitions
Abhinav271828 6d3dd31
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 06969a3
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 0fbfd7c
Add static assert
Abhinav271828 87c5e1a
Fix duplicates and use increment operators for Fraction
Abhinav271828 f6f11a8
Fix duplicates and delete extra files
Abhinav271828 e69ffed
Create IntMatrix for hermite normal form and row normalisation
Abhinav271828 9f640b4
Inherit Matrix<Fraction> to FracMatrix and define inverse
Abhinav271828 110cad2
Add test for matrix inverse
Abhinav271828 c2eb9cf
Formatting
Abhinav271828 942ce0c
Shift determinant from LinearTransform to Matrix<T>
Abhinav271828 a7ac1ae
Implement integer inverse for integer matrix
Abhinav271828 c365979
Formatting
Abhinav271828 016509f
Revert "Inherit Matrix<Fraction> to FracMatrix and define inverse"
Abhinav271828 4c05825
Formatting
Abhinav271828 c6ffb37
Fix CMake file
Abhinav271828 af1fc95
Revert "Revert "Inherit Matrix<Fraction> to FracMatrix and define inv…
Abhinav271828 9250dff
Fix reduce
Abhinav271828 7435df4
Template Matrix to Matrix<T> (for MPInt and Fraction) with explicit i…
Abhinav271828 f4770f3
Sync
Abhinav271828 a363bf3
Add newlines
Abhinav271828 396885a
Merge branch 'main' into first_patch
Abhinav271828 b6d82a2
Use Matrix::identity() for FracMatrix::identity()
Abhinav271828 3793010
Merge branch 'first_patch' of github.com:Abhinav271828/mlir-barvinok …
Abhinav271828 664a7d9
Formatting
Abhinav271828 01112dd
Make inverse functions return optionals
Abhinav271828 a882857
Revert "Formatting"
Abhinav271828 9bffad3
Merge branch 'main' into first_patch
Abhinav271828 f3f3f77
Merge branch 'first_patch' of github.com:Abhinav271828/mlir-barvinok …
Abhinav271828 a83f2c2
Refactor addToRow call
Abhinav271828 d231d68
Comparison with integers
Abhinav271828 f25e3a3
Fix assignment and initialisation in inverse
Abhinav271828 eb38e98
Inverse documentation
Abhinav271828 0cdb5f6
Simplify constructors
Abhinav271828 89a88db
Make determinant recursive
Abhinav271828 b74f599
Assert square matrix in det
Abhinav271828 49bbb41
Maintain copy of inverse
Abhinav271828 912f31d
Formatting
Abhinav271828 95438b4
Use copy constructor
Abhinav271828 ae36f7d
Documentation for integerInverse
Abhinav271828 d99f300
Miscellaneous
Abhinav271828 24172ce
Refactor determinant and inverse into single function
Abhinav271828 c69568f
Add cast from IntMatrix to FracMatrix
Abhinav271828 a566077
Change Matrix attributes to protected
Abhinav271828 f39f913
Formatting
Abhinav271828 b6667e8
Fix singularity condition in inverse
Abhinav271828 bfa0d1d
Merge github.com:llvm/llvm-project into upstream
Abhinav271828 5e6e3a8
Merge branch 'upstream' into first_patch
Abhinav271828 f4b1936
Fix MPInt to Fraction conversion
Abhinav271828 2743884
Fix nonzeroification
Abhinav271828 0d416e8
Change add to swap
Abhinav271828 71ce59a
Add test for swapRow
Abhinav271828 8edddb4
Improve testing
Abhinav271828 a3270e4
Function to test matrix equality
Abhinav271828 7f0dcea
Formatting & tidying
Abhinav271828 16ca081
Formatting
Abhinav271828 1b377cf
Formatting
Abhinav271828 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.