[clang] [mlir] [mlir][llvm] Add tbaa_struct field attrs to the LLVM dialect (PR #238991)

Krzysztof Drewniak via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 18:52:37 PST 2026


================
@@ -401,9 +401,9 @@ mlir::LogicalResult CIRToLLVMCopyOpLowering::matchAndRewrite(
 
   rewriter.replaceOpWithNewOp<mlir::LLVM::MemcpyOp>(
       op, adaptor.getDst(), adaptor.getSrc(), length, op.getIsVolatile(),
-      /*access_groups=*/nullptr, /*alias_scopes=*/nullptr,
-      /*noalias_scopes=*/nullptr, /*tbaa=*/nullptr, /*arg_attrs=*/argAttrs,
-      /*res_attrs=*/nullptr);
+      /*tbaa_struct=*/nullptr, /*access_groups=*/nullptr,
----------------
krzysz00 wrote:

Can we put tbaa_struct next to tbaa?

https://github.com/llvm/llvm-project/pull/238991


More information about the cfe-commits mailing list