-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CanonicalizeDoublyStridedOp] Fix single dimension folder (#737)
I'm starting to look deeper into creating links when the circular_dma_cpy_nd's being linked are not mutually 'contiguous'. Noticed that Attributes become Constant ops unnecessarily in `create-logical-objectfifo-link`, so fixed this by removing ` getValueOrCreateConstantIndexOp`. Then noticed that test `canonicalize_doubly_strided_op.mlir` was failing, and this was because `.getTargetStrides` was being used where `getTargetMixedStrides` should've been, so fixed that. Also removed a redundant canonicalization call (print-ir-after-all showed 2 contiguous canonicalizations)
- Loading branch information
Showing
6 changed files
with
32 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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