Output all pass names and ir

Hi, is there any way to print all pass names and ir before/after each pass when building module, just like the llvm llc option print-before-all/print-after-all ?

Buld with config.cmake USE_RELAY_DEBUG Export Enviroment TVM_LOG_DEBUG=“DEFAULT=2;ir/bar.cc=-1”

Then you will see the pass and ir changes.

1 Like