diff options
author | Tim Shen <timshen91@gmail.com> | 2017-06-01 23:27:51 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2017-06-01 23:27:51 +0000 |
commit | 50fedec1479f63a325eeb071916375597ba198c6 (patch) | |
tree | f492b8b6f08563ec86bc1e3be084f703115e6a33 /clang/test/CodeGen/thin_link_bitcode.c | |
parent | 7ea692373cb40b8d67d66964376987ac67b5269d (diff) | |
download | bcm5719-llvm-50fedec1479f63a325eeb071916375597ba198c6.tar.gz bcm5719-llvm-50fedec1479f63a325eeb071916375597ba198c6.zip |
[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
llvm-svn: 304496
Diffstat (limited to 'clang/test/CodeGen/thin_link_bitcode.c')
-rw-r--r-- | clang/test/CodeGen/thin_link_bitcode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/thin_link_bitcode.c b/clang/test/CodeGen/thin_link_bitcode.c index 4cb5f798a56..b97c203b0e2 100644 --- a/clang/test/CodeGen/thin_link_bitcode.c +++ b/clang/test/CodeGen/thin_link_bitcode.c @@ -1,6 +1,9 @@ // RUN: %clang_cc1 -o %t -flto=thin -fthin-link-bitcode=%t.nodebug -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=limited %s // RUN: llvm-bcanalyzer -dump %t | FileCheck %s // RUN: llvm-bcanalyzer -dump %t.nodebug | FileCheck %s --check-prefix=NO_DEBUG +// RUN: %clang_cc1 -o %t.newpm -flto=thin -fexperimental-new-pass-manager -fthin-link-bitcode=%t.newpm.nodebug -triple x86_64-unknown-linux-gnu -emit-llvm-bc -debug-info-kind=limited %s +// RUN: llvm-bcanalyzer -dump %t.newpm | FileCheck %s +// RUN: llvm-bcanalyzer -dump %t.newpm.nodebug | FileCheck %s --check-prefix=NO_DEBUG int main (void) { return 0; } |