[ThinLTO] Wire up ThinLTO and new PM
authorTim Shen <timshen91@gmail.com>
Thu, 1 Jun 2017 23:27:51 +0000 (23:27 +0000)
committerTim Shen <timshen91@gmail.com>
Thu, 1 Jun 2017 23:27:51 +0000 (23:27 +0000)
commit12e8e177d0df9b1044915326c201457e842b5981
treed1308de4fc3d7766c165a1fe76cdc03f02b453c9
parentd751aefbc7a20288d1dc15930d99dbaa0a45154a
[ThinLTO] Wire up ThinLTO and new PM

Summary: This patch teaches clang to use and propagate new PM in ThinLTO.

Reviewers: davide, chandlerc, tejohnson

Subscribers: mehdi_amini, Prazek, inglorion, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BackendUtil.cpp
test/CodeGen/thin_link_bitcode.c