llvm-project/llvm/unittests/CodeGen
Philip Reames 487695e7c9 [SDAG] Treat DemandedElts argument to isSplatVector as splat for scalable vectors [nfc]
The previous code used a APInt(1, 0) to represent the demanded elts of a scalable vector, and then ignored that argument if type was scalable.  This was inconsistent with the UndefElts parameter which is set to either APInt(1, 0) or APInt(1,1) - that is, implicitly broadcast across all lanes.  Particularly since the undef code relied on the DemandedElts parameter having bitwidth 1 to achieve that result!

This change switches the demanded parameter to APInt(1,1), documents the broadcast semantics, and takes advantage of it to remove one special case for scalable vectors which is no longer required.
2022-10-11 09:49:28 -07:00
..
GlobalISel [GlobalISel] Add commutative matchers for compares. 2022-10-07 20:06:13 -07:00
AArch64SelectionDAGTest.cpp [SDAG] Treat DemandedElts argument to isSplatVector as splat for scalable vectors [nfc] 2022-10-11 09:49:28 -07:00
AMDGPUMetadataTest.cpp Cleanup includes: LLVMTarget 2022-03-10 10:00:29 +01:00
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
CMakeLists.txt [mlgo] Add in-development instruction based features for regalloc advisor 2022-09-17 19:54:45 +00:00
DIEHashTest.cpp [DWARF] Add linkagename to hash 2022-07-08 10:15:25 -07:00
DIETest.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DwarfStringPoolEntryRefTest.cpp [reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef. 2022-07-01 20:08:09 +03:00
InstrRefLDVTest.cpp [CodeGen][InstrRef] Remove unused variables from test case 2022-08-23 11:52:39 +01:00
LexicalScopesTest.cpp [Codegen][tablgen][NFC] Allow meta instruction to be target dependent 2022-03-18 13:09:01 +08:00
LowLevelTypeTest.cpp GlobalISel: Add LLT helper to multiply vector sizes 2022-04-19 21:04:32 -04:00
MFCommon.inc [unittests/CodeGen] Remove unique_ptr from the result of createTargetMachine 2022-08-16 22:06:50 +00:00
MLRegallocDevelopmentFeatures.cpp [MLGO] Add per-instruction MBB frequencies to regalloc dev features 2022-09-28 18:45:04 +00:00
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp [MachineInstrBuilder] Introduce MIMetadata to simplify metadata propagation 2022-09-07 11:22:50 +02:00
MachineOperandTest.cpp [unittests/CodeGen] Remove unique_ptr from the result of createTargetMachine 2022-08-16 22:06:50 +00:00
PassManagerTest.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
RegAllocScoreTest.cpp Fix MSVC "not all control paths return a value" warning. NFC. 2021-12-07 18:09:44 +00:00
ScalableVectorMVTsTest.cpp
SelectionDAGAddressAnalysisTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TargetOptionsTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.h [MC] Lower case the first letter of EmitCOFF* EmitWin* EmitCV*. NFC 2022-05-26 00:14:08 -07:00
TypeTraitsTest.cpp