LLVM/project 71a77dc.github/workflows release-sources.yml, llvm/utils/release export.sh

workflows/release-sources: Disable building sub-project tarballs by default (#173441)

Sub-project tarbball creation has been disabled in the export.sh script
by default. It can be enabled by passing the --sub-project option. This
will not be used for official releases, but the option will allow users
to generate the sub-project tarballs themseleves if they want to.


https://discourse.llvm.org/t/rfc-do-something-with-the-subproject-tarballs-in-the-release-page/75024/

---------

Co-authored-by: Cullen Rhodes <cullen.rhodes at arm.com>
DeltaFile
+15-7llvm/utils/release/export.sh
+1-0.github/workflows/release-sources.yml
+16-72 files

LLVM/project 9a02a3clibc/cmake/modules LLVMLibCHeaderRules.cmake LLVMLibCObjectRules.cmake, libc/utils/hdrgen/hdrgen header.py

[libc] Support for generating proxy headers (#175279)

This is a follow up to #174823 which adds build system integration.
DeltaFile
+8-2libc/cmake/modules/LLVMLibCHeaderRules.cmake
+1-0libc/cmake/modules/LLVMLibCObjectRules.cmake
+1-0libc/cmake/modules/LLVMLibCTestRules.cmake
+1-0libc/utils/hdrgen/hdrgen/header.py
+11-24 files

LLVM/project f7e7132libcxx/utils/ci/images libcxx_runners.txt libcxx_next_runners.txt

[libcxx][Github] Bump container version in premerge CI

This includes e8753c0de90d3aaa60361b5354588fa29fef9228 to bump the
runner version. The contents of the container will remain the same given
we're using the same base image.
DeltaFile
+1-1libcxx/utils/ci/images/libcxx_runners.txt
+1-1libcxx/utils/ci/images/libcxx_next_runners.txt
+2-22 files

LLVM/project 8cf1842clang/include/clang/Basic BuiltinsAMDGPU.def, clang/test/CodeGenHIP builtins-amdgcn-mfma-gfx908.hip builtins-amdgcn-mfma-gfx950.hip

[AMDGPU] Modifies mfma builtin def to take _Float16 for HIP/C++
DeltaFile
+147-0clang/test/CodeGenHIP/builtins-amdgcn-mfma-gfx908.hip
+128-0clang/test/CodeGenHIP/builtins-amdgcn-mfma-gfx950.hip
+74-0clang/test/CodeGenHIP/builtins-amdgcn-mfma-gfx942.hip
+11-11clang/include/clang/Basic/BuiltinsAMDGPU.def
+360-114 files

LLVM/project e8753c0libcxx/utils/ci/docker docker-compose.yml

[libcxx][Github] Bump Github Runner Version to v2.331.0

Keeps things up to date to keep things up to date (and prevent us from
falling below the support horizon).
DeltaFile
+1-1libcxx/utils/ci/docker/docker-compose.yml
+1-11 files

LLVM/project d826f1a.github/workflows/containers/github-action-ci Dockerfile, .github/workflows/containers/github-action-ci-windows Dockerfile

[Github] Bump runner version in github-action-ci containers

A new runner just came out. Nothing terribly interesting in the release
notes, but it is good to update to stay ahead of the relatively short
time horizon for runner binary support by Github Actions.
DeltaFile
+1-1.github/workflows/containers/github-action-ci-windows/Dockerfile
+1-1.github/workflows/containers/github-action-ci/Dockerfile
+2-22 files

LLVM/project 853a8b4clang/lib/Analysis UnsafeBufferUsage.cpp, clang/test/SemaCXX warn-unsafe-buffer-usage-libc-functions.cpp

[-Wunsafe-buffer-usage] Allow strerror for %s in printf-like calls (#175208)

Passing strerror(errno) to printf of printf-like logging functions is a
common pattern, and strerror() returns a null-terminated string.

Follow-up to #173096
DeltaFile
+8-0clang/lib/Analysis/UnsafeBufferUsage.cpp
+4-0clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+12-02 files

LLVM/project 91f7e7flibcxx/include/__mdspan mdspan.h layout_stride.h

[libc++][mdspan][NFC] Remove redundant `else` and trailing semicolons (#175024)

DeltaFile
+12-13libcxx/include/__mdspan/mdspan.h
+4-5libcxx/include/__mdspan/layout_stride.h
+16-182 files

LLVM/project 85bb710.ci compute_projects.py

[CI] Remove reference to a dated issue

There are no plans currently to fix #132803 given the job run time
impact that it would cause. So for now, closing it.

Closes #132803.
DeltaFile
+3-3.ci/compute_projects.py
+3-31 files

LLVM/project 13055d6llvm/utils/TableGen DAGISelMatcher.h DAGISelMatcher.cpp, llvm/utils/TableGen/Common DAGISelMatcher.h DAGISelMatcher.cpp

[TableGen] Move DAGISelMatcher.cpp/h out of the Common library. NFC (#175271)

These files contain the implementation of classes used by only the
-gen-dag-isel backend. I don't think they are reusable without
DAGISelMatcherGen.cpp and DAGISelMatcherEmitter.cpp. I don't think
there's anything worth unittesting in just these files either.
DeltaFile
+1,125-0llvm/utils/TableGen/DAGISelMatcher.h
+0-1,125llvm/utils/TableGen/Common/DAGISelMatcher.h
+0-438llvm/utils/TableGen/Common/DAGISelMatcher.cpp
+438-0llvm/utils/TableGen/DAGISelMatcher.cpp
+1-1llvm/utils/TableGen/DAGISelEmitter.cpp
+1-1llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+1,565-1,5654 files not shown
+1,568-1,56810 files

LLVM/project 46d9d4blibcxx/include optional, libcxx/modules/std optional.inc

[libc++] Guard `optional::iterator` range variables behind experimental (#175222)

DeltaFile
+2-2libcxx/modules/std/optional.inc
+1-1libcxx/include/optional
+3-32 files

LLVM/project b8892b9llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/PowerPC widen-vec-correctly-be.ll

[SDAG] Add freeze when simplifying select with undef arms (#175199)

Consider the following pattern:
```
%trunc = trunc nuw i64 %x to i48
%sel = select i1 %cmp, i48 %trunc, i48 undef
```
We cannot simplify `%sel` to `%trunc` as `%trunc` may be poison, which
cannot be refined into undef.

This patch checks whether the replacement may be poison. If so, it will
insert a freeze.
We may need SDAG's version of `impliesPoison` if it causes significant
regressions.
Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=ded109c0cff41714ebf9bd60b073aaab07fa4ca8&to=103e605ce6b33bc9145526faf805ee38b972c215&stat=instructions%3Au

Closes https://github.com/llvm/llvm-project/issues/175018.
DeltaFile
+68-0llvm/test/CodeGen/X86/select.ll
+16-12llvm/test/CodeGen/PowerPC/widen-vec-correctly-be.ll
+6-6llvm/test/CodeGen/X86/fshl.ll
+2-2llvm/test/CodeGen/X86/funnel-shift.ll
+2-2llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+94-225 files

LLVM/project ef0682dlibcxx/include any

[libc++][NFC] Small cleanups for `any` (#175164)

1. Replace `std::trait<Args...>::value` with `std::trait_v<Args...>`.
2. Replace `_NOEXCEPT` in C++17 and later with `noexcept`.
3. Inline `any::swap` into the class body.
DeltaFile
+33-35libcxx/include/any
+33-351 files

LLVM/project 25663dflibcxx/test/support MinSequenceContainer.h

[libcxx] Add missing member `cend()` to `MinSequenceContainer` (#175114)

The `MinSequenceContainer` (used in tests for `<flat_map>` and
`<flat_set>`) currently provides `begin()`, `end()`, `cbegin()` but no
`cend()`.
[[container.reqmts]](https://eel.is/c++draft/container.reqmts#36) lists
member function `cend` as one of container requirements, together with
`begin()` and others.
DeltaFile
+1-0libcxx/test/support/MinSequenceContainer.h
+1-01 files

LLVM/project 29c15eemlir/docs/Bindings Python.md

[mlir][Python] add docs about downstream type/attr implementation (#175259)

This PR adds docs on the changes introduced in
https://github.com/llvm/llvm-project/pull/171775.
DeltaFile
+59-12mlir/docs/Bindings/Python.md
+59-121 files

LLVM/project 65ba527clang-tools-extra/clang-tidy/bugprone DynamicStaticInitializersCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Support C++20 constinit in bugprone-dynamic-static-initializers (#174744)

Variables marked with `constinit` are guaranteed to be statically
initialized. This patch add support for these.
DeltaFile
+59-0clang-tools-extra/test/clang-tidy/checkers/bugprone/dynamic-static-initializers-constinit.hpp
+6-3clang-tools-extra/docs/ReleaseNotes.rst
+4-1clang-tools-extra/test/clang-tidy/checkers/bugprone/dynamic-static-initializers.hpp
+4-1clang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp
+73-54 files

LLVM/project 43b8bc4libc/shared/math sin.h, libc/src/__support/math sin.h CMakeLists.txt

[libc][math] Refactor sin implementation to header-only in src/__support/math folder. (#175200)

Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+181-0libc/src/__support/math/sin.h
+2-166libc/src/math/generic/sin.cpp
+23-0libc/shared/math/sin.h
+13-5utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+16-0libc/src/__support/math/CMakeLists.txt
+1-11libc/src/math/generic/CMakeLists.txt
+236-1823 files not shown
+239-1829 files

LLVM/project 2da195cmlir/include/mlir/Bindings/Python IRCore.h

restore predecls
DeltaFile
+6-5mlir/include/mlir/Bindings/Python/IRCore.h
+6-51 files

LLVM/project 8424f9cmlir/include/mlir/Bindings/Python IRCore.h, mlir/test/python/dialects python_test.py ub.py

fix __Str__
DeltaFile
+16-15mlir/test/python/ir/value.py
+8-0mlir/include/mlir/Bindings/Python/IRCore.h
+3-3mlir/test/python/dialects/python_test.py
+1-1mlir/test/python/dialects/ub.py
+1-1mlir/test/python/dialects/rocdl.py
+29-205 files

LLVM/project f882d34mlir/test/python/ir value.py

add test
DeltaFile
+19-0mlir/test/python/ir/value.py
+19-01 files

LLVM/project a72da3cmlir/test/python/ir value.py

format
DeltaFile
+2-1mlir/test/python/ir/value.py
+2-11 files

LLVM/project c9faf8dutils/bazel/llvm-project-overlay/compiler-rt BUILD.bazel

Add filegroups for installed compiler-rt headers (#175278)

These are installed along-side the builtin Clang headers. Adding these
filegroups follows the filegroups in clang/BUILD.bazel and allows
merging when both are needed.
DeltaFile
+15-0utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+15-01 files

LLVM/project c23378cmlir/include/mlir/Bindings/Python IRCore.h, mlir/test/python/dialects python_test.py ub.py

fix __Str__
DeltaFile
+16-15mlir/test/python/ir/value.py
+8-0mlir/include/mlir/Bindings/Python/IRCore.h
+3-3mlir/test/python/dialects/python_test.py
+1-1mlir/test/python/dialects/ub.py
+1-1mlir/test/python/dialects/rocdl.py
+29-205 files

LLVM/project 3ab5d53clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets namespace-template.mustache

[clang-doc] Add variables to the namespace HTML template
DeltaFile
+31-0clang-tools-extra/clang-doc/assets/namespace-template.mustache
+16-4clang-tools-extra/test/clang-doc/json/namespace.cpp
+3-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+50-53 files

LLVM/project 2723e9aclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache enum-template.mustache

[clang-doc] Serialize repository URL in Mustache templates (#174914)

Location tags didn't handle possible `FileURL` fields when a repository
URL was specified in a clang-doc invocation. This also cleans up all
location occurences to use `<p>` instead of `<div>` and allows linking
to the repository URL.
DeltaFile
+76-46clang-tools-extra/clang-doc/JSONGenerator.cpp
+4-6clang-tools-extra/test/clang-doc/enum.cpp
+3-1clang-tools-extra/clang-doc/assets/class-template.mustache
+1-3clang-tools-extra/test/clang-doc/mustache-index.cpp
+1-3clang-tools-extra/clang-doc/assets/enum-template.mustache
+3-1clang-tools-extra/clang-doc/assets/namespace-template.mustache
+88-603 files not shown
+91-649 files

LLVM/project 0ce9e78mlir/lib/Bindings/Python IRCore.cpp

fix ifs
DeltaFile
+39-59mlir/lib/Bindings/Python/IRCore.cpp
+39-591 files

LLVM/project 79c11efclang/lib/Format TokenAnnotator.cpp

[clang-format][NFC] Remove redundant checking for null pointer

See https://github.com/llvm/llvm-project/pull/143194#discussion_r2674008700
DeltaFile
+0-3clang/lib/Format/TokenAnnotator.cpp
+0-31 files

LLVM/project 7c2c7f0mlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp IRAffine.cpp

[mlir][Python] downcast ir.Value to BlockArgument or OpResult
DeltaFile
+30-31mlir/lib/Bindings/Python/IRCore.cpp
+8-14mlir/test/python/ir/value.py
+8-5mlir/include/mlir/Bindings/Python/IRCore.h
+1-1mlir/include/mlir/Bindings/Python/NanobindUtils.h
+1-1mlir/lib/Bindings/Python/IRAffine.cpp
+1-1mlir/test/python/dialects/python_test.py
+49-531 files not shown
+50-537 files

LLVM/project f59b51eclang-tools-extra/clang-doc/assets class-template.mustache enum-template.mustache, clang-tools-extra/test/clang-doc enum.cpp

fix tests
DeltaFile
+21-29clang-tools-extra/clang-doc/assets/class-template.mustache
+17-23clang-tools-extra/test/clang-doc/json/class.cpp
+11-11clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
+4-12clang-tools-extra/clang-doc/assets/enum-template.mustache
+1-13clang-tools-extra/clang-doc/assets/comment-template.mustache
+8-5clang-tools-extra/test/clang-doc/enum.cpp
+62-9311 files not shown
+104-13217 files

LLVM/project 2cceec6llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge branch 'users/chapuni/mcdc/nest/lnot' into users/chapuni/mcdc/nest/bitmapaddr
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,708-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,355-193,5263,785 files not shown
+1,251,595-1,119,1073,791 files