1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/Reduce
Florian Hahn 102583c8b4 [llvm-reduce] Create returns with undef values for non-void functions.
Currently replaceBranchTerminator/removeUninterestingBBsFromSwitch
always creates `ret void` instructions if no successor is in the chunk.

This results in invalid IR for functions with non-void return types,
which makes those reductions unfeasible. Instead, create `ret ty undef`
for functions with non-void return types.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D86849
2020-08-31 16:33:46 +01:00
..
Inputs
do-not-remove-terminator.ll [llvm-reduce] Skip terminators when reducing instructions. 2020-08-23 17:20:34 +01: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 [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 [llvm-reduce] Skip terminators when reducing instructions. 2020-08-23 17:20:34 +01:00
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 [llvm-reduce] Skip terminators when reducing instructions. 2020-08-23 17:20:34 +01:00
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