mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
a950eb976c
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
12 lines
290 B
LLVM
12 lines
290 B
LLVM
; RUN: opt -module-summary %s -o %t1.bc
|
|
; RUN: llvm-lto2 run %t1.bc -o %t.o \
|
|
; RUN: -r=%t1.bc,_tinkywinky,pxl \
|
|
; 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"
|
|
|
|
define void @tinkywinky() {
|
|
ret void
|
|
}
|