-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow toggling of selective scalarization for igc_opt
Before this change when directly calling the ScalarizeFunction pass, it would always have selective scalarization enabled. The registry flag EnableSelectiveScalarization was only used by callers of createScalarizerPass. Change this so that the pass itself looks at the registry flag. Callers can still override this behavior by explicitly enabling or disabling selective scalarization. All internal users of createScalarizerPass are updated to match their existing behavior.
- Loading branch information
Showing
4 changed files
with
232 additions
and
98 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
Oops, something went wrong.