1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Reduce
Roman Lebedev 2f56715ea7 [Reduce] Rewrite function body delta pass again
It is not enough to replace all uses of users of the function with undef,
the users, we only drop instruction users, so they may stick around.

Let's try different approach - first drop bodies for all the functions
we will drop, which should take care of blockaddress issue the previous
rewrite was dealing with; then, after dropping *all* such bodies,
replace remaining uses with undef (thus all the uses are either
outside of functions, or are in kept functions)
and then finally drop functions.

This seems to work, and passes the *existing* test coverage,
but it is possible that a new issue will be discovered later :)

A new (previously crashing) test added.
2020-08-08 23:48:44 +03:00
..
Inputs [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03: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-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 [NFC][Reduce] Rewrite remove-funcs.ll to use FileCheck, make it less fragile 2020-07-22 16:11:56 +03: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-used-in-globals.ll [Reduce] Rewrite function body delta pass again 2020-08-08 23:48:44 +03: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
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