-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use user-inaccessible chars for encoding
::
in feature variables.
When setting up feature tracking variables for the optimizer we previously would normalize `:` as `_`, e.g., `mod::Unit` would lead to feature variables `__feat%mod__Unit%...`. In various places in the optimizer we would then use that knowledge to extract module and unit ID. Since user-specified identifiers can contain literal `_` or `__` this could confuse the optimizer. With this patch we now normalize `:` as `@` which is not user-accessible. We add a new codegen normalization so `@` becomes `0x40`. This gives a more reliable encoding. Closes #1504.
- Loading branch information
Showing
19 changed files
with
1,229 additions
and
1,218 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
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.