1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests/CodeGen
David Sherwood ab7fca3762 [CodeGen] Fix warnings due to SelectionDAG::getSplatSourceVector
Summary:
I have fixed several places in getSplatSourceVector and isSplatValue
to work correctly with scalable vectors. I added new support for
the ISD::SPLAT_VECTOR DAG node as one of the obvious cases we can
support with scalable vectors. In other places I have tried to do
the sensible thing, such as bail out for vector types we don't yet
support or don't intend to support.

It's not possible to add IR test cases to cover these changes, since
they are currently only ever exercised on certain targets, e.g.
only X86 targets use the result of getSplatSourceVector. I've
assumed that X86 tests already exist to test these code paths for
fixed vectors. However, I have added some AArch64 unit tests that
test the specific functions I have changed.

Differential revision: https://reviews.llvm.org/D79083
2020-05-05 08:45:41 +01:00
..
GlobalISel [GlobalISel][AMDGPU] add legalization for G_FREEZE 2020-04-17 16:44:46 +02:00
AArch64SelectionDAGTest.cpp [CodeGen] Fix warnings due to SelectionDAG::getSplatSourceVector 2020-05-05 08:45:41 +01:00
CMakeLists.txt [DebugInfo] Re-implement LexicalScopes dominance method, add unit tests 2020-02-28 11:41:28 +00:00
DIEHashTest.cpp
LexicalScopesTest.cpp [DebugInfo] Re-implement LexicalScopes dominance method, add unit tests 2020-02-28 11:41:28 +00:00
LowLevelTypeTest.cpp GlobalISel: Fix casted unmerge of G_CONCAT_VECTORS 2020-04-13 22:03:05 -04:00
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp unittest: Disable MachineInstrClone.CopyCallSiteInfo entirely 2020-04-08 12:16:22 -07:00
MachineOperandTest.cpp Revert "Revert "[MIR] Target specific MIR formating and parsing"" 2020-01-08 20:03:29 -08:00
MFCommon.inc MachineFunction: Copy call site info when duplicating insts 2020-04-08 11:06:14 -07:00
ScalableVectorMVTsTest.cpp [SVE] Remove calls to isScalable from CodeGen 2020-04-23 12:58:52 -07:00
TargetOptionsTest.cpp
TypeTraitsTest.cpp