https://github.com/c-rhodes commented: the attributes also need adding to `mlir/lib/Target/LLVMIR/ModuleTranslation.cpp` with corresponding tests in `mlir/test/Target/LLVMIR/llvmir.mlir` https://github.com/llvm/llvm-project/pull/77361