[all-commits] [llvm/llvm-project] ecb50a: [MLIR][LLVM] Reject distinct generic metadata on i...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecb50ab04f9b11a71fb672e18060d557d9fa9343
      https://github.com/llvm/llvm-project/commit/ecb50ab04f9b11a71fb672e18060d557d9fa9343
  Author: Akimasa Watanuki <mencotton0410 at gmail.com>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/import-failure.ll

  Log Message:
  -----------
  [MLIR][LLVM] Reject distinct generic metadata on import (#212455)

Reject distinct nodes when converting generic LLVM metadata into LLVM
dialect attributes because `MDNodeAttr` cannot preserve node identity.
Apply the policy recursively so top-level and nested nodes use the
existing unsupported-metadata failure path while finite acyclic uniqued
nodes remain importable.



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