llvm-project/llvm/test/Reduce/Inputs
Roman Lebedev 96d74530c0
[Reduce] Argument reduction: do deal with function declarations
We can happily turn function definitions into declarations,
thus obscuring their argument from being elided by this pass.

I don't believe there is a good reason to just ignore declarations.
likely even proper llvm intrinsics ones,
at worst the input becomes uninteresting.

The other question here is that all these transforms are all-or-nothing.
In some cases, should we be treating each use separately?

The main blocker here seemed to be that llvm::CloneFunctionInto()
does `&OldFunc->front()`, which inserts a nullptr into a densemap,
which is not happy about it and asserts.
2020-07-26 01:31:56 +03:00
..
remove-args.py Reapply llvm-reduce: Add pass to reduce parameters"" 2019-09-12 01:20:48 +00:00
remove-bbs.py llvm-reduce: Add pass to reduce instructions 2019-09-19 00:59:27 +00:00
remove-global-vars.py llvm-reduce: Add pass to reduce instructions 2019-09-19 00:59:27 +00:00
remove-instructions.py [Testing] Python 3 requires `print` to use parens 2019-09-20 13:52:47 +00:00
remove-metadata.py llvm-reduce: Add pass to reduce Metadata 2019-09-10 22:09:58 +00:00