-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Relax][Transform] Canonicalize
let var = R.const
bindings (#16601)
* [Relax][Transform] Canonicalize `let var = R.const` bindings Prior to this commit, known tuples could be unwrapped into variables, but any constants would remain. This commit updates `CanonicalizeBindings` to unwrap tuples containing constants. * Fix broken tests, removing test_unable_to_fold The `test_unable_to_fold` was ported from the `FoldDataflowBlockOutput` tests, and has been updated enough that it no longer a purpose.
- Loading branch information
1 parent
f0c28a0
commit 36ebcd0
Showing
3 changed files
with
50 additions
and
32 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