mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
102583c8b4
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 |
||
---|---|---|
.. | ||
Inputs | ||
do-not-remove-terminator.ll | ||
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 | ||
remove-bbs-unwinded-to.ll | ||
remove-bbs.ll | ||
remove-call-site-attributes.ll | ||
remove-funcs.ll | ||
remove-function-arguments-of-funcs-used-in-blockaddress.ll | ||
remove-function-attributes.ll | ||
remove-function-bodies-comdat.ll | ||
remove-function-bodies-used-in-globals.ll | ||
remove-function-bodies.ll | ||
remove-global-variable-attributes.ll | ||
remove-global-vars.ll | ||
remove-instructions.ll | ||
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 |