mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix(compiler): --compile should not output IR on stdin
This commit is contained in:
@@ -320,7 +320,7 @@ mlir::LogicalResult processInputBuffer(
|
||||
} else if (action == Action::DUMP_LLVM_IR ||
|
||||
action == Action::DUMP_OPTIMIZED_LLVM_IR) {
|
||||
retOrErr->llvmModule->print(os, nullptr);
|
||||
} else {
|
||||
} else if (action != Action::COMPILE) {
|
||||
retOrErr->mlirModuleRef->get().print(os);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user