SuccessChanges

Summary

  1. [CMake] Split the target side of runtimes build (details)
  2. [DAGCombiner] Replace static helper function isConstantFPBuildVectorOrConstantFP with the identical version in SelectionDAG. NFC (details)
  3. [ELF] Drop .rel[a].debug_gnu_pub{names,types} for --gdb-index --emit-relocs (details)
Commit b688c5875d08c586f7b35b8f9da1493ebbf92b45 by phosek
[CMake] Split the target side of runtimes build

Previously, llvm/runtimes/CMakeLists.txt played two different roles:
1. host side which could used  to set up the build of runtimes for
   different targets in the right order;
2. target side to build the runtimes for the specified target.

This change splits llvm/runtimes/CMakeLists.txt and moves the target
side to runtimes/CMakeLists laying down the foundation for the "A vision
for building the runtimes" proposal. From the user perspective, there
shouldn't be any visible difference at the moment.

Differential Revision: https://reviews.llvm.org/D93408
The file was addedruntimes/CMakeLists.txt
The file was removedllvm/runtimes/Components.cmake.in
The file was addedruntimes/Components.cmake.in
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit df74c001fa5bd4874d0d88724e6cf726ed552904 by craig.topper
[DAGCombiner] Replace static helper function isConstantFPBuildVectorOrConstantFP with the identical version in SelectionDAG. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 93ad0edf674125f19177054d8331a5e8910d3d98 by i
[ELF] Drop .rel[a].debug_gnu_pub{names,types} for --gdb-index --emit-relocs

Fixes PR48693: --emit-relocs keeps relocation sections. --gdb-index drops
.debug_gnu_pubnames and .debug_gnu_pubtypes but not their relocation sections.
This can cause a null pointer dereference in `getOutputSectionName`.

Also delete debug-gnu-pubnames.s which is covered by gdb-index.s

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D94354
The file was modifiedlld/test/ELF/gdb-index.s
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was removedlld/test/ELF/debug-gnu-pubnames.s