llvm-project/llvm/unittests
Petar Avramovic 29f88b93fd [GlobalISel] Rework more/fewer elements for vectors
Artifact combiner is not able to access individual elements after using
LCMTy style merge/unmerge, extract and insert to change vector number of
elements (pad with undef or split to sub-vector instructions).
Use unmerge to individual elements instead and then merge elements into
requested types.
Change argument lowering for vectors and moreElementsVector to use
buildPadVectorWithUndefElements and buildDeleteTrailingVectorElements.
FewerElementsVector had a few helpers that had different behavior,
introduce new helper for most of the opcodes.
FewerElementsVector helper is more flexible since it can create leftover
instruction smaller then requested type (useful in case target wants to
avoid pad with undef and use fewer registers). If target does not want
leftover of different type it should call more elements first.
Some helpers were performing more elements first to have split without
leftover. Opcodes that used this helper use clampMaxNumElementsStrict
(does more elements first) in LegalizerInfo to avoid test changes.
Fixes failures caused by failing to combine artifacts created during
more/fewer elements vector.

Differential Revision: https://reviews.llvm.org/D114198
2021-12-23 14:30:02 +01:00
..
ADT [ADT] Add new type traits for type pack indexes 2021-12-15 19:25:14 +00:00
Analysis [Analysis] fix cast in ValueTracking to allow constant expression 2021-12-20 17:16:47 -05:00
AsmParser
BinaryFormat [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
Bitcode [AMDGPU] Set the default globals address space to 1 2020-11-20 15:46:53 +00:00
Bitstream PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
CodeGen [GlobalISel] Rework more/fewer elements for vectors 2021-12-23 14:30:02 +01:00
DebugInfo [unittest][DebugInfo/DWARF] Do not report skipped tests as passed 2021-12-22 18:52:49 +07:00
Debuginfod [Debuginfod] Fix debuginfod unit test when $HOME is not writable. 2021-12-15 22:13:13 +00:00
Demangle [Demangle] Add support for D function-local parent symbols 2021-12-07 01:46:13 +00:00
ExecutionEngine [ORC] Add a MaterializationUnit::Interface struct. 2021-12-08 13:41:15 +11:00
FileCheck Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Frontend [mlir][OpenMP] omp.sections and omp.section lowering to LLVM IR 2021-12-15 15:41:12 +05:30
FuzzMutate [FuzzMutate] Add mutator to modify instruction flags. 2021-01-23 19:05:20 +00:00
IR [LangRef] Remove incorrect vector alignment rules 2021-12-14 14:35:40 +00:00
InterfaceStub [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
LineEditor
Linker [RGT] Recode more unreachable assertions and tautologies 2021-03-19 09:17:22 -07:00
MC Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MI Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MIR [MachineVerifier] Make TiedOpsRewritten computable in MIRParser 2021-12-07 02:25:15 +00:00
Object [VE] Support R_VE_RELATIVE 2021-12-13 20:28:35 +09:00
ObjectYAML Add -Wno-error=unknown flag to clang-format. 2020-09-19 10:17:57 +02:00
Option [OptTable] Reapply Improve error message output for grouped short options 2021-09-03 11:13:52 +01:00
Passes [AIX] Enable rtl for plugins test 2021-10-22 12:08:22 -04:00
ProfileData Coverage: Fix iterated type for LineCoverageIterator 2021-11-16 14:39:30 -08:00
Remarks
Support Silence warning with MSVC2019 2021-12-20 14:57:32 -05:00
TableGen Make TableGenGlobalISel an object library 2021-06-05 15:04:33 +02:00
Target [AArch64] Always add -tune-cpu argument to -cc1 driver 2021-10-19 14:57:51 +01:00
TextAPI [llvm][TextAPI] add mapping from OS string to Platform 2021-05-06 16:25:56 -07:00
Transforms [VPlan] Add InductionDescriptor to VPWidenIntOrFpInduction. (NFC) 2021-12-10 09:55:09 +00:00
XRay Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
tools [X86] Update RET/LRET instruction to use the same naming convention as IRET (PR36876). NFC 2021-11-07 15:06:54 +00:00
CMakeLists.txt [llvm] [Debuginfo] Debuginfod client library. 2021-12-06 21:52:38 +00:00
unittest.cfg.in