1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +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
DIEHashTest.cpp
LexicalScopesTest.cpp
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
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