1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +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 llvm-reduce: Test reduction for D88684 ( ee6e25e4391a6d3ac0a3c89615474e512f44cda6 ) 2020-10-26 13:16:00 -07:00
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 [IR] Make nosync, nofree and willreturn default for intrinsics. 2020-10-20 11:57:19 +02:00
remove-bbs-ret-nonvoid.ll [llvm-reduce] Create returns with undef values for non-void functions. 2020-08-31 16:33:46 +01:00
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 [llvm-reduce] Function body reduction: don't forget to unset comdat 2020-08-30 12:17:33 +02:00
remove-function-bodies-used-in-globals.ll [llvm-reduce] Skip chunks that lead to broken modules. 2020-08-28 09:08:35 +01:00
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