-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPU] Switch to new pass generation tablegen definitions (#18132)
This is mostly an NFC change. It does more cleanups on ConvertToLLVM pass which moves private options to tablegen definition. Also, the revision removes a duplicated option from the ConvertToLLVM pass. The additional change is that it adds dependent dialects to ConvertToLLVM pass. This is generally good because it removes the duplication of pass definition, and remove the magic numbers from the pass declarations. Before the change, we duplicate all the option default values to `Passes.h`. Some passes are still defined in `Passes.h` because passing tablegen option struct is a visual noise. It makes the pipeline configuration much cleaner. --------- Signed-off-by: hanhanW <hanhan0912@gmail.com>
- Loading branch information
Showing
40 changed files
with
286 additions
and
543 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ iree_cc_library( | |
NAME | ||
PassHeaders | ||
HDRS | ||
"PassDetail.h" | ||
"Passes.h" | ||
"Passes.h.inc" | ||
DEPS | ||
|
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
21 changes: 0 additions & 21 deletions
21
compiler/src/iree/compiler/Codegen/Common/CPU/PassDetail.h
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ iree_cc_library( | |
NAME | ||
PassHeaders | ||
HDRS | ||
"PassDetail.h" | ||
"Passes.h" | ||
"Passes.h.inc" | ||
DEPS | ||
|
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.