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
Now that we have snapshot tests, we can have more complete tests if the test harness emits some "internals" like:
focused IR;
we can emit IR very easily already with --print-ir, but we print the IR from the whole application when sometimes we only want to check the IR from a specific function.
diff for an optimization pass and the previous pass;
Would be much easier to test if an optimization pass is doing what we want if we could print a simple diff from one pass to the next one.
constant, configurable and "dynamic section" sizes;
This would be useful for testing dynamic configurable, but also to guarantee that variable-sized encoding (for enums, for example) always pad its buffer when saving direct configurables.
The text was updated successfully, but these errors were encountered:
Now that we have snapshot tests, we can have more complete tests if the test harness emits some "internals" like:
we can emit IR very easily already with
--print-ir
, but we print the IR from the whole application when sometimes we only want to check the IR from a specific function.Would be much easier to test if an optimization pass is doing what we want if we could print a simple diff from one pass to the next one.
This would be useful for testing dynamic configurable, but also to guarantee that variable-sized encoding (for enums, for example) always pad its buffer when saving direct configurables.
The text was updated successfully, but these errors were encountered: