1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/llvm-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
..
deltas [llvm-reduce] Create returns with undef values for non-void functions. 2020-08-31 16:33:46 +01:00
CMakeLists.txt [Reduce] Try turning function definitions into declarations first, NFCI-ish 2020-07-25 21:43:36 +03:00
DeltaManager.h [Reduce] Try turning function definitions into declarations first, NFCI-ish 2020-07-25 21:43:36 +03:00
llvm-reduce.cpp [llvm-reduce] make llvm-reduce save the best reduction it has when it crashes 2020-08-22 19:16:43 +02:00
LLVMBuild.txt Added Delta IR Reduction Tool 2019-08-08 22:16:33 +00:00
TestRunner.cpp llvm-reduce: Remove some string copies 2019-09-16 23:54:57 +00:00
TestRunner.h llvm-reduce: Remove some string copies 2019-09-16 23:54:57 +00:00