1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/lib/Transforms
Teresa Johnson 01add29a48 [ICP] Don't promote when target not defined in module
This guards against cases where the symbol was dead code eliminated in
the binary by ThinLTO, and we have a sample profile collected for one
binary but used to optimize another.

Most of the benefit from ICP comes from inlining the target, which we
can't do with only a declaration anyway. If this is in the pre-ThinLTO
link step (e.g. for instrumentation based PGO), we will attempt the
promotion again in the ThinLTO backend after importing anyway, and we
don't need the early promotion to facilitate that.

Differential Revision: https://reviews.llvm.org/D92804
2020-12-08 07:45:36 -08:00
..
AggressiveInstCombine llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [Coroutines] Add DW_OP_deref for transformed dbg.value intrinsic. 2020-12-07 10:24:44 +08:00
Hello
HelloNew llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombine [InstCombine] Remove replacePointer (NFC) 2020-12-06 10:24:08 -08:00
Instrumentation [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
IPO [ConstraintElimination] Tweak placement in pipeline. 2020-12-07 19:08:40 +00:00
ObjCARC [NFC] Reduce include files dependency. 2020-12-03 18:25:05 +03:00
Scalar [LICM][docs] Document that LICM is also a canonicalization transform. NFC. 2020-12-08 11:56:35 +00:00
Utils [VNCoercion] Disallow coercion between different ni addrspaces 2020-12-07 20:19:48 -05:00
Vectorize [SLP] fix typo in debug string; NFC 2020-12-07 15:09:21 -05:00
CMakeLists.txt