1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Reduce
Florian Hahn 2210d6cb66 [llvm-reduce] Add reduction for special globals like llvm.used.
This patch adds a reduction of 'special' globals that lead to further
reductions (e.g. alias or regular globals reduction) being less efficient
because there are special constraints on values referenced in those
special globals. For example, values in @llvm.used and
@llvm.compiler.used need to be named, so replacing all uses of an
alias/global with undef or a different unnamed constant results in
invalid IR.

More details:
https://llvm.org/docs/LangRef.html#intrinsic-global-variables

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D90302
2020-11-11 11:25:05 +00:00
..
Inputs
do-not-remove-terminator.ll
no-replace-intrinsic-callee-with-undef.ll
remove-alias.ll [llvm-reduce] Add reduction for special globals like llvm.used. 2020-11-11 11:25:05 +00:00
remove-all-of-multiple-args.ll
remove-args-2.ll
remove-args-from-declaration.ll
remove-args-used-by-ret.ll
remove-args.ll
remove-attributes-from-intrinsic-like-functions.ll
remove-attributes-from-intrinsics.ll
remove-bbs-ret-nonvoid.ll
remove-bbs-unwinded-to.ll
remove-bbs.ll
remove-call-site-attributes.ll
remove-funcs.ll
remove-function-arguments-of-funcs-used-in-blockaddress.ll
remove-function-attributes.ll
remove-function-bodies-comdat.ll
remove-function-bodies-used-in-globals.ll
remove-function-bodies.ll
remove-global-variable-attributes.ll
remove-global-vars.ll
remove-instructions.ll
remove-invoked-functions.ll
remove-metadata.ll
remove-multiple-use-of-args-in-same-instruction.ll
remove-multiple-use-of-global-vars-in-same-instruction.ll
remove-operand-bundles.ll
remove-single-arg.ll