LLVM/project 0a26d90clang/test/Tooling clang-extdef-mapping.cpp clang-extdef-mapping-no-args.cpp, clang/tools/clang-extdef-mapping ClangExtDefMapGen.cpp

[clang] Fix options handling in ClangExtDefMapGen.cpp (#176116)

Also, remove some unused includes.

Fixes https://github.com/llvm/llvm-project/issues/176118

Now, running `clang-extdef-mapping` with no options results in the
following error message:

```sh
error: clang-extdef-mapping: Not enough positional command line arguments specified!
Must specify at least 1 positional argument: See: ./build/Debug/bin/clang-extdef-mapping --help
```
DeltaFile
+3-4clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
+4-0clang/test/Tooling/clang-extdef-mapping.cpp
+3-0clang/test/Tooling/clang-extdef-mapping-no-args.cpp
+10-43 files

LLVM/project 04baf11llvm/lib/Analysis VectorUtils.cpp, llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[LoopVectorize] Support vectorization of overflow intrinsics (#174835)

Enables support for marking overflow intrinsics `uadd`, `sadd`, `usub`,
`ssub`, `umul` and `smul` as trivially vectorizable.

Fixes #174617

---------

Signed-off-by: vishruth-thimmaiah <vishruththimmaiah at gmail.com>
DeltaFile
+469-1llvm/test/Transforms/LoopVectorize/multiple-result-intrinsics.ll
+73-1llvm/test/Transforms/LoopVectorize/AArch64/multiple-result-intrinsics.ll
+18-15llvm/test/Transforms/LoopVectorize/struct-return.ll
+6-9llvm/lib/Analysis/VectorUtils.cpp
+6-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+572-275 files

LLVM/project e85e61cmlir/lib/Dialect/Shard/Transforms Partition.cpp, mlir/test/Dialect/Arith shard-partition.mlir

[MLIR][shard] checking for correct&full sharding annotations (#176000)

Before trying to partition a block or operation, check that it is fully
annotated with `shard.shard` ops. This gives useful error messages
instead of random errors later on.
DeltaFile
+81-0mlir/lib/Dialect/Shard/Transforms/Partition.cpp
+54-0mlir/test/Dialect/Shard/invalid_annotated.mlir
+8-5mlir/test/Dialect/Shard/partition.mlir
+2-1mlir/test/Dialect/Arith/shard-partition.mlir
+145-64 files

LLVM/project 9309436llvm/docs AMDGPUUsage.rst

[AMDGPU] Update documentation for wave reduction intrinsics
DeltaFile
+70-4llvm/docs/AMDGPUUsage.rst
+70-41 files

OPNSense/core 308d18esrc/sbin opnsense-log

system: add "backend" and "php" shortcuts to opnsense-log
DeltaFile
+8-0src/sbin/opnsense-log
+8-01 files

LLVM/project cc98eb0clang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/lib/Dialect/EmitC/IR EmitC.cpp

[mlir] Fix build after #175815 (#176332)

Fix this build error, which is reported by some compilers after #175815:

```
error: operands to ?: have different types ‘mlir::Operation::result_range {aka mlir::ResultRange}’ and ‘mlir::ValueRange’
   return successor.isParent() ? getOperation()->getResults() : ValueRange();
```
DeltaFile
+14-7clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+6-3mlir/lib/Dialect/SCF/IR/SCF.cpp
+4-2mlir/unittests/Interfaces/ControlFlowInterfacesTest.cpp
+2-1mlir/lib/Dialect/Transform/TuneExtension/TuneExtensionOps.cpp
+2-1mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+1-1mlir/lib/Dialect/Shape/IR/Shape.cpp
+29-154 files not shown
+33-1910 files

FreeBSD/ports 861cf98cad/freecad-devel distinfo Makefile.git_rev, cad/freecad-devel/files patch-src_Mod_MeshPart_App_CMakeLists.txt patch-src_Mod_TechDraw_App_CMakeLists.txt

cad/freecad-devel: Update to 2026.01.14
DeltaFile
+0-18cad/freecad-devel/files/patch-src_Mod_MeshPart_App_CMakeLists.txt
+3-3cad/freecad-devel/files/patch-src_Mod_TechDraw_App_CMakeLists.txt
+3-3cad/freecad-devel/distinfo
+3-3cad/freecad-devel/Makefile.git_rev
+0-6cad/freecad-devel/pkg-plist
+3-3cad/freecad-devel/files/patch-src_Gui_CMakeLists.txt
+12-362 files not shown
+15-398 files

FreeBSD/ports a284680devel/py-libvirt distinfo Makefile

devel/py-libvirt: update to 12.0.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/py-libvirt/distinfo
+1-1devel/py-libvirt/Makefile
+4-42 files

FreeBSD/ports dd09194devel/libvirt distinfo Makefile

devel/libvirt: update to 12.0.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/libvirt/distinfo
+2-2devel/libvirt/Makefile
+5-52 files

FreeBSD/ports b8bafdbcad/kicad-devel distinfo Makefile.git_rev, cad/kicad-library-footprints-devel pkg-plist distinfo

cad/kicad-*devel: Update to 2026.01.16
DeltaFile
+188-0cad/kicad-library-packages3d-devel/pkg-plist
+129-5cad/kicad-library-footprints-devel/pkg-plist
+3-3cad/kicad-devel/distinfo
+3-3cad/kicad-devel/Makefile.git_rev
+3-3cad/kicad-library-footprints-devel/distinfo
+3-3cad/kicad-library-packages3d-devel/distinfo
+329-174 files not shown
+338-2610 files

LLVM/project 5b3d64fclang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/lib/Dialect/EmitC/IR EmitC.cpp

[mlir] Fix build after #175815
DeltaFile
+14-7clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+6-3mlir/lib/Dialect/SCF/IR/SCF.cpp
+4-2mlir/unittests/Interfaces/ControlFlowInterfacesTest.cpp
+2-1mlir/lib/Dialect/Transform/TuneExtension/TuneExtensionOps.cpp
+2-1mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+1-1mlir/lib/Dialect/Shape/IR/Shape.cpp
+29-154 files not shown
+33-1910 files

OPNSense/core a1b1aecsrc/etc/inc system.inc

system: provide resolv.conf overrides via /etc/resolv.conf.local #7264
DeltaFile
+3-0src/etc/inc/system.inc
+3-01 files

FreeBSD/ports 37767a7. UPDATING

UPDATING: Fix typos
DeltaFile
+19-19UPDATING
+19-191 files

FreeBSD/src a01a4c0.github CODEOWNERS

CODEOWNERS: register interest in some infrastructure
DeltaFile
+3-1.github/CODEOWNERS
+3-11 files

LLVM/project 2f11913llvm/lib/ExecutionEngine/Orc/TargetProcess ExecutorResolver.cpp, llvm/unittests/Support ProgramStackTest.cpp

Add missing newlines at EOF; NFC (#176192)

DeltaFile
+1-1llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorResolver.cpp
+1-1llvm/unittests/Support/ProgramStackTest.cpp
+1-1mlir/include/mlir/Dialect/Func/Utils/Utils.h
+1-1mlir/include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td
+1-1mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
+1-1mlir/lib/Dialect/Tensor/Extensions/CMakeLists.txt
+6-66 files

FreeBSD/ports cd99b0fdevel/pyenv distinfo pkg-plist

devel/pyenv: Update to 2.6.20
DeltaFile
+3-3devel/pyenv/distinfo
+2-2devel/pyenv/pkg-plist
+1-1devel/pyenv/Makefile
+6-63 files

LLVM/project 3af2e51lld/ELF InputSection.cpp

[lld][ELF] Deduplicate PC-relative indirect relocation logic for RISC-V and LoongArch (#176312)

DeltaFile
+42-77lld/ELF/InputSection.cpp
+42-771 files

LLVM/project fe8447dlld/ELF/Arch LoongArch.cpp

[lld][LoongArch] Clean up CALL30 relocation with setK16 and checkInt (#176311)

DeltaFile
+3-9lld/ELF/Arch/LoongArch.cpp
+3-91 files

FreeBSD/src d78291blib/virtual_oss Makefile.inc, lib/virtual_oss/bt Makefile

lib/virtual_oss: don't (over)link to libsamplerate

These plugins require samplerate.h due to virtual_oss's int.h including
it, but don't use any symbols directly so don't link to the library.

Centralize adding the include path.

Reviewed by:    christos
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54705
DeltaFile
+1-3lib/virtual_oss/sndio/Makefile
+0-3lib/virtual_oss/null/Makefile
+1-2lib/virtual_oss/bt/Makefile
+0-3lib/virtual_oss/oss/Makefile
+2-0lib/virtual_oss/Makefile.inc
+4-115 files

FreeBSD/src 373c72alib/virtual_oss Makefile.inc, lib/virtual_oss/bt Makefile

virtual_oss: build system tidying

general:
 - find libsamplerate's headers in the temporary sysroot instead of
   digging in the source tree.
 - use LIBADD where possible

lib/virtual_oss:
 - centralize SHLIBDIR define
 - centralize include path for internal headers
 - don't try to find libsamplerate directly in .OBJDIR

No functional changes.

Reviewed by:    christos
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54704
DeltaFile
+4-5usr.sbin/virtual_oss/virtual_oss/Makefile
+2-5lib/virtual_oss/bt/Makefile
+4-2lib/virtual_oss/Makefile.inc
+1-3lib/virtual_oss/null/Makefile
+1-3lib/virtual_oss/oss/Makefile
+1-3lib/virtual_oss/sndio/Makefile
+13-212 files not shown
+14-248 files

FreeBSD/src adab1ddlib/virtual_oss Makefile, usr.sbin/virtual_oss Makefile

virtual_oss: build commands/libs in parallel

Reviewed by:    christos
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54703
DeltaFile
+2-0lib/virtual_oss/Makefile
+2-0usr.sbin/virtual_oss/Makefile
+4-02 files

FreeBSD/src 497a136lib/virtual_oss Makefile, usr.sbin/virtual_oss Makefile

virtual_oss: remove needless .include in intermediate Makefile

It doesn't define anything we use.

Reviewed by:    christos
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54702
DeltaFile
+0-1lib/virtual_oss/Makefile
+0-1usr.sbin/virtual_oss/Makefile
+0-22 files

LLVM/project 59ccb7fllvm/test/CodeGen/X86 clmul-vector.ll clmul.ll

[X86] Assume pclmulqdq handling on SSE42 or later in clmul tests (#176146)

The pclmulqdq ISA has been available on all known intel/amd targets with
SSE42, however they aren't included in the x86-64 levels (I'm not sure
why not).

To improve signal:noise ratio in the clmul tests this patch proposes to
add `-mattr=+pclmul` to SSE42 and later RUNs while retaining baseline
x86-64 coverage with AND without pclmul

I really want to avoid a mess similar to the AVX512 ISA permutation test
coverage
DeltaFile
+2,505-1,743llvm/test/CodeGen/X86/clmul-vector.ll
+2,112-1,979llvm/test/CodeGen/X86/clmul.ll
+4,617-3,7222 files

FreeBSD/src 484edabsys/net iflib.c

iflib: remove convoluted custom zeroing code

Replace a collection of aliasing violations and ifdefs with memset
(which now expands to __builtin_memset and should be quite reliably
inlined.)  The old code is hard to maintain as evidenced by the most
recent change to if_pkt_info_t updating the defines, but not the zeroing
code.

Reviewed by:    gallatin, erj
Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Fixes:          43d7ee540efe ("iflib: support for transmit side nic KTLS offload")
Differential Revision:  https://reviews.freebsd.org/D54605

(cherry picked from commit 31e7dc6b9a000b02353bfc41cbd897533287cda2)
DeltaFile
+5-60sys/net/iflib.c
+5-601 files

FreeBSD/src 296ebf7sys/net iflib.c

iflib: remove convoluted custom zeroing code

Replace a collection of aliasing violations and ifdefs with memset
(which now expands to __builtin_memset and should be quite reliably
inlined.)  The old code is hard to maintain as evidenced by the most
recent change to if_pkt_info_t updating the defines, but not the zeroing
code.

Reviewed by:    gallatin, erj
Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Fixes:          43d7ee540efe ("iflib: support for transmit side nic KTLS offload")
Differential Revision:  https://reviews.freebsd.org/D54605

(cherry picked from commit 31e7dc6b9a000b02353bfc41cbd897533287cda2)
DeltaFile
+5-60sys/net/iflib.c
+5-601 files

LLVM/project 9ed356dclang/lib/Basic/Targets LoongArch.cpp, clang/lib/Driver/ToolChains Gnu.cpp

[clang][LoongArch] Add support for LoongArch32

This patch adds support for LoongArch32, as introduced in
la-toolchain-conventions v1.2.

Co-authored-by: Sun Haiyong <sunhaiyong at zdbr.net>
Link: https://github.com/loongson/la-toolchain-conventions/releases/tag/releases%2Fv1.2
Link: https://gcc.gnu.org/pipermail/gcc-patches/2025-December/703312.html
DeltaFile
+89-0clang/test/CodeGen/LoongArch/targetattr-la64.c
+0-89clang/test/CodeGen/LoongArch/targetattr.c
+27-4clang/test/Driver/loongarch-march.c
+26-0clang/test/CodeGen/LoongArch/targetattr-la32.c
+16-2clang/lib/Driver/ToolChains/Gnu.cpp
+16-2clang/lib/Basic/Targets/LoongArch.cpp
+174-9711 files not shown
+228-11017 files

LLVM/project 473f52bmlir/include/mlir/Analysis/DataFlow SparseAnalysis.h IntegerRangeAnalysis.h, mlir/lib/Analysis/DataFlow SparseAnalysis.cpp IntegerRangeAnalysis.cpp

[mlir][Analysis] Clean up `visitNonControlFlowArguments`
DeltaFile
+28-13mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h
+5-10mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp
+5-5mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
+3-5mlir/include/mlir/Analysis/DataFlow/IntegerRangeAnalysis.h
+41-334 files

LLVM/project f764337clang/lib/CIR/Dialect/IR CIRDialect.cpp, mlir/include/mlir/Interfaces ControlFlowInterfaces.h

[mlir][Interfaces] Split successor inputs from region successor (#175815)

This commit simplifies the design of the `RegionBranchOpInterface`. The
property of being a successor input is now independent of the region
branch point.

There is a new API for querying successor inputs:
`RegionBranchOpInterface::getSuccessorInputs(RegionSuccessor)`. Note
that this function does **not** take a `RegionBranchPoint` as parameter.

The `RegionSuccessor` API is now also simpler: it no longer stores
successor inputs. A region successor is simply `Region *`, wrapped
around a convenience API.

Note: This commit is mostly mechanical. Analyses / transformations that
build on top of the `RegionBranchOpInterface` (e.g.,
`visitNonControlFlowArguments` API) can likely be simplified in
follow-up commits.


    [6 lines not shown]
DeltaFile
+52-12clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+43-20mlir/lib/Dialect/SCF/IR/SCF.cpp
+43-12mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+12-30mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+28-11mlir/lib/Dialect/Transform/IR/TransformOps.cpp
+36-3mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+214-8836 files not shown
+446-20742 files

LLVM/project a824a88flang/lib/Lower/OpenMP Clauses.cpp ClauseProcessor.cpp, flang/test/Lower/OpenMP num-threads-dims.f90

[Flang] Add lowering from flang to mlir for num_threads
DeltaFile
+61-0flang/test/Lower/OpenMP/num-threads-dims.f90
+10-3flang/lib/Lower/OpenMP/Clauses.cpp
+5-3flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+3-1llvm/include/llvm/Frontend/OpenMP/ClauseT.h
+79-74 files

LLVM/project 8164f1acmake/Modules LLVMVersion.cmake

Bump version to 22.1.0-rc1
DeltaFile
+1-1cmake/Modules/LLVMVersion.cmake
+1-11 files