Closed seldridge closed 2 years ago
I want to contribute but i'm not able to understand the problem.If you could just help me with what i need to study to understand the above, it would be a great help.Looking forward to your reply.
I want to contribute but i'm not able to understand the problem.If you could just help me with what i need to study to understand the above, it would be a great help.Looking forward to your reply.
Thanks! (I added this feature and it seems I didn't care about parser )
firtool prints logs of execution when --verbose-pass-executions
option is enabled. Currently start/end messages are not printed for parser executions (because mlir/fir parser is not executed on mlir pass manager). Then we want to manually print something like this:
$ firtool Foo.fir -verbose-pass-executions -mlir-timing
[firtool] Running parser
[firtool] -- Done in 0.001 sec
...
I think the code we want to change is around following part: https://github.com/llvm/circt/blob/main/tools/firtool/firtool.cpp#L381-L405
sorry, i'm unable to do this task.
Currently when you run
firtool --verbose-pass-executions
, it doesn't print any information when it's in the parser. This can be confusing to a user especially for large designs where, currently, >50% of the time is spent in the parser.Modify
--verbose-pass-executions
to print information about parsing.Sample output: