You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been an analysis for historical reasons, but carrying around a () everywhere to just answer some queries from time-to-time seems excessive.
This introduces a new interface for things that can sometimes answer queries but are not analyses. This is currently expRelation only,
It has been an analysis for historical reasons, but carrying around a () everywhere to just answer some queries from time-to-time seems excessive.
Are there actual cases where it's excessive performance-wise?
This introduces a new interface for things that can sometimes answer queries but are not analyses. This is currently expRelation only,
I'm not sure if a new abstraction interface is that useful if there's just a single instance of it. We have many things based on UnitAnalysis (e.g. access, race, assert, mhp, etc.) that also unnecessarily require dragging a unit around but all of them also do a few small things that require a bit more generality.
If the unit is just annoying in the outputs, then maybe we can introduce more generally something like should_print is for accesses.
Or maybe this could be more tightly coupled into base's evalbinop_mustbeequal, which includes a bit of symbolic rewriting as well. It would make all of these accessible via EvalInt anyway. The only difference would be if we wanted to use exprelation, but not base, which is a quite unlikely combination, especially because exprelation mainly exists for partitioned arrays in base.
Or maybe this could be more tightly coupled into base's evalbinop_mustbeequal, which includes a bit of symbolic rewriting as well.
I may try to see what this looks like once my AI tokens reset on Aug 01.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It has been an analysis for historical reasons, but carrying around a
()everywhere to just answer some queries from time-to-time seems excessive.This introduces a new interface for things that can sometimes answer queries but are not analyses. This is currently
expRelationonly,