[clang] [CIR] Add TBAA for vtable pointers, aggregate copies, atomics and complex (PR #247722)

Henrich Lauko via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 03:51:57 PST 2026


================
@@ -6018,12 +6037,17 @@ void ConvertCIRToLLVMPass::runOnOperation() {
   mlir::SymbolTableCollection symbolTables;
   LLVMAnnotationGlobals annotationGlobals(module);
   LLVMTBAALowering tbaaLowering(module);
+  if (auto errnoTag = module->getAttrOfType<cir::TBAATagAttr>(
----------------
xlauko wrote:

nit: Module attributes are lowered in `processCIRAttrs`. Could the errno tag move there, with `tbaaLowering` passed in?

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


More information about the cfe-commits mailing list