LLVM/project a0cf570llvm/lib/Transforms/Vectorize VPlanLowering.cpp VPlanAnalysis.h

[VPlan] Use collectEphemeralRecipesForVPlan in calculateRegUse (NFC) (#216047)

Update calculateRegisterUsageForPlan to use
collectEphemeralRecipesForVPlan instead of relying on IR-based set of
instructions.
DeltaFile
+10-9llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
+5-4llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+3-5llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+3-3llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+3-3llvm/lib/Transforms/Vectorize/VPlanAnalysis.h
+24-245 files

LLVM/project 83d27d8mlir/include/mlir/Dialect/MemRef/TransformOps MemRefTransformOps.td, mlir/lib/Dialect/MemRef/TransformOps MemRefTransformOps.cpp

[mlir] [memref] [transform] Add alloc_to_global op. (#211141)

This adds a new transform op that creates a `memref.global` op for
each provided `memref.alloc` and replaces `memref.alloc`s with
`memref.get_global`. It also creates a new helper function that contains
the shared logic between the existing `alloca_to_global` op and
`alloc_to_global`. It also checks whether `memref.alloc`s and
`memref.alloca`s are statically shaped since `memref.global` requires
statically shaped buffers.
DeltaFile
+206-6mlir/test/Dialect/MemRef/transform-ops.mlir
+141-25mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
+80-1mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
+427-323 files

LLVM/project 52e3adeclang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltin.cpp

[CIR] Implement __builtin_clear_padding (#216126)

__builtin_clear_padding is lowered as an operation, which keeps the list
of the padding sections so that it knows how to clear them later. Rather
than trying to get the casting/etc right earlier to do clearing, this
patch chooses to do the conversion to load/and/store operations during
LowerToLLVM. This also yields identical IR to OGCG, whereas attempts to
do it earlier caused divergence that seemed unnecessary and causes
difficulty in assuring they are compatible.
DeltaFile
+837-0clang/test/CIR/CodeGen/builtin-clear-padding-codegen.c
+115-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+51-0clang/test/CIR/IR/clear-padding.cir
+38-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+19-0clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+1,089-06 files

LLVM/project 02da5baclang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR] Implement the 'rest' of the TLS Model types (#215380)

Functionally, the only difference between these models is the tag that
goes onto the variable in the LLVM-IR. This patch changes our "==
GeneralDynamic" checks to just be whether they have a TLS Model defined,
so all the previous logic still holds.

This patch DOES have to add the 'default' model to the module, as the
top-level TLS guard needs to have this model, even if the individual
variables are overridden by the tls_model attribute.

Like the previous inline-printing patch, this ensures we print the
module result attribute as an enum value instead an integral. This
requires some custom parse/printing here, but is pretty routine. We
can't convert GlobalOp without vastly changing how it prints these, as
there isn't really a 'assemblyFormat' that works for this printed as an
'attribute' and a keyword.

We ALSO had to change the name of the enum to be TLSModel, because MLIR
is inconsistent in tablegen where it gets the name from on an enum, so
it would pick up the wrong spelling sometimes.
DeltaFile
+51-40clang/test/CIR/CodeGen/tls-model.cpp
+79-0clang/test/CIR/CodeGen/tls-model-func-scope.cpp
+28-23clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+49-0clang/test/CIR/CodeGen/global-tls-dynamic-vs-static.cpp
+17-13clang/lib/CIR/CodeGen/CIRGenModule.cpp
+14-14clang/test/CIR/CodeGen/global-tls-simple-init.cpp
+238-9014 files not shown
+325-14920 files

LLVM/project 6e6e7a7lldb/include/lldb/API SBFile.h

[lldb] Make SBFile::operator bool explicit (#215819)

Every other SB class in the API declares `explicit operator bool()`.
SBFile was the only one with an implicit conversion, which in general is
not something we want.
DeltaFile
+1-1lldb/include/lldb/API/SBFile.h
+1-11 files

LLVM/project cb5775clldb/test/API/api/multithreaded test_concurrent_unwind.cpp.template test_listener_event_description.cpp

[lldb][test] Don't include all SB API headers in TestMultithreaded (#215551)

This test compiles 9 C++ test files and uses the `generateSource`
function to inject includes for every single SB API header. The
`generateSource` call also sets `SOURCE_DIR` so the test knows its
current source directory.

This patch removes the need for `generateSource` by including the SB API
headers we actually need. SOURCE_DIR is now specified using an
environment variable in the test.

The motivation for this patch is that I want to avoid recompiling these
source files unless their source or the included headers change.
Currently, this test is one of the slowest in the test suite and needs
about half a minute to run. In the future, I want to at least avoid the
recompilation time for each test file.

Note that we still have another test that includes all SB API headers
normally and as a framework, so this does not remove test coverage.
DeltaFile
+148-0lldb/test/API/api/multithreaded/test_stop-hook.cpp
+0-134lldb/test/API/api/multithreaded/test_stop-hook.cpp.template
+98-0lldb/test/API/api/multithreaded/test_concurrent_unwind.cpp
+0-97lldb/test/API/api/multithreaded/test_listener_event_description.cpp.template
+94-0lldb/test/API/api/multithreaded/test_listener_event_description.cpp
+0-91lldb/test/API/api/multithreaded/test_concurrent_unwind.cpp.template
+340-32213 files not shown
+724-68119 files

LLVM/project 4411918clang/lib/CodeGen CGCUDANV.cpp, clang/lib/Driver Driver.cpp

[Offload][Driver] Split frontend CUDA/HIP language assumptions from backend device (#212373)

CUDA and HIP offloading currently assumes that the source language also
implies the device backend: CUDA maps to NVPTX/CUDA and HIP maps to
AMDGPU/HSA. That is too restrictive for the LLVM offload path, where the
language frontend and the device backend can be separate choices.

Using `-foffload-via-llvm` we can split the kernel language from backend
assumptions. When enabled, the driver suppresses the vendor
runtime/header paths, injects the LLVM-provided generic GPU device
headers and language runtime headers, and links the LLVM CUDA/HIP
runtime libraries from #211694 instead. It also provides tests for
#211694 since they require the frontend to run.

Assisted by GPT-5.5, checked and reviewed manually

Co-authored-by: Johannes Doerfert <jdoerfert.llvm at gmail.com>
Co-authored-by: Jonas Greifenhain <cadivus at daverkomp.de>
DeltaFile
+67-41clang/lib/Driver/ToolChains/Clang.cpp
+43-30clang/lib/Driver/Driver.cpp
+29-31clang/test/CodeGenCUDA/offload_via_llvm.cu
+33-24clang/lib/CodeGen/CGCUDANV.cpp
+28-28offload/languages/kernel/src/LanguageLaunch.cpp
+51-0offload/test/offloading/HIP/memcpy_kinds.hip
+251-15438 files not shown
+1,135-26444 files

LLVM/project 5517668clang-tools-extra/clang-tidy/readability RedundantZeroInitializerCheck.h RedundantZeroInitializerCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Add `readability-redundant-zero-initializer` (#209367)

Add a check that finds explicit single-element zero initializers of
arrays and rewrites them to empty braces, e.g. `char a[12] = {0};`
becomes `char a[12] = {};`. Empty-brace initialization zero-initializes
every element, so the explicit `{0}` is redundant. The check is only
enabled in C++ and in C23 or later.

The check is conservative and only rewrites a single-element `{0}` list
whose sole element is the integer literal `0` and whose array has an
explicit bound. It leaves alone, among others:
- arrays whose bound is deduced from the initializer (`char a[] = {0};`)
- multi-dimensional arrays (`int m[2][3] = {0};`)
- initializers with more than one element (`int a[3] = {0, 0};`);
- scalars and class/struct types
- zero written in another form such as `'\0'`, `0.0` or `nullptr`

Closes #209139


    [2 lines not shown]
DeltaFile
+138-0clang-tools-extra/test/clang-tidy/checkers/readability/redundant-zero-initializer.cpp
+65-0clang-tools-extra/clang-tidy/readability/RedundantZeroInitializerCheck.cpp
+38-0clang-tools-extra/clang-tidy/readability/RedundantZeroInitializerCheck.h
+36-0clang-tools-extra/docs/clang-tidy/checks/readability/redundant-zero-initializer.md
+16-0clang-tools-extra/test/clang-tidy/checkers/readability/redundant-zero-initializer.c
+6-0clang-tools-extra/docs/ReleaseNotes.md
+299-03 files not shown
+304-09 files

FreeBSD/ports b4b9ea9x11-wm/river Makefile Makefile.zig, x11-wm/river/files patch-build.zig

x11-wm/river: update to 0.4.8
DeltaFile
+17-17x11-wm/river/distinfo
+7-7x11-wm/river/Makefile.zig
+0-11x11-wm/river/files/patch-build.zig
+1-2x11-wm/river/Makefile
+25-374 files

LLVM/project 8a6d4b8llvm/test/CodeGen/X86 extractsubvector-load.ll

[X86] extractsubvector-load.ll - basic test coverage for various extractsubvector(load) patterns (#216156)

Shows some poor codegen for non-aligned subvector indices

Basic frozen load test coverage for #216115
DeltaFile
+268-0llvm/test/CodeGen/X86/extractsubvector-load.ll
+268-01 files

LLVM/project 7a2437cclang/lib/CIR/CodeGen TargetInfo.h, clang/test/CIR/CodeGen record-member-kinds.c

[CIR] Address reviewer feedback

The comments on isEmptyFieldForABI and isEmptyRecordForABI were too verbose.  Adapt the comments on classic's isEmptyField and isEmptyRecord.

Add flexible array member tests.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+8-19clang/lib/CIR/CodeGen/TargetInfo.h
+9-1clang/test/CIR/CodeGen/record-member-kinds.c
+17-202 files

FreeNAS/freenas 5b7a6b9tests/unit test_activedirectory_health.py

Fix AD tests

(cherry picked from commit 28462b672bde8334ad9e99f1f9823bcab13848de)
DeltaFile
+10-1tests/unit/test_activedirectory_health.py
+10-11 files

FreeBSD/ports 7e92878devel/aws-c-io Makefile distinfo

devel/aws-c-io: Update to 0.27.6

ChangeLog: https://github.com/awslabs/aws-c-io/releases/tag/v0.27.6
DeltaFile
+3-3devel/aws-c-io/distinfo
+1-1devel/aws-c-io/Makefile
+4-42 files

FreeBSD/ports b320935devel/aws-crt-cpp Makefile distinfo

devel/aws-crt-cpp: Update to 0.43.5

ChangeLog: https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.43.5
DeltaFile
+3-3devel/aws-crt-cpp/distinfo
+1-1devel/aws-crt-cpp/Makefile
+4-42 files

FreeBSD/ports 1b1aeaedevel/aws-c-common pkg-plist Makefile

devel/aws-c-common: Update to 0.14.5

ChangeLog: https://github.com/awslabs/aws-c-common/releases/tag/v0.14.5
DeltaFile
+3-3devel/aws-c-common/distinfo
+1-1devel/aws-c-common/pkg-plist
+1-1devel/aws-c-common/Makefile
+5-53 files

FreeBSD/ports 2109f24games/trx Makefile distinfo

games/trx: Update to 1.10

ChangeLog: https://github.com/LostArtefacts/TRX/releases/tag/trx-1.10
DeltaFile
+3-3games/trx/distinfo
+1-1games/trx/Makefile
+4-42 files

FreeBSD/ports 0d64b56devel/binaryen pkg-plist Makefile, devel/binaryen/files patch-third__party_CMakeLists.txt

devel/binaryen: Update to 132

ChangeLog: https://github.com/WebAssembly/binaryen/blob/main/CHANGELOG.md#v132
DeltaFile
+8-2devel/binaryen/files/patch-third__party_CMakeLists.txt
+3-3devel/binaryen/distinfo
+1-1devel/binaryen/Makefile
+1-0devel/binaryen/pkg-plist
+13-64 files

FreeNAS/freenas 76e7942tests/sharing_protocols conftest.py

NAS-139485 / 25.10.7 / Use static IP for single node sharing protocol CI (by bmeagherix) (#19501)
DeltaFile
+31-0tests/sharing_protocols/conftest.py
+31-01 files

LLVM/project 192399aclang/test/DebugInfo/Generic cc.c

[NFC][clang][DebugInfo] Add SPIR-V calling convention test coverage (#216095)
DeltaFile
+9-0clang/test/DebugInfo/Generic/cc.c
+9-01 files

LLVM/project 8e34eedclang/lib/StaticAnalyzer/Checkers ArrayBoundChecker.cpp

[NFC][analyzer] Clarify that ArrayBound only handles element regions (#216049)

The `security.ArrayBound` checker does not do anything when the value of
the expression that activated its callbacks isn't expressed as an
`ElementRegion`.

Previously this was a sneaky consequence of the logic in
`computeOffset`, but this commit highlights it with a straightforward
early return statement to ensure that the accessed element region is
available within the body of `ArrayBoundChecker::handleAccessExpr`.

(I intend to use this in a follow-up commit.)
DeltaFile
+13-13clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
+13-131 files

FreeBSD/ports 595b8a8www/nextcloud Makefile distinfo, www/nextcloud/files patch-PR296323

www/nextcloud: Update to 34.0.3
DeltaFile
+0-25www/nextcloud/files/patch-PR296323
+3-3www/nextcloud/distinfo
+1-2www/nextcloud/Makefile
+4-303 files

LLVM/project c2f1191llvm/test/CodeGen/X86 unaligned-32-byte-memops.ll

[X86] unaligned-32-byte-memops.ll - add common CHECK/AVX1 check prefixes (#216145)
DeltaFile
+35-77llvm/test/CodeGen/X86/unaligned-32-byte-memops.ll
+35-771 files

NetBSD/pkgsrc 1egmevJdevel/guile30-slib Makefile

   devel/guile30-slib: Catch up with slib version in variable

   This is kind of pointless, but choose consistency over thinking about
   the real problem for now.
VersionDeltaFile
1.3+2-2devel/guile30-slib/Makefile
+2-21 files

FreeBSD/ports 8631a4cnet-im/nextcloud-talk Makefile distinfo

net-im/nextcloud-talk: Update to 24.0.4
DeltaFile
+3-3net-im/nextcloud-talk/distinfo
+1-1net-im/nextcloud-talk/Makefile
+4-42 files

FreeBSD/ports cb901e0dns/tldx Makefile distinfo

dns/tldx: Update 1.5.0 => 1.6.0

Changelog:
https://github.com/brandonyoungdev/tldx/releases/tag/v1.6.0

Reported by:    repology
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit f03636f2cc6d3cac341ffb07c8522cbc177e294d)
DeltaFile
+5-5dns/tldx/distinfo
+1-2dns/tldx/Makefile
+6-72 files

FreeBSD/ports f03636fdns/tldx Makefile distinfo

dns/tldx: Update 1.5.0 => 1.6.0

Changelog:
https://github.com/brandonyoungdev/tldx/releases/tag/v1.6.0

Reported by:    repology
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+5-5dns/tldx/distinfo
+1-2dns/tldx/Makefile
+6-72 files

LLVM/project e72ba6cutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes e8ff1d1 (#216147)

This fixes e8ff1d1d93728ba488c8a09023c4554030463ced (#202315).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=e8ff1d1d93728ba488c8a09023c4554030463ced

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project 4737387clang/include/clang/Basic AttrDocs.td, clang/test/CodeGen/LoongArch/lasx builtin-alias.c

Merge rm-toc
DeltaFile
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+6,347-3,146llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-neon-instructions.s
+4,413-4,281clang/include/clang/Basic/AttrDocs.td
+5,067-2,506llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-basic-instructions.s
+6,869-0llvm/test/tools/llvm-mca/AArch64/HiSilicon/hip12-sve-instructions.s
+2,728-2,728clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+39,191-19,5174,967 files not shown
+247,660-118,0744,973 files

LLVM/project 9492123clang/include/clang/Basic AttrDocs.td, clang/test/CodeGen/LoongArch/lasx builtin-alias.c

Merge main
DeltaFile
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+6,347-3,146llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-neon-instructions.s
+4,413-4,281clang/include/clang/Basic/AttrDocs.td
+5,067-2,506llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-basic-instructions.s
+6,869-0llvm/test/tools/llvm-mca/AArch64/HiSilicon/hip12-sve-instructions.s
+2,728-2,728clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+39,191-19,5174,967 files not shown
+247,660-118,0744,973 files

FreeNAS/freenas 21f810btests/sharing_protocols conftest.py

Use static IP for single node sharing protocol CI

(cherry picked from commit 944874d46e537a565b702396fec35cd6a26e646e)
DeltaFile
+31-0tests/sharing_protocols/conftest.py
+31-01 files