Print the function code from lib


I wanna see fuction code from lib.bc which I saved, how can I get it? For example, in graph.json, there is a function named xxx, I wanna print xxx code from lib.bc


Use llvm-dis (from the clang toolchain) to disassemble the .bc file.


Are you trying to inspect the contents of a specific operator, say conv2d? For that you can instrument the corresponding definition in TOPI kind of like what is done here: