refactor(compiler): Remove async offloading of BS/KS

This commit is contained in:
Quentin Bourgerie
2022-11-24 14:18:23 +01:00
parent 9e16f31b87
commit 50973a39bd
13 changed files with 5 additions and 280 deletions

View File

@@ -399,16 +399,6 @@ CompilerEngine::compile(llvm::SourceMgr &sm, Target target, OptionalLib lib) {
"Lowering from Bufferized Concrete to canonical MLIR dialects failed");
}
// Make keyswitch and bootstrap asynchronous
if (options.asyncOffload) {
if (mlir::concretelang::pipeline::asyncOffload(mlirContext, module,
enablePass)
.failed()) {
return errorDiag("Converting Keyswitch and Bootstrap to asynchronous "
"operations failed.");
}
}
if (target == Target::STD)
return std::move(res);