-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disentangle CHLO dialect from MHLO dialect
At the moment, CHLO dialect partially depends on MHLO dialect. In preparation for the migration from MLIR-HLO's CHLO to StableHLO's CHLO, which is part of bootstrapping of StableHLO, this CL severs the dependency from CHLO to MHLO. Concretely: 1) CHLO got its own attributes and chlo.constant. This stuff is not something that can be effectively shared across dialects. In the past, CHLO has been using MHLO attributes and mhlo.constant. 2) Functionality shared between CHLO and MHLO dialects has been factored into base.{cc,h,td}. Some of the stuff from hlo_base* went there, some of the stuff went into hlo_ops_attrs.td and hlo_ops_enums.td. 3) Functionality shared between MHLO and LMHLO dialects has been factored into hlo_ops_common.td, which is a newly created file that keeps company with hlo_ops_common.{cc,h}. 4) Various fixups were applied to adapt the codebase to these changes. PiperOrigin-RevId: 469400940
- Loading branch information
Eugene Burmako
authored and
TensorFlow MLIR Team
committed
Aug 23, 2022
1 parent
4a15463
commit 257add0
Showing
29 changed files
with
757 additions
and
377 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
Oops, something went wrong.