-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Relax] Provide well-formed output in
transform.LazyGetInput
(#16841)
Prior to this commit, symbolic variables inferred from the parameters were retained in the output function's `ret_struct_info`. This is ill-formed, as the parameters from which these symbolic variables are inferred are no longer part of the function signature. This commit updates `LazyGetInput` to use `EraseToWellDefined` to remove any symbolic variables from `ret_struct_info` that cannot be inferred from the remaining arguments.
- Loading branch information
1 parent
61249b4
commit 6f74762
Showing
2 changed files
with
48 additions
and
0 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