1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02: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 [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03:00
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 [Reduce] Rewrite runDeltaPass() workloop: do reduce a single and/or last target 2020-07-23 10:51:46 +03:00
remove-args-2.ll [NFC] Use FileCheck for llvm-reduce interesness test 2020-07-21 09:03:45 +01:00
remove-args-from-declaration.ll [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03:00
remove-args-used-by-ret.ll [Reduce] Argument reduction: don't try to drop terminator instructions 2020-07-21 00:06:03 +03:00
remove-args.ll Remove unnecessary 'rm' in llvm-reduce tests 2020-07-09 10:49:11 -07:00
remove-attributes-from-intrinsic-like-functions.ll [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
remove-attributes-from-intrinsics.ll [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03: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 [Reduce] Basic block reduction: do properly handle invoke insts (PR46818) 2020-07-26 01:28:59 +03:00
remove-bbs.ll
remove-call-site-attributes.ll [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
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 [Reduce] Argument reduction: shoe-horn new function into remaining uses of old function 2020-07-27 15:39:03 +03:00
remove-function-attributes.ll [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
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 [Reduce] Try turning function definitions into declarations first, NFCI-ish 2020-07-25 21:43:36 +03:00
remove-global-variable-attributes.ll [llvm-reduce] Reducing attributes 2020-07-09 23:10:43 +03:00
remove-global-vars.ll Remove unnecessary 'rm' in llvm-reduce tests 2020-07-09 10:49:11 -07:00
remove-instructions.ll [llvm-reduce] Skip terminators when reducing instructions. 2020-08-23 17:20:34 +01:00
remove-invoked-functions.ll [Reduce] Argument reduction: shoe-horn new function into remaining uses of old function 2020-07-27 15:39:03 +03:00
remove-metadata.ll Remove unnecessary 'rm' in llvm-reduce tests 2020-07-09 10:49:11 -07:00
remove-multiple-use-of-args-in-same-instruction.ll [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03:00
remove-multiple-use-of-global-vars-in-same-instruction.ll [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03:00
remove-operand-bundles.ll Remove unnecessary 'rm' in llvm-reduce tests 2020-07-09 10:49:11 -07:00
remove-single-arg.ll [Reduce] Rewrite runDeltaPass() workloop: do reduce a single and/or last target 2020-07-23 10:51:46 +03:00