Changes

Summary

  1. [Docs] Fix a link (details)
  2. [llvm] [Debuginfo] Debuginfod client library. (details)
  3. Revert "[llvm] [Debuginfo] Debuginfod client library." (details)
  4. [CSKY] Add compressed instruction mapping between 32-bit and 16-bit instruction (details)
  5. [clang-format] Adjust braced list detection (details)
  6. [mlir][linalg] Pad independent of application order (NFC). (details)
  7. [mlir][Vector] Support 0-D vectors in `ConstantMaskOp` (details)
  8. [llvm-c] Add header deprecations (details)
Commit b1eb6a3589082c1538cde8030db07cae2912e2e7 by shivam98.tkg
[Docs] Fix a link

current link is pointing to https://llvm.org/docs/CodeGenerator.html#segmented-stacks while it point to https://llvm.org/docs/CodeGenerator.html#tail-call-optimization or id81.

Differential Revision: https://reviews.llvm.org/D115119
The file was modifiedllvm/docs/LangRef.rst
Commit af69947e7028274573cfc927aabead8326b63367 by shutty
[llvm] [Debuginfo] Debuginfod client library.

This adds a Debuginfod library containing the `fetchDebuginfo` function which queries servers specified by the `DEBUGINFOD_URLS` environment variable for the debuginfo, executable, or a specified source file associated with a given build id.

This diff was split out from D111252.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D112758
The file was modifiedllvm/lib/CMakeLists.txt
The file was addedllvm/unittests/Debuginfod/DebuginfodTests.cpp
The file was modifiedllvm/unittests/CMakeLists.txt
The file was addedllvm/unittests/Debuginfod/CMakeLists.txt
The file was addedllvm/include/llvm/Debuginfod/Debuginfod.h
The file was modifiedllvm/include/llvm/Support/Caching.h
The file was addedllvm/lib/Debuginfod/CMakeLists.txt
The file was addedllvm/lib/Debuginfod/Debuginfod.cpp
Commit b5bb05d355157860c0fea07461f316d235d55eed by shutty
Revert "[llvm] [Debuginfo] Debuginfod client library."

This reverts commit af69947e7028274573cfc927aabead8326b63367 because it
caused buildbot failures.
The file was modifiedllvm/unittests/CMakeLists.txt
The file was removedllvm/unittests/Debuginfod/CMakeLists.txt
The file was modifiedllvm/include/llvm/Support/Caching.h
The file was removedllvm/unittests/Debuginfod/DebuginfodTests.cpp
The file was removedllvm/lib/Debuginfod/CMakeLists.txt
The file was removedllvm/lib/Debuginfod/Debuginfod.cpp
The file was modifiedllvm/lib/CMakeLists.txt
The file was removedllvm/include/llvm/Debuginfod/Debuginfod.h
Commit bdd7c53dc5e0fc3c3fde408df2fd187b11bb8330 by zixuan.wu
[CSKY] Add compressed instruction mapping between 32-bit and 16-bit instruction

Add all CompressPat to map instructions between 16-bit and 32-bit with using the CompressInstEmitter infra.
Although it's only used in asm printer, also enable it in asm parser to debug mapping when -enable-csky-asm-compressed-inst is on.

Differential Revision: https://reviews.llvm.org/D115026
The file was modifiedllvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
The file was modifiedllvm/lib/Target/CSKY/CSKYRegisterInfo.td
The file was modifiedllvm/lib/Target/CSKY/CSKYAsmPrinter.h
The file was modifiedllvm/lib/Target/CSKY/CSKYInstrInfo16Instr.td
The file was addedllvm/test/MC/CSKY/compressed-inst.s
The file was modifiedllvm/test/MC/CSKY/basic-16bit.s
The file was modifiedllvm/lib/Target/CSKY/CMakeLists.txt
The file was modifiedllvm/lib/Target/CSKY/CSKYInstrInfo.td
The file was modifiedllvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
The file was modifiedllvm/lib/Target/CSKY/CSKYInstrFormats16Instr.td
The file was modifiedllvm/test/CodeGen/CSKY/base-i.ll
Commit c41b3b0fa0f4f70aad8deaf48bcd42a04385066c by owenpiano
[clang-format] Adjust braced list detection

This avoids mishandling nested compound statements that are followed by another compound statement.

Fixes https://llvm.org/PR38314 and https://llvm.org/PR48305.

Differential Revision: https://reviews.llvm.org/D114583
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
Commit 69bcff46bff34838c91880ecaa6616bb6979cd23 by gysit
[mlir][linalg] Pad independent of application order (NFC).

This revision makes the padding pattern independent of the application order. It addresses the concern that we cannot rely on the execution order of the greedy rewriter (https://reviews.llvm.org/D114689). Instead, the pattern is updated to apply repeatedly till all operations are padded.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D114851
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp
Commit caf89c0db679f79ca6c9a75c5acc6151dd380f26 by nicolas.vasilache
[mlir][Vector] Support 0-D vectors in `ConstantMaskOp`

To support creating both a mask with just a single `true` and `false` values,
I had to relax the restriction in the verifier that the rank is always equal to
the length of the attribute array, in other words, we now allow:

- `vector.constant_mask [0] : vector<i1>` which gets lowered to
  `arith.constant dense<false> : vector<i1>`
- `vector.constant_mask [1] : vector<i1>` which gets lowered to
  `arith.constant dense<true> : vector<i1>`

(the attribute list for the 0-D case must be a singleton containing
either `0` or `1`)

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D115023
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
Commit b15d77928e2b44d1667391d4650e61f1ab76bded by npopov
[llvm-c] Add header deprecations

This adds support for header deprecation using
LLVM_ATTRIBUTE_C_DEPRECATED (note that we can't use
LLVM_ATTRIBUTE_DEPRECATED, which is C++ specific). This will not
help people using the FFI interface, but may help people using the
C headers.

Differential Revision: https://reviews.llvm.org/D114936
The file was modifiedllvm/include/llvm-c/Core.h
The file was addedllvm/include/llvm-c/Deprecated.h