aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CIR/CodeGen/CIRGenerator.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2024-11-07 14:36:25 -0800
committerShoaib Meenai <smeenai@fb.com>2024-11-07 14:36:25 -0800
commitd6f7f57e206c39be3af09a2fbfb84ae8759bce99 (patch)
treefe96b10e812e6316d15e2a7864131f1e7ac60c1c /clang/lib/CIR/CodeGen/CIRGenerator.cpp
parent69d8e1ddf2088e42c3d71e2e6c036318b7f1ad1f (diff)
downloadllvm-users/smeenai/2/next.zip
llvm-users/smeenai/2/next.tar.gz
llvm-users/smeenai/2/next.tar.bz2
[ghstack-poisoned]
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenerator.cpp')
-rw-r--r--clang/lib/CIR/CodeGen/CIRGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CIR/CodeGen/CIRGenerator.cpp b/clang/lib/CIR/CodeGen/CIRGenerator.cpp
index 825f78d..85367a9 100644
--- a/clang/lib/CIR/CodeGen/CIRGenerator.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenerator.cpp
@@ -35,7 +35,7 @@ void CIRGenerator::Initialize(ASTContext &astCtx) {
this->astCtx = &astCtx;
mlirCtx = std::make_unique<mlir::MLIRContext>();
- mlirCtx->loadDialect<mlir::cir::CIRDialect>();
+ mlirCtx->loadDialect<cir::CIRDialect>();
cgm = std::make_unique<clang::CIRGen::CIRGenModule>(*mlirCtx.get(), astCtx,
codeGenOpts, diags);
}