1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/LTO/X86
Yuanfang Chen f44fb33098 [LTO][MC] Discard non-prevailing defined symbols in module-level assembly
This is the alternative approach to D96931.

In LTO, for each module with inlineasm block, prepend directive ".lto_discard <sym>, <sym>*" to the beginning of the inline
asm.  ".lto_discard" is both a module inlineasm block marker and (optionally) provides a list of symbols to be discarded.

In MC while emitting for inlineasm, discard symbol binding & symbol
definitions according to ".lto_disard".

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D98762
2021-03-18 15:33:42 -07:00
..
Inputs
attrs.ll
bcsection.ll
cfi_endproc.ll
codemodel-1.ll
codemodel-2.ll
codemodel-3.ll
current-section.ll
diagnostic-handler-noexit.ll
diagnostic-handler-remarks-with-hotness.ll
diagnostic-handler-remarks.ll Recommit "[LTO] Use lto::backend for code generation." 2021-02-15 10:05:42 +00:00
disable-verify.ll Recommit "[LTO] Use lto::backend for code generation." 2021-02-15 10:05:42 +00:00
dllimport.ll
embed-bitcode.ll
inline-asm-lto-discard2.ll [LTO][MC] Discard non-prevailing defined symbols in module-level assembly 2021-03-18 15:33:42 -07:00
inline-asm-lto-discard.ll [LTO][MC] Discard non-prevailing defined symbols in module-level assembly 2021-03-18 15:33:42 -07:00
internalize.ll
invalid.ll
keep-used-puts-during-instcombine.ll
libcall-overridden-via-alias.ll
linkonce_odr_func.ll
list-dependent-libraries.ll
list-symbols.ll
lit.local.cfg
llvm-lto-output.ll
no-undefined-puts-when-implemented.ll
objc-arc-contract.ll
objc-detection-i386.ll
objc-detection.ll
parallel.ll [DCE] Don't remove non-willreturn calls 2021-02-19 12:35:40 +01:00
pr25919.ll
pr38046.ll
print-macho-cpu.ll
private-symbol.ll
remangle_intrinsics_tbaa.ll
remangle_intrinsics.ll
restore-externals.ll
runtime-library.ll
set-merged.ll
stdcall.ll
strip-debug-info-no-call-loc.ll
strip-debug-info.ll
symver-asm2.ll
symver-asm3.ll
symver-asm.ll
tailcallelim.ll
tli-nobuiltin.ll
triple-init2.ll
triple-init.ll
type-mapping-bug2.ll
type-mapping-bug3.ll
type-mapping-bug4.ll
type-mapping-bug.ll
unnamed.ll