llvm-project/llvm/lib/CodeGen/SelectionDAG
David Truby 9a976f3661 [llvm] Always use TargetConstant for FP_ROUND ISD Nodes
This patch ensures consistency in the construction of FP_ROUND nodes
such that they always use ISD::TargetConstant instead of ISD::Constant.

This additionally fixes a bug in the AArch64 SVE backend where patterns
were matching against TargetConstant nodes and sometimes failing when
passed a Constant node.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D130370
2022-08-03 14:02:11 +01:00
..
CMakeLists.txt
DAGCombiner.cpp [llvm] Always use TargetConstant for FP_ROUND ISD Nodes 2022-08-03 14:02:11 +01:00
FastISel.cpp [FastISel] Fix load folding for registers with fixups 2022-05-16 10:25:25 +02:00
FunctionLoweringInfo.cpp [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
InstrEmitter.cpp [SelectionDAG] Don't apply MinRCSize constraint in InstrEmitter::AddRegisterOperand for IMPLICIT_DEF sources. 2022-06-16 14:55:14 -07:00
InstrEmitter.h [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes 2022-04-06 11:55:38 +01:00
LegalizeDAG.cpp [llvm] Always use TargetConstant for FP_ROUND ISD Nodes 2022-08-03 14:02:11 +01:00
LegalizeFloatTypes.cpp [llvm] Always use TargetConstant for FP_ROUND ISD Nodes 2022-08-03 14:02:11 +01:00
LegalizeIntegerTypes.cpp [VP] Rename VP int<->float conversion ISD opcodes 2022-08-03 10:04:38 +01:00
LegalizeTypes.cpp [LegalizeTypes] Fix bug in expensive checks verification 2022-05-26 13:13:32 -07:00
LegalizeTypes.h [VP] Legalize the stride operand for EXPERIMENTAL_VP_STRIDED SDNodes 2022-07-20 10:22:43 +02:00
LegalizeTypesGeneric.cpp
LegalizeVectorOps.cpp [llvm] Always use TargetConstant for FP_ROUND ISD Nodes 2022-08-03 14:02:11 +01:00
LegalizeVectorTypes.cpp [VP] Rename VP int<->float conversion ISD opcodes 2022-08-03 10:04:38 +01:00
ResourcePriorityQueue.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
SDNodeDbgValue.h Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
ScheduleDAGFast.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
ScheduleDAGRRList.cpp [AMDGPU] Check for CopyToReg PhysReg clobbers in pre-RA-sched 2022-06-30 09:18:04 -07:00
ScheduleDAGSDNodes.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00
ScheduleDAGSDNodes.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
ScheduleDAGVLIW.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
SelectionDAG.cpp [llvm] Always use TargetConstant for FP_ROUND ISD Nodes 2022-08-03 14:02:11 +01:00
SelectionDAGAddressAnalysis.cpp [llvm] Don't use Optional::hasValue (NFC) 2022-06-20 10:38:12 -07:00
SelectionDAGBuilder.cpp Introduce @llvm.threadlocal.address intrinsic to access TLS variable 2022-08-01 10:51:30 +08:00
SelectionDAGBuilder.h Remove redundaunt virtual specifiers (NFC) 2022-07-25 23:00:59 -07:00
SelectionDAGDumper.cpp [stackmaps] Legalise patchpoint arguments. 2022-07-15 12:01:59 +01:00
SelectionDAGISel.cpp Use has_value/value instead of hasValue/getValue (NFC) 2022-07-15 21:48:17 -07:00
SelectionDAGPrinter.cpp Revert "[CodeGen] Place SDNode debug ID declaration under appropriate #if" 2022-04-06 20:32:53 +03:00
SelectionDAGTargetInfo.cpp
StatepointLowering.cpp [SDAG] Fix release build 2022-07-18 14:10:31 +02:00
StatepointLowering.h
TargetLowering.cpp [DAG] Pull out repeated getOperand() calls for shuffle ops. NFC. 2022-07-30 14:02:54 +01:00