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
isExpressionUnableToInline(op) checks all users to determine the given operation is allowed to emit inline.
I haven't done proper profiling but it might be possible to speed up ExportVerilog by cacheing the result of isExpressionUnableToInline.
The text was updated successfully, but these errors were encountered:
uenoku
changed the title
[ExportVerilog] Consider to cache the result of isExpressionUnableToInline
[ExportVerilog] Consider to cache results of isExpressionUnableToInlineJan 21, 2022
Yeah this is a significant amount of compile time. Instead of caching, is there a better algorithm to use here that isnt' quadratic?
I agree. Currently, we are looking at users from operation, but we can make the direction opposite;
walk every operation and mark operands if the operation violates inlinng rule. The logic might become more complicated though.
isExpressionUnableToInline(op)
checks all users to determine the given operation is allowed to emit inline.I haven't done proper profiling but it might be possible to speed up ExportVerilog by cacheing the result of
isExpressionUnableToInline
.The text was updated successfully, but these errors were encountered: