2017-01-24 01:59:00 +01:00
|
|
|
; RUN: opt -module-summary %s -o %t1.bc
|
2017-06-01 13:39:39 +02:00
|
|
|
; RUN: llvm-lto2 run %t1.bc -o %t.o \
|
2017-01-24 01:59:00 +01:00
|
|
|
; RUN: -r=%t1.bc,_tinkywinky,pxl \
|
[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
llvm-svn: 304492
2017-06-02 01:13:44 +02:00
|
|
|
; RUN: -use-new-pm
|
2017-01-24 01:59:00 +01:00
|
|
|
|
2019-09-11 01:15:38 +02:00
|
|
|
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
2017-01-24 01:59:00 +01:00
|
|
|
target triple = "x86_64-apple-macosx10.11.0"
|
|
|
|
|
|
|
|
define void @tinkywinky() {
|
|
|
|
ret void
|
|
|
|
}
|