-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irinterp: make sure to use
optimizer_lattice
when performing irinte…
…rp (#49024) While the base abstract interpretation routine uses `typeinf_lattice`, irinterp only needs `optimizer_lattice`. Therefore, there are unnecessary computations involved in handling `Conditional` in irinterp. This commit adds `irinterp::Bool` field to `NativeInterpreter`, indicating if a native interpreter is performing irinterp. This allows it to switch its lattice to `optimizer_lattice` during irinterp.
- Loading branch information
Showing
2 changed files
with
55 additions
and
27 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