1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/lib/CodeGen/SelectionDAG
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
..
CMakeLists.txt
DAGCombiner.cpp Revert rG8e05ac0a510c - "[DAGCombine] visitTRUNCATE - remove GetDemandedBits call" 2020-05-02 20:08:33 +01:00
FastISel.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
FunctionLoweringInfo.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
InstrEmitter.cpp InstrEmitter.h - reduce SelectionDAG.h include to SelectionDAGNodes.h include. 2020-04-19 11:52:31 +01:00
InstrEmitter.h InstrEmitter.h - reduce SelectionDAG.h include to SelectionDAGNodes.h include. 2020-04-19 11:52:31 +01:00
LegalizeDAG.cpp [SelectionDAG] Fix usage of Align constructing MachineMemOperands. 2020-04-15 13:01:41 -07:00
LegalizeFloatTypes.cpp [CodeGen] Support freeze expand for ppc_fp128 2020-04-20 07:27:41 +00:00
LegalizeIntegerTypes.cpp [SelectionDAG] Fix usage of Align constructing MachineMemOperands. 2020-04-15 13:01:41 -07:00
LegalizeTypes.cpp reland: [DAG] Fix PR45049: LegalizeTypes crash 2020-04-12 09:52:17 -06:00
LegalizeTypes.h [CodeGen] Support freeze expand for ppc_fp128 2020-04-20 07:27:41 +00:00
LegalizeTypesGeneric.cpp [SelectionDAG] Fix usage of Align constructing MachineMemOperands. 2020-04-15 13:01:41 -07:00
LegalizeVectorOps.cpp [SelectionDAG] Unify scalarizeVectorLoad and VectorLegalizer::ExpandLoad 2020-05-02 15:18:10 -07:00
LegalizeVectorTypes.cpp [llvm] [CodeGen] Fixed vector halving bug for masked load 2020-04-23 15:12:44 -07:00
LLVMBuild.txt
ResourcePriorityQueue.cpp
ScheduleDAGFast.cpp DAG: Use Register 2020-04-08 13:44:31 -04:00
ScheduleDAGRRList.cpp
ScheduleDAGSDNodes.cpp Provide operand indices to adjustSchedDependency 2020-04-17 11:08:44 +01:00
ScheduleDAGSDNodes.h DAG: Use Register 2020-04-08 13:44:31 -04:00
ScheduleDAGVLIW.cpp
SDNodeDbgValue.h
SelectionDAG.cpp [CodeGen] Fix warnings due to SelectionDAG::getSplatSourceVector 2020-05-05 08:45:41 +01:00
SelectionDAGAddressAnalysis.cpp
SelectionDAGBuilder.cpp [SelectionDAGBuilder] Stop setting alignment to one for hidden sret values 2020-05-04 14:44:39 +01:00
SelectionDAGBuilder.h SelectionDAGBuilder.h - remove unused includes + forward declarations. NFC. 2020-04-19 12:38:41 +01:00
SelectionDAGDumper.cpp [X86] Move combineLoopMAddPattern and combineLoopSADPattern to an IR pass before SelecitonDAG. 2020-03-26 14:10:20 -07:00
SelectionDAGISel.cpp DAG: Use Register 2020-04-08 13:44:31 -04:00
SelectionDAGPrinter.cpp
SelectionDAGTargetInfo.cpp
StatepointLowering.cpp ProfileSummaryInfo.h - remove unnecessary includes. NFC 2020-04-10 16:25:48 +01:00
StatepointLowering.h
TargetLowering.cpp [SelectionDAG] Unify scalarizeVectorLoad and VectorLegalizer::ExpandLoad 2020-05-02 15:18:10 -07:00