Print message about dumped MLIR modules
PiperOrigin-RevId: 311811882 Change-Id: I6c85e75c87d3ca413631927d11aff61f7ed9b39f
This commit is contained in:
parent
40e0712354
commit
f7d5cb929b
@ -38,6 +38,7 @@ inline static void Log(BridgeLoggerConfig::PrintCallbackFn print_callback,
|
||||
std::unique_ptr<llvm::raw_ostream> os;
|
||||
std::string filepath;
|
||||
if (CreateFileForDumping(name, &os, &filepath).ok()) print_callback(*os);
|
||||
VLOG(1) << "Dumped MLIR module to " << filepath;
|
||||
}
|
||||
|
||||
void BridgeLoggerConfig::printBeforeIfEnabled(mlir::Pass* pass,
|
||||
|
Loading…
x
Reference in New Issue
Block a user