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
After p4lang/p4c#5318 we might be in perfect position to simplify / optimize copy-in / copy-out semantics before inlining. This would eliminate variables for copy-in / copy-out values
Essentially we can check if the extern / action / function call arguments alias each other. E.g. for the following code:
After p4lang/p4c#5318 we might be in perfect position to simplify / optimize copy-in / copy-out semantics before inlining. This would eliminate variables for copy-in / copy-out values
Essentially we can check if the extern / action / function call arguments alias each other. E.g. for the following code:
We can eliminate
hdr_out_argand pass reference to a header field directly. For this we need:foo(s, s.field)cases)