SuccessChanges

Summary

  1. [Cloning] Copy metadata of global declarations (details)
  2. [clang] Add powerpc64le-none-linux-gnu to gnu toolchain for PPC64 (details)
Commit 8dddcc762dd98d53b9406b36e92f62502834187c by ruiling.song
[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
The file was addedllvm/test/Other/copy-metadata-of-declaration.ll
The file was modifiedllvm/lib/Transforms/Utils/CloneModule.cpp
Commit 48baa7f5b11cbe6b00711864a19cd8b722f5940d by clementval
[clang] Add powerpc64le-none-linux-gnu to gnu toolchain for PPC64

While trying to compile clang and openmp with a freshly built clang with the gcc/7.4.0
toolchain on the Summit supercomputer I face some error because of the triple under which
the GCC toolchain is installed was not present in for PPC64LE triples.
This patch add the powerpc64le-none-linux-gnu used on system like Summit and Ascent.

Reviewed By: jdenny

Differential Revision: https://reviews.llvm.org/D94261
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp