-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #21511: Fix bitcast transposes in layout normalization.
Imported from GitHub PR #21511 Currently, transposes that are bitcasts are converted to a bitcast that does not satisfy the invariants of the layout normalization pass. As far as I can tell, the special handling of bitcast transposes does nothing useful, so we can simply remove it. While we're here, we can stop emitting identity transposes. This fixes jax-ml/jax#25759. Copybara import of the project: -- 90aab32 by Johannes Reifferscheid <[email protected]>: Fix bitcast transposes in layout normalization. Currently, transposes that are bitcasts are converted to a bitcast that does not satisfy the invariants of the layout normalization pass. As far as I can tell, the special handling of bitcast transposes does nothing useful, so we can simply remove it. While we're here, we can stop emitting identity transposes. Merging this change closes #21511 COPYBARA_INTEGRATE_REVIEW=#21511 from jreiffers:main 90aab32 PiperOrigin-RevId: 716193335
- Loading branch information
1 parent
93b15af
commit 1149399
Showing
2 changed files
with
35 additions
and
24 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