mirror of https://github.com/llvm/circt.git
Update LLVM to c68d2895a1f4019b387c69d1e5eec31b0eb5e7b0 (#685)
* Need to include a new header in LLHD sim for LLVM translations * Need to explicitly register the LLVM translations
This commit is contained in:
parent
d909c88dee
commit
015ea05523
2
llvm
2
llvm
|
@ -1 +1 @@
|
|||
Subproject commit 5652e192fc22ed2281192d5fe80c7ea76bbbe719
|
||||
Subproject commit c68d2895a1f4019b387c69d1e5eec31b0eb5e7b0
|
|
@ -21,6 +21,7 @@
|
|||
#include "mlir/Pass/PassManager.h"
|
||||
#include "mlir/Support/FileUtilities.h"
|
||||
#include "mlir/Target/LLVMIR.h"
|
||||
#include "mlir/Target/LLVMIR/Export.h"
|
||||
#include "mlir/Transforms/Passes.h"
|
||||
|
||||
#include "llvm/Support/InitLLVM.h"
|
||||
|
@ -163,6 +164,7 @@ int main(int argc, char **argv) {
|
|||
// Load the dialects
|
||||
context
|
||||
.loadDialect<llhd::LLHDDialect, LLVM::LLVMDialect, StandardOpsDialect>();
|
||||
mlir::registerLLVMDialectTranslation(context);
|
||||
|
||||
OwningModuleRef module(parseSourceFile(mgr, &context));
|
||||
|
||||
|
|
Loading…
Reference in New Issue