LLVM/project e830d88clang/lib/Analysis UnsafeBufferUsage.cpp, clang/test/SemaCXX warn-unsafe-buffer-usage-default-arg-uninstantiated-crash.cpp

[UnsafeBufferUsage] Check for uninstantiated default arguments to prevent crash. (#188817)

Fix a crash introduced by
https://github.com/llvm/llvm-project/pull/184899

The -Wunsafe-buffer-usage analysis was crashing when it encountered a
template function with a default argument that hadn't been instantiated
yet. This occurred in populateStmtsForFindingGadgets when it attempted
to access the default argument of each parameter.

This fix adds a check to ensure the default argument is instantiated
before attempting to access it.

Assisted-by: Gemini
DeltaFile
+13-0clang/test/SemaCXX/warn-unsafe-buffer-usage-default-arg-uninstantiated-crash.cpp
+2-1clang/lib/Analysis/UnsafeBufferUsage.cpp
+15-12 files

FreeNAS/freenas 373fce5src/middlewared/middlewared/pytest/unit/utils test_disk_vpd_serial.py, src/middlewared/middlewared/utils/disks_ disk_class.py

Strip double-quote and backslash from VPD serial numbers
DeltaFile
+9-6src/middlewared/middlewared/utils/disks_/disk_class.py
+3-2src/middlewared/middlewared/pytest/unit/utils/test_disk_vpd_serial.py
+12-82 files

FreeBSD/ports ab1ac51sysutils/terraform distinfo Makefile

sysutils/terraform: Update to 1.14.7

Bump Go version to 1.25.8 to suppress security scanner false positives.
DeltaFile
+27-27sysutils/terraform/distinfo
+1-2sysutils/terraform/Makefile
+28-292 files

FreeNAS/freenas bfe955csrc/middlewared/middlewared/pytest/unit/utils test_disk_sysfs_properties.py

NAS-140429 / 27.0.0-BETA.1 / Add unit tests for disk class utils (#18577)

## Context

Add unit tests overing DiskEntry properties that read from sysfs.
DeltaFile
+391-0src/middlewared/middlewared/pytest/unit/utils/test_disk_sysfs_properties.py
+391-01 files

LLVM/project 0d3e514lldb/source/DataFormatters TypeSynthetic.cpp, lldb/test/API/functionalities/data-formatter/bytecode-synthetic TestBytecodeSynthetic.py main.cpp

[lldb] Enable caching for BytecodeSyntheticChildren::FrontEnd::Update (#181199)

Update `BytecodeSyntheticChildren` to support `ChildCacheState` return
values from `@update` implementations.
DeltaFile
+24-1lldb/source/DataFormatters/TypeSynthetic.cpp
+19-1lldb/test/API/functionalities/data-formatter/bytecode-synthetic/TestBytecodeSynthetic.py
+4-1lldb/test/API/functionalities/data-formatter/bytecode-synthetic/main.cpp
+47-33 files

LLVM/project 821c22alldb/examples/python formatter_bytecode.py, lldb/test/Shell/ScriptInterpreter/Python python-bytecode.test

[lldb][bytecode] Change compiler to require update return type decl (#188637)

To better ensure that bytecode `@update` implementations return a 0/1
value (see https://github.com/llvm/llvm-project/pull/181199), this
changes the Python -> formatter bytecode compiler to require that Python
`update` methods be declared to return `bool`.

A declaration like this will be a compiler error:

```py
def update(self):
    # implementation...
```
DeltaFile
+4-4lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/RigidArrayLLDBFormatterSwift.txt
+7-0lldb/examples/python/formatter_bytecode.py
+3-3lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/RigidArrayLLDBFormatterC.txt
+2-1lldb/test/Shell/ScriptInterpreter/Python/python-bytecode.test
+16-84 files

LLVM/project df71894llvm/lib/Target/AMDGPU VOP3Instructions.td, llvm/test/CodeGen/AMDGPU llvm.amdgcn.cvt.scalef32.pk.gfx950.ll

[AMDGPU] Do not overlap dst with srcs for v_cvt_scalef32_2xpk16_fp6/bf6_f32  (#188809)

v_cvt_scalef32_2xpk16_fp6_f32 and v_cvt_scalef32_2xpk16_bf6_f32, as multipass instructions,
the destination operand must not overlap with any of the source operands.
In this work, we apply Constraints = "@earlyclobber $vdst" to these two instructions.

Fixes: LCCOMPILER-561
DeltaFile
+68-68llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk.gfx950.ll
+1-1llvm/lib/Target/AMDGPU/VOP3Instructions.td
+69-692 files

LLVM/project cb1661bllvm/lib/Transforms/Vectorize VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize tail-folding-optimize-vector-induction-width.ll struct-return-replicate.ll

[VPlan] Explicitly unroll replicate-regions without live-outs by VF. (#170212)

This patch adds a new replicateReplicateRegionsByVF transform to
unroll replicate=regions by VF, dissolving them. The transform creates
VF copies of the replicate-region's content, connects them and converts
recipes to single-scalar variants for the corresponding lanes.

The initial version skips regions with live-outs (VPPredInstPHIRecipe),
which will be added  in follow-up patches.

Depends on https://github.com/llvm/llvm-project/pull/170053

PR: https://github.com/llvm/llvm-project/pull/170212
DeltaFile
+156-0llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+49-98llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
+40-80llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
+43-41llvm/test/Transforms/LoopVectorize/VPlan/vplan-predicate-switch.ll
+9-18llvm/test/Transforms/LoopVectorize/tail-folding-optimize-vector-induction-width.ll
+6-14llvm/test/Transforms/LoopVectorize/struct-return-replicate.ll
+303-25154 files not shown
+420-53160 files

FreeBSD/ports f657cf7www/nginx-acme distinfo Makefile, www/nginx-devel distinfo Makefile

www/nginx-devel: Update to 1.29.7

Changes with nginx 1.29.7                                        24 Mar
2026

    *) Security: a buffer overflow might occur while handling a COPY or
MOVE
       request in a location with "alias", allowing an attacker to
modify
       the source or destination path outside of the document root
       (CVE-2026-27654).
       Thanks to Calif.io in collaboration with Claude and Anthropic
       Research.

    *) Security: processing of a specially crafted mp4 file by the
       ngx_http_mp4_module on 32-bit platforms might cause a worker
process
       crash, or might have potential other impact (CVE-2026-27784).
       Thanks to Prabhav Srinath (sprabhav7).

    [80 lines not shown]
DeltaFile
+3-3www/nginx-acme/distinfo
+3-3www/nginx-devel/distinfo
+1-1www/nginx-acme/Makefile
+1-1www/nginx-devel/Makefile
+1-1www/nginx-devel/version.mk
+9-95 files

FreeBSD/ports 0eba64bmisc/github-copilot-cli Makefile pkg-plist.binary, misc/github-copilot-cli/files launcher.c

misc/github-copilot-cli: Add script and binary flavors

script flavor (default): existing behavior with all npm dependencies
binary flavor (-bin): C launcher binary with all JS and Node.js
embedded in the binary, requires only node at runtime
(no Node.js, no npm packages, no native modules)

Node.js SEA (Single Executable Application) cannot be used because
postject_find_resource() has no FreeBSD code path. The binary flavor
instead uses a C launcher that embeds all copilot JS files as a gzip-
compressed tar archive, extracts to ~/.cache/github-copilot-cli/v<ver>/
on first run, and executes them with the system node.
DeltaFile
+187-0misc/github-copilot-cli/files/launcher.c
+117-38misc/github-copilot-cli/Makefile
+1-0misc/github-copilot-cli/pkg-plist.binary
+305-383 files

FreeBSD/ports 0e67d46math/py-libpoly distinfo Makefile

math/py-libpoly: Fix fetch: Release was re-rolled
DeltaFile
+2-4math/py-libpoly/distinfo
+1-0math/py-libpoly/Makefile
+3-42 files

FreeBSD/ports 95dcb5amisc/pytorch Makefile

misc/pytorch: Broken on aarch64

Reported by:    fallout
DeltaFile
+1-0misc/pytorch/Makefile
+1-01 files

LLVM/project e849c68libcxx/utils/ci/docker linux-builder-base.dockerfile

[libc++] Install venv in the CI Docker image (#188825)

To support #165769
DeltaFile
+1-0libcxx/utils/ci/docker/linux-builder-base.dockerfile
+1-01 files

LLVM/project a4ce617clang/include/clang/AST ASTContext.h

[CUDA] Use SetVector for CUDADeviceVarODRUsedByHost for determinism (#188616)

This replaces DenseSet with SetVector to avoid non-deterministic
iteration order
when emitting device variables ODR-used by host.
DeltaFile
+1-1clang/include/clang/AST/ASTContext.h
+1-11 files

FreeBSD/ports 2ce2108security/modsecurity3-nginx distinfo Makefile, www/nginx distinfo Makefile

www/nginx: Update to 1.28.3

Changes with nginx 1.28.3                                        24 Mar
2026

    *) Security: a buffer overflow might occur while handling a COPY or
MOVE
       request in a location with "alias", allowing an attacker to
modify
       the source or destination path outside of the document root
       (CVE-2026-27654).
       Thanks to Calif.io in collaboration with Claude and Anthropic
       Research.

    *) Security: processing of a specially crafted mp4 file by the
       ngx_http_mp4_module on 32-bit platforms might cause a worker
process
       crash, or might have potential other impact (CVE-2026-27784).
       Thanks to Prabhav Srinath (sprabhav7).

    [40 lines not shown]
DeltaFile
+3-3security/modsecurity3-nginx/distinfo
+3-3www/nginx/distinfo
+3-3www/nginx-acme/distinfo
+2-2security/modsecurity3-nginx/Makefile
+1-1www/nginx/Makefile
+1-1www/nginx-acme/Makefile
+13-132 files not shown
+15-158 files

LLVM/project 1aefe3boffload/test/offloading strided_offset_multidim_update.c

[offload][L0] Remove XFAIL from XPASSING test strided_offset_multidim_update.c (#188836)

Passing now I guess

https://lab.llvm.org/buildbot/#/builders/225/builds/4729

```
********************
Unexpectedly Passed Tests (1):
  libomptarget :: spirv64-intel :: offloading/strided_offset_multidim_update.c
```

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+0-1offload/test/offloading/strided_offset_multidim_update.c
+0-11 files

LLVM/project 80baf85mlir/include/mlir/Interfaces ValueBoundsOpInterface.h, mlir/lib/Analysis FlatLinearValueConstraints.cpp

[mlir] Bump SmallVector sizes along hot paths (#188827)

This is based on empirical data from compiling 9 medium to large
language and diffusion models with IREE. e2e, this improves compilation
times by 0.33% in terms of `instructions:u` (same metric is used by the
[CTMark for
Clang](https://www.npopov.com/2024/01/01/This-year-in-LLVM-2023.html#compile-time-improvements)).

I explored using other constants and these are the ones that performed
best while keeping the sizes relatively small.
DeltaFile
+8-4mlir/lib/IR/AffineMap.cpp
+6-2mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
+6-2mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
+4-3mlir/lib/Transforms/Utils/DialectConversion.cpp
+3-1mlir/lib/Interfaces/InferIntRangeInterface.cpp
+3-1mlir/lib/Analysis/FlatLinearValueConstraints.cpp
+30-133 files not shown
+37-169 files

Linux/linux 46b5132fs/smb/client Makefile

Merge tag 'v7.0-rc5-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fix from Steve French:

 - Fix rebuild of mapping table

* tag 'v7.0-rc5-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6:
  smb/client: ensure smb2_mapping_table rebuild on cmd changes
DeltaFile
+4-3fs/smb/client/Makefile
+4-31 files

LLVM/project ecfcdd6libc/cmake/modules LLVMLibCTestRules.cmake, libc/test CMakeLists.txt

[libc] Fix check-libc-lit running tests during build (#188081)

Updated check-libc-lit to depend only on build-only targets. Added
libc-integration-tests-build to track integration test executables and
updated LLVMLibCTestRules.cmake to populate it.

Removed incorrect dependencies on execution suites in include and
integration tests that were introduced in #184366.
DeltaFile
+29-7libc/cmake/modules/LLVMLibCTestRules.cmake
+3-1libc/test/CMakeLists.txt
+1-1libc/test/include/CMakeLists.txt
+1-1libc/test/integration/CMakeLists.txt
+34-104 files

FreeBSD/ports 6481257emulators/fuse Makefile distinfo

emulators/fuse: update to 1.7.0

Drop SVGALIB support, it has been removed upstream.
DeltaFile
+4-8emulators/fuse/Makefile
+3-3emulators/fuse/distinfo
+2-3emulators/fuse/pkg-plist
+9-143 files

FreeBSD/ports d3f147femulators/fuse-utils distinfo pkg-plist

emulators/fuse-utils: update to 1.4.4
DeltaFile
+3-3emulators/fuse-utils/distinfo
+3-3emulators/fuse-utils/pkg-plist
+1-2emulators/fuse-utils/Makefile
+7-83 files

LLVM/project 5aae014llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 vector-loop-backedge-elimination-epilogue.ll epilogue-vectorization-fix-scalar-resume-values.ll

[LV] Refine tripcount estimate using minimum iteration count rt check. (#188135)

When not folding the tail the minimum iteration count check ensures that
the vector loop is not executed if computing the trip count wraps around
to zero, as the trip count must be at least VF when vectorizing without
tail-folding.

Add and use a new tryToRefineConstantMaxTripCount helper. This ensures
we do not create dead main loops when vectorizing the epilogue, as we
choose smaller main VFs.

PR: https://github.com/llvm/llvm-project/pull/188135
DeltaFile
+66-88llvm/test/Transforms/LoopVectorize/X86/epilog-vectorization-ordered-reduction.ll
+36-3llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+4-25llvm/test/Transforms/LoopVectorize/AArch64/vector-loop-backedge-elimination-epilogue.ll
+6-22llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
+112-1384 files

FreeBSD/ports f9d9699emulators/libspectrum pkg-plist distinfo

emulators/libspectrum: update to 1.6.0
DeltaFile
+3-3emulators/libspectrum/pkg-plist
+3-3emulators/libspectrum/distinfo
+1-2emulators/libspectrum/Makefile
+7-83 files

LLVM/project 120c4cfllvm/lib/Target/X86 X86ISelLowering.cpp

[X86] Remove custom widening legalization of vector udiv/sdiv/urem/srem. (#188786)

This custom legalization was preserving splat values in widened
build_vector to allow the div by constant optimization to work.

We now allow division by constant optimization on narrow vector types
before type legalization so we no longer need this.
DeltaFile
+0-29llvm/lib/Target/X86/X86ISelLowering.cpp
+0-291 files

FreeBSD/ports cf8f1actextproc/diff-so-fancy Makefile pkg-plist

textproc/diff-so-fancy: Update 1.4.4 => 1.4.6, take maintainership

* Add DOCS option
* Add support for testing
* Simplify do-install targets
* Pet portclippy(1) and portfmt(1)

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+21-10textproc/diff-so-fancy/Makefile
+5-3textproc/diff-so-fancy/pkg-plist
+3-3textproc/diff-so-fancy/distinfo
+29-163 files

LLVM/project 14321cclldb/source/Host/common File.cpp, lldb/unittests/Host FileTest.cpp

[lldb] Fix missing return in NativeFile::SeekFromEnd stream path (#188596)

The stream path in NativeFile::SeekFromEnd was missing a `return result`
statement after the fseek block, causing it to fall through to the error
handler which overwrites the error status with "invalid file handle"
even on success. Both SeekFromStart and SeekFromCurrent correctly return
after their stream blocks.

while no active callers to this function, It is still worth fixing this.
DeltaFile
+30-0lldb/unittests/Host/FileTest.cpp
+1-0lldb/source/Host/common/File.cpp
+31-02 files

LLVM/project 48e9c76llvm/lib/CodeGen/AsmPrinter CodeViewDebug.cpp CodeViewDebug.h, llvm/lib/IR DebugInfoMetadata.cpp

Revert "[CodeView] Generate `S_DEFRANGE_REGISTER_REL_INDIR` (#187709)" (#188833)

This reverts commit 08a4085. The change breaks `nvro.cpp` in the
debugging tests on the buildbot
(https://lab.llvm.org/buildbot/#/builders/46/builds/32873) but works
locally for me. It might be because the buildbot is using an older
Windows SDK.

In addition, it reverts parts of #188769 (using `.` over `->`).
DeltaFile
+0-212llvm/test/DebugInfo/COFF/indirect-local.ll
+66-56llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+40-29llvm/test/DebugInfo/COFF/types-array-advanced.ll
+19-38llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+1-34llvm/lib/MC/MCParser/AsmParser.cpp
+7-16llvm/lib/IR/DebugInfoMetadata.cpp
+133-3858 files not shown
+149-44314 files

NetBSD/src wyTltJYsys/arch/arm/imx imx23_timrot.c

   KNF: drop usage of extern in .c file
VersionDeltaFile
1.11+2-4sys/arch/arm/imx/imx23_timrot.c
+2-41 files

LLVM/project 13f1fd0llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[TargetLowering] Remove AllowTruncation from matchUnaryPredicate in BuildExactSDIV/BuildExactUDIV. (#188785)

After #187378 these are no longer tested. I'm concerned that we can
create illegal scalar types after type legalization. I don't know how to
test this now so I'd like to remove support until it is needed and can
be tested.
DeltaFile
+2-4llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+2-41 files

NetBSD/pkgsrc GQO6q9bdoc CHANGES-2026

   doc: Updated devel/kdiff3 to 1.12.4
VersionDeltaFile
1.1908+2-1doc/CHANGES-2026
+2-11 files