-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transformations: (csl-stencil-bufferize) Fold
csl_stencil.access
th…
…at have no effect (#3084) The `csl-stencil-bufferize` pass lowers `stencil.field` and `tensor` types to `memref`. The type conversion pass creates the scenario that some `csl_stencil.access` ops are equal input and output types, for instance, `(memref<512xf32>) -> memref<512xf32>`. This only happens for ops accessing own data. In this case, the access op has no effect and can safely be folded away. --------- Co-authored-by: n-io <n-io@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
27 additions
and
15 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