@@ -1098,7 +1098,7 @@ CIRGenModule::getOrCreateCIRGlobal(StringRef mangledName, mlir::Type ty,
10981098 }
10991099
11001100 mlir::Attribute cirAS =
1101- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (), langAS);
1101+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (), langAS);
11021102 if (entry) {
11031103 mlir::ptr::MemorySpaceAttrInterface entryCIRAS = entry.getAddrSpaceAttr ();
11041104 if (WeakRefReferences.erase (entry)) {
@@ -1155,7 +1155,7 @@ CIRGenModule::getOrCreateCIRGlobal(StringRef mangledName, mlir::Type ty,
11551155 }
11561156
11571157 mlir::ptr::MemorySpaceAttrInterface declCIRAS =
1158- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (),
1158+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (),
11591159 getGlobalVarAddressSpace (d));
11601160 // TODO(cir): do we need to strip pointer casts for Entry?
11611161
@@ -1766,7 +1766,7 @@ generateStringLiteral(mlir::Location loc, mlir::TypedAttr c,
17661766 cir::GlobalLinkageKind lt, CIRGenModule &cgm,
17671767 StringRef globalName, CharUnits alignment) {
17681768 mlir::ptr::MemorySpaceAttrInterface addrSpace =
1769- cir::toCIRLanguageAddressSpaceAttr (&cgm.getMLIRContext (),
1769+ cir::toCIRLangAddressSpaceAttr (&cgm.getMLIRContext (),
17701770 cgm.getGlobalConstantAddressSpace ());
17711771
17721772 // Create a global variable for this string
@@ -1984,7 +1984,7 @@ CIRGenModule::getAddrOfGlobalTemporary(const MaterializeTemporaryExpr *expr,
19841984 }
19851985 }
19861986 mlir::ptr::MemorySpaceAttrInterface targetAS =
1987- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (), addrSpace);
1987+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (), addrSpace);
19881988
19891989 auto loc = getLoc (expr->getSourceRange ());
19901990 auto gv = createGlobalOp (*this , loc, name, type, isConstant, targetAS,
0 commit comments