How to run "always-inline" pass using new pass manager and opt

Hi @soma_p, please can you provide the print statement you’ve added?

Running
opt -S --passes=always-inline source.ll
will execute the pass, but you may need to add a "-debug’ flag if you’re using the LLVM_DEBUG macro to wrap your print e.g.

LLVM_DEBUG(dbgs() << "Hello debug world.");