@@ -170,7 +170,7 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
170170 /* alignment=*/ intAttr,
171171 /* mem_order=*/
172172 cir::MemOrderAttr{},
173- /* tbaa=*/ mlir::ArrayAttr {});
173+ /* tbaa=*/ cir::TBAAAttr {});
174174 }
175175
176176 mlir::Value createAlignedLoad (mlir::Location loc, mlir::Value ptr,
@@ -357,7 +357,7 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
357357 val.getType ())
358358 dst = createPtrBitcast (dst, val.getType ());
359359 return create<cir::StoreOp>(loc, val, dst, _volatile, align, order,
360- /* tbaa=*/ mlir::ArrayAttr {});
360+ /* tbaa=*/ cir::TBAAAttr {});
361361 }
362362
363363 mlir::Value createAlloca (mlir::Location loc, cir::PointerType addrType,
@@ -405,7 +405,7 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
405405 cir::CopyOp createCopy (mlir::Value dst, mlir::Value src,
406406 bool isVolatile = false ) {
407407 return create<cir::CopyOp>(dst.getLoc (), dst, src, isVolatile,
408- /* tbaa=*/ mlir::ArrayAttr {});
408+ /* tbaa=*/ cir::TBAAAttr {});
409409 }
410410
411411 cir::MemCpyOp createMemCpy (mlir::Location loc, mlir::Value dst,
0 commit comments