-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Encoding] Implement OpAsmDialectInterface for IREE Encoding dialect. (…
…#19146) The revision implements the dialect interface which hoists the encodings out of the tensor type. It makes IR dumps much easier in terms of readability because the same encodings are collapsed into a single one and the alias is shorter. The revision refines the lit checks for Encoding/IR/test/roundtrip.mlir which makes the style consistent; it adapts some tests to hoist the encodings, which matches the IR dumps. The `IREEEncodingInlinerInterface` is renamed to `EncodingInlinerInterface` in this patch for consistency. The `IREE` prefix is redundant because it is already in an anonymous namespace under the IREE namespace. Fixes #19024 Signed-off-by: hanhanW <[email protected]>
- Loading branch information
Showing
9 changed files
with
506 additions
and
304 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
Oops, something went wrong.