mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
a2a8575704
down to pass builder in ltobackend. Currently CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP in clang are not passed down to pass builder in ltobackend when new pass manager is used. This is inconsistent with the behavior when new pass manager is used and thinlto is not used. Such inconsistency causes slp vectorization pass not being enabled in ltobackend for O3 + thinlto right now. This patch fixes that. Differential Revision: https://reviews.llvm.org/D72386
23 lines
258 B
CMake
23 lines
258 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmParsers
|
|
AllTargetsCodeGens
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
BitReader
|
|
Core
|
|
Linker
|
|
LTO
|
|
MC
|
|
Object
|
|
Passes
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_tool(llvm-lto2
|
|
llvm-lto2.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|