[all-commits] [llvm/llvm-project] 8dddcc: [Cloning] Copy metadata of global declarations

Ruiling, Song via All-commits all-commits at lists.llvm.org
Thu Jan 7 16:31:25 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dddcc762dd98d53b9406b36e92f62502834187c
      https://github.com/llvm/llvm-project/commit/8dddcc762dd98d53b9406b36e92f62502834187c
  Author: Ruiling Song <ruiling.song at amd.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/CloneModule.cpp
    A llvm/test/Other/copy-metadata-of-declaration.ll

  Log Message:
  -----------
  [Cloning] Copy metadata of global declarations

We have modules with metadata on declarations, and out-of-tree passes
use that metadata, and we need to clone those modules. We really expect
such metadata is kept during the clone operation.

Reviewed by: arsenm, aprantl

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




More information about the All-commits mailing list