[all-commits] [llvm/llvm-project] 82d818: [MLIR][LLVM] Preserve unknown function metadata on...

Akimasa Watanuki via All-commits all-commits at lists.llvm.org
Sat Aug 1 06:46:10 PDT 2026


  Branch: refs/heads/users/Men-cotton/mlir/preserve-unknown-function-metadata-on-import
  Home:   https://github.com/llvm/llvm-project
  Commit: 82d818b02a9b3abdb0a402afab021e90ef64fff1
      https://github.com/llvm/llvm-project/commit/82d818b02a9b3abdb0a402afab021e90ef64fff1
  Author: mencotton <mencotton0410 at gmail.com>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    A mlir/test/Target/LLVMIR/Import/function-metadata.ll

  Log Message:
  -----------
  [MLIR][LLVM] Preserve unknown function metadata on import

Import representable non-debug function metadata without a kind-specific
dialect conversion into `LLVMFuncOp` `function_metadata`. Preserve repeated
metadata kinds through the generic carrier so LLVM IR import and export can
round-trip the supported generic metadata subset.

Warn and drop attachments outside that subset while continuing to import the
function.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list