[all-commits] [llvm/llvm-project] be0ef4: [IRLinker] Fix mapping of declaration metadata

Carl Ritson via All-commits all-commits at lists.llvm.org
Tue Mar 7 23:17:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0ef4b95d947a324aaf58373691723a0307822b
      https://github.com/llvm/llvm-project/commit/be0ef4b95d947a324aaf58373691723a0307822b
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ValueMapper.h
    M llvm/lib/Linker/IRMover.cpp
    M llvm/lib/Transforms/Utils/ValueMapper.cpp
    M llvm/test/Linker/Inputs/metadata-function.ll
    M llvm/test/Linker/metadata-function.ll

  Log Message:
  -----------
  [IRLinker] Fix mapping of declaration metadata

Ensure metadata for declarations copied during materialization
is properly mapped if declarations do not become definitions.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D145318




More information about the All-commits mailing list