llvm-project/llvm/test/tools/llvm-reduce
Fraser Cormack bb3f99cd85 [llvm-reduce] Fix crash when reducing integer vectors to 1
Integer vectors were previously ignored when reducing operands. When
6b8bd0f72 introduced support for reducing floating-point
scalars/vectors, the vector case was written to only handle
floating-point values. It would crash when creating an invalid
ConstantFP from the integer element type.

Instead of reinstating the old integer vector behaviour, we might as
well reduce integer vectors to all-one splats.

A couple of existing tests has also been renamed from "remove" to
"reduce" to better reflect the deltas they test.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D129629
2022-07-13 16:56:55 +01:00
..
Inputs [llvm-reduce] Add support for LTO bitcode files 2022-06-30 08:58:24 -07:00
mir in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
custom-delta-passes.ll
do-not-remove-terminator.ll
fail-file-open.test [llvm-reduce] Add support for LTO bitcode files 2022-06-30 08:58:24 -07:00
granularity-level.ll
help.test
invalid-bitcode-error.ll [llvm-reduce] Add support for LTO bitcode files 2022-06-30 08:58:24 -07:00
no-replace-intrinsic-callee-with-undef.ll
operands-skip.ll
operands-to-args-metadata.ll
operands-to-args.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
reduce-operands-fp.ll [llvm-reduce] Fix crash when reducing integer vectors to 1 2022-07-13 16:56:55 +01:00
reduce-operands-int.ll [llvm-reduce] Fix crash when reducing integer vectors to 1 2022-07-13 16:56:55 +01:00
reduce-operands.ll [llvm-reduce] Fix crash when reducing integer vectors to 1 2022-07-13 16:56:55 +01:00
remove-alias.ll
remove-all-of-multiple-args.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
remove-args-2.ll
remove-args-dbg-intrinsics.ll
remove-args-fn-passed-through-call.ll
remove-args-from-declaration.ll
remove-args-used-by-ret.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
remove-args.ll
remove-attributes-from-intrinsic-like-functions.ll
remove-attributes-from-intrinsics.ll
remove-bbs-comdat.ll
remove-bbs-entry.ll
remove-bbs-ret-nonvoid.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
remove-bbs-sequence.ll llvm-reduce: improve basic-blocks removal pass 2022-05-24 09:51:25 +02:00
remove-bbs-sequence.py llvm-reduce: improve basic-blocks removal pass 2022-05-24 09:51:25 +02:00
remove-bbs-unwinded-to.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
remove-bbs.ll
remove-call-site-attributes.ll
remove-dll.ll
remove-dso-local.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-align.ll
remove-global-variable-attributes.ll
remove-global-vars.ll stop llvm-reduce from introducing undefs 2022-06-22 20:41:23 -06:00
remove-instructions.ll
remove-invoked-functions.ll in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
remove-metadata-args.ll
remove-metadata.ll
remove-module-data.ll llvm-reduce: Don't delete triple/datalayout 2022-04-24 11:01:31 -04:00
remove-multiple-use-of-args-in-same-instruction.ll
remove-multiple-use-of-global-vars-in-same-instruction.ll
remove-operand-bundles.ll in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
remove-section.ll
remove-single-arg.ll
remove-thread-local.ll
remove-unnamed-addr.ll
remove-unused-declarations.ll
remove-visibility.ll
simplify-instructions.ll llvm-reduce: Add reduction pass to simplify instructions 2022-06-16 20:39:27 -04:00
temporary-files-as-bitcode-split.ll [llvm-reduce] Add support for LTO bitcode files 2022-06-30 08:58:24 -07:00
temporary-files-as-bitcode.ll