LLVM/project 8d1a89e — lld/MachO Relocations.h InputFiles.cpp, lld/include/lld/Common Memory.h

[lld][MachO] Pool relocation storage & sort relocs in ascending address order (#245184)

Currently, each subsection grows its own `std::vector` of relocations,
resulting in a lot of small allocations during relocation parsing, which
is costly. This PR allocates one relocation array per input section, and
each subsection takes a `RelocsArray` slice of it.

Some linker passes still need to dynamically `emplace_back()` into the
`RelocsArray`; since the slices are contiguous, they cannot expand
in-place, so we switch the `RelocsArray` storage to a per-subsection
heap-allocated buffer as needed. This is a similar to how `SmallVector`
behaves.

Additionally, we sort the relocations in ascending address order,
matching the order that subsections are sorted in. This means that
iterating over the relocations in subsection order can now benefit more
from the hardware prefetcher. (Previously, each subsection's relocations
were sorted in descending address order, but that did not matter as much
since the allocations were fragmented anyway.) This ordering results in

    [3 lines not shown]
DeltaFile
+146-22lld/test/MachO/unsorted-relocations.yaml
+90-53lld/MachO/InputFiles.cpp
+75-0lld/MachO/Relocations.h
+16-10lld/include/lld/Common/Memory.h
+14-3lld/test/MachO/invalid/invalid-relocation-pcrel.yaml
+7-7lld/test/MachO/arm64-stubs.s
+348-9520 files not shown
+412-15626 files

LLVM/project caf98ca — llvm/lib/Analysis CMakeLists.txt ValueTracking.cpp, llvm/utils/gn/secondary/llvm/lib/Analysis BUILD.gn

[ValueTracking][NFC] Move computeKnownFPClass functions verbatim to ValueTrackingFP.cpp
DeltaFile
+1,954-0llvm/lib/Analysis/ValueTrackingFP.cpp
+0-1,903llvm/lib/Analysis/ValueTracking.cpp
+1-0llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
+1-0llvm/lib/Analysis/CMakeLists.txt
+1,956-1,9034 files

LLVM/project f061da5 — llvm/include/llvm/ADT APFloat.h

[ADT] Remove unused <memory> include from APFloat.h (NFC) (#245882)

DoubleAPFloat::Floats was switched from std::unique_ptr<APFloat[]> to a
raw pointer in c72ebeeb7f1c, leaving <memory> unused in this header..
Also updates the comment that still referred to the unique_ptr
DeltaFile
+2-3llvm/include/llvm/ADT/APFloat.h
+2-31 files

LLVM/project d5a9832 — lldb/test/Shell lit.site.cfg.py.in lit.cfg.py, lldb/test/Shell/Driver TestBugReportURL.test

[lldb][test] Gate TestBugReportURL on backtrace (#245826)

TestBugReportURL.test checks for the "PLEASE submit a bug report"
message printed by CrashHandler in PrettyStackTrace.cpp, which is
compiled out when LLVM_ENABLE_BACKTRACES is disabled.

Export LLVM_ENABLE_BACKTRACES from LLVMConfig.cmake.in for standalone
builds, plumb it into lldb/test/Shell as the `backtrace` lit feature
(matching llvm, clang, and lld), and require `backtrace` in
TestBugReportURL.test. Also update the GN and Bazel lit site configs.

Assisted by Gemini.
DeltaFile
+3-0lldb/test/Shell/lit.cfg.py
+1-1lldb/test/Shell/Driver/TestBugReportURL.test
+2-0llvm/cmake/modules/LLVMConfig.cmake.in
+1-0utils/bazel/llvm-project-overlay/lldb/test/Shell/BUILD.bazel
+1-0llvm/utils/gn/secondary/lldb/test/BUILD.gn
+1-0lldb/test/Shell/lit.site.cfg.py.in
+9-11 files not shown
+10-17 files

LLVM/project 2f1153a — clang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen matrix-scalar-fmuladd.c

[Matrix] Fix `fmuladd` crash on `+` or `-` between a matrix and scalar (#245686)

Fixes #244340.

With FP contraction on (the default for `clang-dxc`), Clang tries to
fuse a `+` or `-` with a multiply operand into an `fmuladd`. For a
matrix and a scalar, the scalar isn't splatted yet at that point, so the
`fmuladd` builds with mismatched operand types and hits an assertion.

This PR fixes that by skipping fusion when the operand types differ. The
check is intentionally general rather than matrix-specific, since
`fmuladd` requires all three operands to have the same type. In
practice, a mismatch is currently only reachable with matrix + scalar,
but the general check also guards against future changes.

This PR also adds HLSL and C codegen tests for the crash and for cases
that should still fuse (matrix + matrix, vector + scalar, mixed scalar
types).

Assisted-by: Claude Opus 5.5
DeltaFile
+130-0clang/test/CodeGenHLSL/Operators/matrix-scalar-fmuladd.hlsl
+84-0clang/test/CodeGen/matrix-scalar-fmuladd.c
+5-0clang/lib/CodeGen/CGExprScalar.cpp
+219-03 files

FreeBSD/ports 3379b87 — devel/libstatgrab pkg-plist Makefile

devel/libstatgrab: Update to 0.92.2
DeltaFile
+3-3devel/libstatgrab/distinfo
+1-2devel/libstatgrab/Makefile
+1-1devel/libstatgrab/pkg-plist
+5-63 files

FreeBSD/ports f7ac524 — devel/jenkins-lts Makefile distinfo

devel/jenkins-lts: Update to 2.580.3

Sponsored by:   The FreeBSD Foundation

(cherry picked from commit a6ac51c18d69cd568961cfcfca9ff0958aa12772)
DeltaFile
+3-3devel/jenkins-lts/distinfo
+1-2devel/jenkins-lts/Makefile
+4-52 files

FreeBSD/ports 9597cb4 — print/publisher-devel Makefile distinfo

print/publisher-devel: Update 5.9.28 => 5.9.34

Security: file names in server mode.
In server mode, the file names sent with /v0/publish and /v0/pdf were
not checked. A request could write files outside of the job directory
on the server. Now only the file name without a directory is used, as
with /v1. Requests with an invalid file name such as .. are rejected.
Updating is recommended if the server can be reached by others.

Changelog:
https://doc.speedata.de/publisher/en/manual/changelog/version-5/#5934-2026-11-23

PR:     301106
MFH:    2026Q4
DeltaFile
+3-3print/publisher-devel/distinfo
+1-1print/publisher-devel/Makefile
+4-42 files

FreeBSD/ports a6ac51c — devel/jenkins-lts Makefile distinfo

devel/jenkins-lts: Update to 2.580.3

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins-lts/distinfo
+1-2devel/jenkins-lts/Makefile
+4-52 files

LLVM/project 4c58aaa — flang/lib/Semantics check-omp-structure.h check-omp-variant.cpp, flang/test/Semantics/OpenMP metadirective-loop-applicability.f90

[flang][OpenMP] Keep pending METADIRECTIVE variants in their scope

A loop-associated METADIRECTIVE replacement inside a BEGIN
METADIRECTIVE region can escape the region. In

```fortran
  !$omp begin metadirective default(parallel)
    continue
    !$omp metadirective when(user={condition(flag)}: simd) default(do)
  !$omp end metadirective
  do i = 1, n
  end do
```

neither SIMD nor DO has a loop in the region, but only the DO is
reported. The SIMD is checked against the loop after END METADIRECTIVE.

In this PR each block records where its entries start in the list of
pending replacements, so that it can diagnose the leftovers when it ends.

    [4 lines not shown]
DeltaFile
+36-0flang/test/Semantics/OpenMP/metadirective-loop-applicability.f90
+20-11flang/lib/Semantics/check-omp-variant.cpp
+2-0flang/lib/Semantics/check-omp-structure.h
+58-113 files

LLVM/project 0cf5b2b — flang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Add tasking constructs to the construct trait set

Count TASK, TASKLOOP and TASKGROUP in the construct trait set for
METADIRECTIVE and DECLARE VARIANT, both on their own and as leaves of a
compound construct such as PARALLEL MASKED TASKLOOP. They cannot be
named in a construct selector, but the set contains every enclosing
construct, and its size and order affect the scores. Each one is added
with OMPContext::addUnknownConstruct, so it never matches a selector.

The other constructs that cannot be named in a selector will be added
in follow-up patches.

Part of #244761

Assisted-by: GitHub Copilot and Claude Opus 5.5
DeltaFile
+48-0flang/test/Lower/OpenMP/declare-variant-construct.f90
+25-7flang/lib/Semantics/openmp-utils.cpp
+18-0flang/test/Lower/OpenMP/declare-variant-metadirective-context.f90
+3-1flang/include/flang/Semantics/openmp-utils.h
+94-84 files

LLVM/project 5b2ba0b — llvm/include/llvm/Analysis ValueTracking.h, llvm/lib/Analysis ValueTracking.cpp

[ValueTracking][NFC] Prepare computeKnownFPClass before moving it to ValueTrackingFP.cpp
DeltaFile
+9-11llvm/lib/Analysis/ValueTracking.cpp
+20-0llvm/include/llvm/Analysis/ValueTracking.h
+29-112 files

LLVM/project 71d26a1 — llvm/utils/gn/secondary/llvm/lib/Target/AArch64 BUILD.gn

[gn] port 20d19ab953fa (#246110)
DeltaFile
+0-1llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
+0-11 files

LLVM/project 2381631 — mlir/test/Integration/Dialect/Complex/CPU correctness.mlir

[mlir][complex] Fix complex runtime test (#246101)

Fixes CI failure introduced by #245227
DeltaFile
+2-2mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
+2-21 files

FreeBSD/ports 518ae15 — sysutils/try-rs Makefile distinfo

sysutils/try-rs: Update to 1.7.15
DeltaFile
+3-3sysutils/try-rs/distinfo
+1-1sysutils/try-rs/Makefile
+4-42 files

NetBSD/src LbIJGvR — external/mit/xorg/lib/libfontenc Makefile

   fix the @Z_REQUIRES@ substitution.  wants "zlib" not "-lz".

   fixes build of tigervnc, broken since july 11th.
VersionDeltaFile
1.7+2-2external/mit/xorg/lib/libfontenc/Makefile
+2-21 files

LLVM/project b1f23d2 — lldb/source/Plugins/SymbolFile/NativePDB PdbUtil.h

[lldb][NativePDB] Initialize VariableInfo::is_param (#246084)

`VariableInfo::is_param` has no initializer, and `CreateLocalVariable`
does not initialize it when it builds the `VariableInfo` of an
`S_CONSTANT`, so a local constant can be listed as an argument of its
function.

This patch initializes it to `false`.

rdar://193647118
DeltaFile
+1-1lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
+1-11 files

FreeBSD/ports e080484 — editors/2bsd-vi Makefile pkg-descr

editors/2bsd-vi: Update COMMENT and pkg-descr

Add BROKEN_aarch64.
DeltaFile
+9-9editors/2bsd-vi/pkg-descr
+3-1editors/2bsd-vi/Makefile
+12-102 files

LLVM/project 322c43a — llvm/test/tools/llubi intr_fp_vector_reduce.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Use visitFPBinOpWithResult for vector.reduce.{fadd,fmul} (#245542)

Sequential fadd/fmul reductions only handled denormals and fast-math
flags at the outer boundary, skipping intermediate results between
steps.
DeltaFile
+19-35llvm/tools/llubi/lib/Interpreter.cpp
+28-0llvm/test/tools/llubi/intr_fp_vector_reduce.ll
+47-352 files

LLVM/project 4643ef7 — mlir/docs BytecodeFormat.md, mlir/lib/Bytecode/Reader BytecodeReader.cpp

[mlir][bytecode] Fix deferred mutable-type ordering and cycle checks (#244033)

PR #229910 added `DialectBytecodeReader::tryStartCyclicRead` for custom
bytecode encodings of mutable types. However, moving failed entries to
the back of the deferred worklist placed incomplete mutable types behind
their non-cyclic callers. When a parent attribute or type retried first,
`getPartialType` returned an unpopulated mutable type and broke parent
verifiers. In addition, cyclic entries that omitted `tryStartCyclicRead`
caused unbounded recursion or an infinite worklist loop.

This addresses this issue in the failure case while documenting
expectation, failure messages and some cleanups along the way:-
- Replace the std::deque worklist and post-pass partial loop with a
post-order DFS AttrTypeWorklist (std::list plus DenseMap). Splicing
dependencies to the front in O(1) time resolves every non-cyclic child
before its caller retries at any depth.
- Re-queue a type entry in `readEntry` if a nested read defers after
`tryStartCyclicRead`, and remove its `partialTypes` binding once parsing
finishes.

    [21 lines not shown]
DeltaFile
+725-2mlir/unittests/Bytecode/BytecodeTest.cpp
+337-268mlir/lib/Bytecode/Reader/BytecodeReader.cpp
+30-29mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
+33-4mlir/test/Bytecode/recursive_type.mlir
+6-14mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
+14-0mlir/docs/BytecodeFormat.md
+1,145-3176 files not shown
+1,179-32912 files

LLVM/project 7c41857 — llvm/include/llvm/Transforms/IPO WholeProgramDevirt.h, llvm/lib/LTO LTO.cpp ThinLTOCodeGenerator.cpp

[IPO] Declare LTO command line options in TableGen (#245301)

Port the FunctionImport, FunctionAttrs and WholeProgramDevirt options
that the ThinLTO thin link reads from the combined index.
LTO passes its context's options, ThinLTOCodeGenerator its
LibraryOptions.
runWholeProgramDevirtOnIndex replaces its nullable LLVMContext
parameter, for which ThinLTOCodeGenerator passed null, so llvm-lto and
libLTO now honor -devirtualize-speculatively.

Renames without an alias, as an inverting alias rejects the `=0` every
user passes:

```
-disable-thinlto-funcattrs  -> -thinlto-funcattrs
```

LLM-aided
DeltaFile
+67-168llvm/lib/Transforms/IPO/FunctionImport.cpp
+31-75llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+85-0llvm/lib/Transforms/IPO/IPOOptions.td
+31-29llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+23-15llvm/lib/LTO/LTO.cpp
+9-4llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
+246-29119 files not shown
+282-31625 files

LLVM/project 83c5a6a — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 pr108731.ll sshl_sat_vec.ll

[X86] Fold more patterns to andnp

This patch fixes an existing TODO to handle cases with a single not
operand to andnp. This fixes a case that I was seeing when working on an
optimized clang-vector based strcmp implementation for LLVM libc.

Assisted-By: LLM

Reviewers: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/245808
DeltaFile
+32-38llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
+11-20llvm/test/CodeGen/X86/combine-movmsk.ll
+19-5llvm/lib/Target/X86/X86ISelLowering.cpp
+9-9llvm/test/CodeGen/X86/vector-compare-all_of.ll
+4-4llvm/test/CodeGen/X86/sshl_sat_vec.ll
+2-2llvm/test/CodeGen/X86/pr108731.ll
+77-786 files

FreeBSD/src af942da — sys/compat/linuxkpi/common/include/linux compat.h

LinuxKPI: Add in_compat_syscall()

Return true when the current process is a 32-bit process running on a
64-bit kernel, matching the Linux semantics.  On native 32-bit kernels
there is no compat ABI, so always return false.

Reviewed by:    wulf
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61900
DeltaFile
+15-0sys/compat/linuxkpi/common/include/linux/compat.h
+15-01 files

FreeBSD/ports e4b29ca — www/openresty Makefile distinfo, www/openresty/files patch-bundle_nginx-1.31.9_src_core_ngx__output__chain.c patch-bundle_nginx-1.31.9_src_http_ngx__http__write__filter__module.c

www/openresty: Security update to 1.31.9.1

The bundled nginx core moves to 1.31.9 and closes ten CVEs. The fix for
excessive CPU usage with TLS 1.3 early data is not part of that core and
is carried as a patch.

The encrypted_session module moves to 0.11, which rejects tokens issued
by earlier versions.

Changelog: https://openresty.org/en/changelog-1031009.html

Security:       573460ab-e8a5-11f1-9b74-3497f65b111b
Security:       cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat:       ports-secteam
Sponsored by:   Netzkommune GmbH
DeltaFile
+47-0www/openresty/files/patch-bundle_nginx-1.31.9_src_http_ngx__http__write__filter__module.c
+16-14www/openresty/pkg-plist
+29-0www/openresty/files/patch-bundle_nginx-1.31.9_src_core_ngx__output__chain.c
+3-3www/openresty/distinfo
+2-3www/openresty/Makefile
+97-205 files

FreeBSD/ports fd3e4e7 — www/freenginx Makefile version.mk, www/freenginx/files patch-src_http_ngx__http__write__filter__module.c patch-src_core_ngx__output__chain.c

www/freenginx: Security update to 1.30.3

Fixes memory corruption and use-after-free issues in HTTP/2, HTTP/3 and
the mail proxy module.

Changelog: https://freenginx.org/en/CHANGES-1.30

Security:       5734413b-e8a5-11f1-9b74-3497f65b111b
With hat:       ports-secteam
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3www/freenginx/distinfo
+0-2www/freenginx/Makefile
+1-1www/freenginx/version.mk
+1-1www/freenginx/files/patch-src_http_ngx__http__write__filter__module.c
+1-1www/freenginx/files/patch-src_core_ngx__output__chain.c
+6-85 files

LLVM/project 81c18f5 — llvm/test/CodeGen/X86 combine-movmsk.ll

[X86] Precommit test for andnp folds

For:
* not(or(not(X), Y)) -> andnp(Y, X)
* not(or(X, not(Y))) -> andnp(X, Y)

Which will be fixed in a follow-up PR.

Assisted-By: LLM

Reviewers: topperc, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/245807
DeltaFile
+60-0llvm/test/CodeGen/X86/combine-movmsk.ll
+60-01 files

LLVM/project a3fb765 — llvm/lib/Target/X86 X86InstrACE.td, llvm/utils/TableGen X86RecognizableInstr.cpp

[X86][ACEV1][NFC] Take the TOP4MX vvvv source last

The five mixed-precision outer products listed their sources reversed,
because MRMSrcReg takes the EVEX.vvvv operand ahead of the ModR/M one
and the specification numbers them the other way round. MRMSrcReg4VOp3
takes it last, so every operand list now reads in order, as the other
outer products already do. Pairing that form with a trailing immediate
needs the disassembler emitter to accept a fourth operand, which it
already does for MRMSrcReg. The encodings do not change.
DeltaFile
+5-6llvm/lib/Target/X86/X86InstrACE.td
+2-1llvm/utils/TableGen/X86RecognizableInstr.cpp
+7-72 files

LLVM/project c8a1395 — clang/include/clang/Basic BuiltinsX86_64.td, clang/test/CodeGen/X86 acev1_errors.c acev1_api.c

[X86][ACEV1] Diagnose a mixed tile model and check the builtins

One palette is in force at a time, so a function cannot configure both
kinds of tile. Report that after selection, when every model has been
recorded, and report a function mixing the two ACE models only once.

Give the AMX tile-zero builtins their own amx-tile spelling, so an ACE
target no longer selects palette 1 for them, and check the scale group
the mixed-precision forms take. The clang tests now pin the tile shape
and alignment rather than the intrinsic name alone.
DeltaFile
+42-0llvm/test/CodeGen/X86/ACEV1/acev1-amx-mixed-tiles.ll
+20-12clang/test/CodeGen/X86/acev1_tile_movement.c
+16-11clang/test/CodeGen/X86/acev1_api.c
+10-6clang/include/clang/Basic/BuiltinsX86_64.td
+8-6llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
+14-0clang/test/CodeGen/X86/acev1_errors.c
+110-356 files not shown
+154-4012 files

LLVM/project d5fa728 — llvm/lib/Target/X86 X86InstrACE.td X86LowerTileCopy.cpp, llvm/test/CodeGen/X86/ACEV1 acev1-tile-phi.ll acev1-tile-rmw.ll

[X86][ACEV1] Move palette 2 tiles a row at a time

Palette 2 has no TILELOADD or TILESTORED, so a tile reaches memory only
through TILEMOVROW. The casts substituted a zeroed tile for a loaded one
and dropped the stored result, a tile PHI and a tile-to-tile copy still
asked for TILELOADD, and a constant row index went through a GPR.

Synthesise the 16 row moves in each of those places, and select the
immediate form when the index is constant. The -O0 config now leads the
block, since palette 2 writes no shapes and ldtilecfg resets the BSR.
DeltaFile
+33-47llvm/test/CodeGen/X86/ACEV1/acev1-tile-rmw.ll
+52-9llvm/lib/Target/X86/X86LowerAMXType.cpp
+38-22llvm/lib/Target/X86/X86FastPreTileConfig.cpp
+42-14llvm/lib/Target/X86/X86LowerTileCopy.cpp
+28-9llvm/lib/Target/X86/X86InstrACE.td
+37-0llvm/test/CodeGen/X86/ACEV1/acev1-tile-phi.ll
+230-1016 files not shown
+329-10312 files

LLVM/project 47d110f — clang/lib/Sema SemaX86.cpp, llvm/include/llvm/IR IntrinsicsX86.td

[X86][ACEV1] Record the program model and correct the outer products

Record the program model as the intrinsics are selected, keyed on the
intrinsic as AMX does, rather than from a 66-entry opcode table kept in
step by hand; using both models is now diagnosed, not asserted. Drop the
K dimension the internal outer products never used, and swap the TOP4MX
pseudos' sources, which reached the instruction reversed because it
takes its VVVV operand first. Widen the insert pseudos' index to i32 so
an out-of-range one truncates as for AMX, check it in clang against the
architectural 0-15, and restore the GCCRegNames grouping BSR0 reflowed.
DeltaFile
+21-129llvm/lib/Target/X86/X86ISelLowering.cpp
+45-12clang/lib/Sema/SemaX86.cpp
+56-0llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+23-23llvm/test/CodeGen/X86/ACEV1/acev1-outer-product.ll
+21-21llvm/include/llvm/IR/IntrinsicsX86.td
+36-5llvm/test/CodeGen/X86/ACEV1/acev1-intrinsics.ll
+202-19017 files not shown
+398-32523 files