refactor PimCodeGen
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
#include "Common/PIMCommon.hpp"
|
||||
#include "Compiler/PimCompilerUtils.hpp"
|
||||
#include "Compiler/PimCodeGen.hpp"
|
||||
|
||||
using namespace mlir;
|
||||
|
||||
@@ -23,7 +23,7 @@ struct EmitPimJsonPass : PassWrapper<EmitPimJsonPass, OperationPass<ModuleOp>> {
|
||||
std::string pimDir = getOutputDir() + "/pim";
|
||||
createDirectory(pimDir);
|
||||
|
||||
int compiler_error_code = compileModuleToPIMJSON(moduleOp, pimDir);
|
||||
int compiler_error_code = compileToPimJson(moduleOp, pimDir);
|
||||
if (compiler_error_code != CompilerSuccess)
|
||||
signalPassFailure();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user