This patch stores the alignment for ConstantPoolSDNode as an
Align and updates the getConstantPool interface to take a MaybeAlign.
Removing getAlignment() will be done as a follow up.
Paths
| Differential D79436
[SelectionDAG] Use Align/MaybeAlign for ConstantPoolSDNode. ClosedPublic Authored by craig.topper on May 5 2020, 10:40 AM.
Details Summary This patch stores the alignment for ConstantPoolSDNode as an Removing getAlignment() will be done as a follow up.
Diff Detail
Event TimelineHerald added subscribers: luismarques, apazos, sameer.abuasal and 27 others. · View Herald Transcript craig.topper added a child revision: D79459: [SelectionDAG] Remove ConstantPoolSDNode::getAlignment..May 5 2020, 5:27 PM This revision is now accepted and ready to land.May 8 2020, 2:40 PM Closed by commit rGd1119980e524: [SelectionDAG] Use Align/MaybeAlign for ConstantPoolSDNode. (authored by craig.topper). · Explain WhyMay 8 2020, 4:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 262974 llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
llvm/lib/Target/Lanai/LanaiISelLowering.cpp
llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/Sparc/SparcISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/XCore/XCoreISelLowering.cpp
|