@@ -1112,7 +1112,7 @@ CIRGenModule::getOrCreateCIRGlobal(StringRef mangledName, mlir::Type ty,
11121112 }
11131113
11141114 mlir::Attribute cirAS =
1115- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (), langAS);
1115+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (), langAS);
11161116 if (entry) {
11171117 mlir::ptr::MemorySpaceAttrInterface entryCIRAS = entry.getAddrSpaceAttr ();
11181118 if (WeakRefReferences.erase (entry)) {
@@ -1169,7 +1169,7 @@ CIRGenModule::getOrCreateCIRGlobal(StringRef mangledName, mlir::Type ty,
11691169 }
11701170
11711171 mlir::ptr::MemorySpaceAttrInterface declCIRAS =
1172- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (),
1172+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (),
11731173 getGlobalVarAddressSpace (d));
11741174 // TODO(cir): do we need to strip pointer casts for Entry?
11751175
@@ -1776,7 +1776,7 @@ generateStringLiteral(mlir::Location loc, mlir::TypedAttr c,
17761776 cir::GlobalLinkageKind lt, CIRGenModule &cgm,
17771777 StringRef globalName, CharUnits alignment) {
17781778 mlir::ptr::MemorySpaceAttrInterface addrSpace =
1779- cir::toCIRLanguageAddressSpaceAttr (&cgm.getMLIRContext (),
1779+ cir::toCIRLangAddressSpaceAttr (&cgm.getMLIRContext (),
17801780 cgm.getGlobalConstantAddressSpace ());
17811781
17821782 // Create a global variable for this string
@@ -1991,7 +1991,7 @@ CIRGenModule::getAddrOfGlobalTemporary(const MaterializeTemporaryExpr *expr,
19911991 }
19921992 }
19931993 mlir::ptr::MemorySpaceAttrInterface targetAS =
1994- cir::toCIRLanguageAddressSpaceAttr (&getMLIRContext (), addrSpace);
1994+ cir::toCIRLangAddressSpaceAttr (&getMLIRContext (), addrSpace);
19951995
19961996 auto loc = getLoc (expr->getSourceRange ());
19971997 auto gv = createGlobalOp (*this , loc, name, type, isConstant, targetAS,
0 commit comments