diff options
author | Tim Shen <timshen91@gmail.com> | 2017-06-01 23:13:44 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2017-06-01 23:13:44 +0000 |
commit | a950eb976c78dacfe647f115b637a041044639d1 (patch) | |
tree | 577093d5693585da6a7f3b78d55196d87454ae14 /test/ThinLTO/X86 | |
parent | 9cd1e1f867dc0241c5bc241e1e09bf6bb7a6c2e6 (diff) |
[ThinLTO] Move -lto-use-new-pm to llvm-lto2, and change it to -use-new-pm.
Summary:
As we teach Clang to use ThinkLTO + new PM, it's good for the users to
inject through Config, instead of setting a flag in the LTOBackend
library. Move the flag to llvm-lto2.
As it moves to llvm-lto2, a new name -use-new-pm seems simpler and as
clear.
Reviewers: davide, tejohnson
Subscribers: mehdi_amini, Prazek, inglorion, eraman, chandlerc, llvm-commits
Differential Revision: https://reviews.llvm.org/D33799
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ThinLTO/X86')
-rw-r--r-- | test/ThinLTO/X86/newpm-basic.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ThinLTO/X86/newpm-basic.ll b/test/ThinLTO/X86/newpm-basic.ll index d357cbc85d0..bfcc60c6807 100644 --- a/test/ThinLTO/X86/newpm-basic.ll +++ b/test/ThinLTO/X86/newpm-basic.ll @@ -1,7 +1,7 @@ ; RUN: opt -module-summary %s -o %t1.bc ; RUN: llvm-lto2 run %t1.bc -o %t.o \ ; RUN: -r=%t1.bc,_tinkywinky,pxl \ -; RUN: -lto-use-new-pm +; RUN: -use-new-pm target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" |