SuccessChanges

Summary

  1. [Object, llvm-readelf] - Move the API for retrieving symbol versions to ELF.h (details)
  2. [clang-format] Fix documentation of bcc1dee600 (details)
  3. [lldb][docs] Use inline literals for code/paths instead of rendering it with the default role (details)
  4. [X86][SSE] isHorizontalBinOp - reuse any existing horizontal ops. (details)
  5. [RISCV] Add scalable vector truncate patterns (details)
Commit b9ce772b8fb5d02afd026c9b029f5d53d1ea9591 by grimar
[Object, llvm-readelf] - Move the API for retrieving symbol versions to ELF.h

`ELFDumper.cpp` implements the functionality that allows to get symbol versions.
It is used for dumping versioned symbols.

This helps to implement https://bugs.llvm.org/show_bug.cgi?id=48670 ("make llvm-nm -D print version names"):
we can move out and reuse the code from `ELFDumper.cpp`.
This is what this patch do: it moves the related functionality to `ELFFile<ELFT>`.

Differential revision: https://reviews.llvm.org/D94771
The file was modifiedllvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
Commit b43075e34a598460fe1590d950862a26449e8d10 by bjoern
[clang-format] Fix documentation of bcc1dee600

That was an oversight.

Differential Revision: https://reviews.llvm.org/D93776
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
Commit 6e75ee6b65c1c9924c0c9c10b1cbd57f10fe127b by Raphael Isemann
[lldb][docs] Use inline literals for code/paths instead of rendering it with the default role

Right now we're using the 'content' role as default which will just render
these things as cursive (which isn't really useful for code examples). It also
prevents us from assigning a more useful default role in the future.
The file was modifiedlldb/bindings/interface/SBFile.i
The file was modifiedlldb/docs/man/lldb.rst
The file was modifiedlldb/docs/design/sbapi.rst
The file was modifiedlldb/bindings/interface/SBValue.i
The file was modifiedlldb/docs/design/reproducers.rst
The file was modifiedlldb/bindings/interface/SBFrame.i
The file was modifiedlldb/docs/resources/build.rst
The file was modifiedlldb/docs/resources/contributing.rst
Commit 770d1e0a8828010a7c95de4596e24d54ed2527c3 by llvm-dev
[X86][SSE] isHorizontalBinOp - reuse any existing horizontal ops.

If we already have similar horizontal ops using the same args, then match that, even if we are on a target with slow horizontal ops.
The file was modifiedllvm/test/CodeGen/X86/haddsub-shuf.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-undef.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ac603c8d3850ed0c715c421d79bb5cb014bb21de by fraser
[RISCV] Add scalable vector truncate patterns

Original patch by @rogfer01.

This patch supports vector truncates, which on RVV must be done in a
series of instructions truncating by one power-of-two at a time. This is
done through custom-lowering and a custom node to avoid LLVM
re-combining the split TRUNCATE nodes.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Fraser Cormack <fraser@codeplay.com>

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94796
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was addedllvm/test/CodeGen/RISCV/rvv/vtruncs-sdnode-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vtruncs-sdnode-rv64.ll