LLVM/project f958f17mlir/lib/Dialect/Arith/Transforms EmulateWideInt.cpp, mlir/test/Dialect/Arith emulate-wide-int.mlir

Revert "[MLIR][Arith][WIE] Fix Conversions for Shift Left and Right Ops" (#200512)

Reverts llvm/llvm-project#198457 since there are buildbot failures.
DeltaFile
+173-119mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp
+89-160mlir/test/Dialect/Arith/emulate-wide-int.mlir
+262-2792 files

LLVM/project 9b5d0aflldb/include/lldb/Core DemangledNameInfo.h

[lldb] Halve the size of indexes in DemangledNameInfo (NFC) (#200506)

Mangled should not be more than 4GB. This will halve the size of
`DemangledNameInfo` from 128 to 64 bytes.
DeltaFile
+8-8lldb/include/lldb/Core/DemangledNameInfo.h
+8-81 files

FreeBSD/src 692b0efsys/kern syscalls.master

syscalls.master: Allow clock_nanosleep in capability mode

It is akin to nanosleep(2) and does not access global namespaces.
It should be permitted in capability mode.

Reviewed by: vangyzen
Fixes: 3f8455b0905a ("Add clock_nanosleep()")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57343
DeltaFile
+1-1sys/kern/syscalls.master
+1-11 files

FreeBSD/src 32a7ba2sbin/route route_netlink.c

route: Fix `flush` w/o specified address family

PR:             291867
Reported by:    gavin
Reviewed by:    pouria, melifaro
Sponsored by:   The FreeBSD Foundation
Fixes: c597432e2297 ("route(8): convert to netlink")
Differential Revision: https://reviews.freebsd.org/D57336
DeltaFile
+2-1sbin/route/route_netlink.c
+2-11 files

LLVM/project 34da785mlir/lib/Dialect/Vector/Transforms VectorEmulateNarrowType.cpp, mlir/test/Dialect/Vector vector-emulate-narrow-type.mlir vector-emulate-narrow-type-unaligned.mlir

[mlir][vector] Fix incorrect byte-alignment assumption in ConvertVectorStore (#189235)

When `ConvertVectorStore` emits the narrow-type emulation for a
`vector.store` into a 2-D memref, it previously assumed that if the
trailing dimension of the memref exactly matches the vector size
(`trailingDimsMatch`), then the last-dimension index must be zero and no
sub-byte alignment adjustment is needed. This assumption is wrong: a
valid store such as

  vector.store %v, %src[%c0, %c1] : memref<3x4xi2>, vector<4xi2>

has a non-zero column index (%c1 == 1) even though trailingDim (4)
equals the vector size (4). The incorrect shortcut caused the pattern to
fall into the "aligned" path and emit a plain bitcast + store at byte
offset 0, silently dropping elements [1], [2], [3] of the first byte and
overwriting the wrong memory.

Fix: use `linearizedInfo.intraDataOffset` when it can be folded, so
constant non-zero offsets emit the required partial RMW stores. If the

    [11 lines not shown]
DeltaFile
+29-58mlir/test/Dialect/Vector/vector-emulate-narrow-type.mlir
+24-0mlir/test/Dialect/Vector/vector-emulate-narrow-type-unaligned.mlir
+22-0mlir/test/Dialect/Vector/vector-emulate-narrow-type-unaligned-dynamic-store.mlir
+5-13mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+2-1mlir/test/Dialect/Vector/flatten-memref-and-emulate-narrow-types.mlir
+82-725 files

LLVM/project 4408d32llvm/lib/Target/RISCV/GISel RISCVRegisterBanks.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+1-2llvm/lib/Target/RISCV/GISel/RISCVRegisterBanks.td
+1-21 files

FreeBSD/src b5dce0alib/libutil login_class.c

login_class: Fix kqueues, pipebuf resource types

* kqueues is a count but is listed as a size

* pipebuf is a size but is listed as a count

PR:             295623
MFC after:      1 week
Fixes:          a4c04958f526 ("libutil: support RLIMIT_PIPEBUF")
Fixes:          85a0ddfd0b26 ("Add a resource limit for the total...")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57333
DeltaFile
+2-2lib/libutil/login_class.c
+2-21 files

LLVM/project 50ed21dclang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenStmt.cpp CIRGenFunction.cpp

[CIR] Add RunCleanupsScope RAII around loop bodies (#200461)

This fixes yet another problem where a ternary operator in a loop body
was leading to an unterminated region. We have long had a comment
suggesting that we should consider loop-specific cleanup handling to
mimic the cleanup exit block that classic codegen creates. I previously
believed that wasn't really necessary because CIR's structured
representation handles branching through cleanups during later lowering.
That's true, but not having something to trigger the cleanup stack
handling when we exit the loop's body region was causing us to miss
emitting a yield after the loop operation.

This change introduces the RAII object for cleanups. This also allows me
to remove some handling in LexicalScope::cleanup that was basically
there to smooth over terminator insertion problems.

Assisted-by: Cursor / claude-opus-4.7
DeltaFile
+202-0clang/test/CIR/CodeGen/loop-cond-cleanup.cpp
+4-20clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+0-16clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+206-374 files

FreeBSD/ports b1346a4biology/sra-tools pkg-plist Makefile, biology/sra-tools/files patch-build_env.cmake patch-ncbi-vdb_libs_kfg_CMakeLists.txt

biology/sra-tools: lib64 -> lib

Patch to better respect filesystem hierarchy.  The lib64 default was
left alone originally because the old esoteric build system was
difficult to patch.  The new system is much simpler.  Reporter
indicated that the presence of ${PREFIX}/lib64 causes build failures
in some other ports.

PR:             294837
Reported by:    milios at ccsys.com
DeltaFile
+22-22biology/sra-tools/pkg-plist
+10-1biology/sra-tools/files/patch-build_env.cmake
+10-0biology/sra-tools/files/patch-ncbi-vdb_libs_kfg_CMakeLists.txt
+3-3biology/sra-tools/Makefile
+1-1biology/sra-tools/distinfo
+46-275 files

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

[clang-doc] Add specialization info to record references (#191252)

Class specializations listed in a namespace's page had the problem of
being indistinguishable from each other since they couldn't display
their template arguments. They would just be displayed as a series of
the base
template's name. Now, we can display those arguments in HTML
for a better experience.

In JSONGenerator, we query the set of Infos to find the Reference's
corresponding RecordInfo. That requires keeping a pointer to the map in
JSONGenerator.

Fixes #181771
DeltaFile
+49-22clang-tools-extra/clang-doc/JSONGenerator.cpp
+47-1clang-tools-extra/test/clang-doc/json/class-specialization.cpp
+1-1clang-tools-extra/clang-doc/assets/namespace-template.mustache
+97-243 files

OpenBSD/src hFnte3Lsys/arch/arm64/dev aplns.c, sys/dev/ic nvme.c

   But the NVMe controller integrated on Apple silicon (M1, M2, etc.)
   advertises support for 128-byte submission queue entries but only works
   with 64-byte entries.  So let aplns(4) override the size.

   ok jcs@
VersionDeltaFile
1.128+7-5sys/dev/ic/nvme.c
1.18+2-1sys/arch/arm64/dev/aplns.c
+9-62 files

OpenBSD/ports U28hGHjeditors/focuswriter distinfo Makefile, editors/focuswriter/pkg PLIST

   Update focuswriter to 1.9.0.
VersionDeltaFile
1.21+2-2editors/focuswriter/distinfo
1.40+1-1editors/focuswriter/Makefile
1.14+1-1editors/focuswriter/pkg/PLIST
+4-43 files

FreeBSD/src c5ad71csys/kern subr_eventhandler.c

eventhandler: Fix the NODEBUG build

Reported by:    Michael Butler <imb at protected-networks.net>
Fixes:          735b16d490ae ("eventhandler: Fix a race when pruning eventhandlers")

(cherry picked from commit 3d8928114c4fec6cefbb1cd566ef8d1b3d2999e2)
DeltaFile
+3-1sys/kern/subr_eventhandler.c
+3-11 files

FreeBSD/ports ff0628csysutils/conky distinfo Makefile, sysutils/conky/files patch-src_conky.cc

sysutils/conky{-awesome}: Update to 1.23.0

ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.23.0

Add 2 cherry-picked commits to:
 * Allow the specific options of conky-awesome to build
 * Fix an issue with mouse events repropagation

Features
 * feat(lua): add conky_surface() for creating Cairo surface on Wayland; update
   conky_window.width/height from Wayland
 * Improve logging and termination

Bug fixes

 * fix(x11): mouse event handling - scroll direction, hit testing, XInput2
   performance
 * fix(settings): simplify background alpha settings (#2109)
 * Fix #2333: implement hash-based caching for execp to persist scroll state

    [15 lines not shown]
DeltaFile
+19-0sysutils/conky/files/patch-src_conky.cc
+7-3sysutils/conky/distinfo
+5-1sysutils/conky/Makefile
+31-43 files

LLVM/project 03d8fa7mlir/lib/Dialect/Arith/Transforms EmulateWideInt.cpp, mlir/test/Dialect/Arith emulate-wide-int.mlir

[MLIR][Arith][WIE] Fix Conversions for Shift Left and Right Ops (#198457)

The current conversions for `arith.shli`, `arith.shrui` and
`arith.shrsi` does not handle shift by zero correctly. It tries to shift
a `iN` value by N and results in a poison value.

This PR fixes it by adopting the math used by RISCV backend to lower 64
bit shift operations for 32 bit targets. This implementation uses less
number of ops than the existing one.

Negative proofs for current implementation:
shli: https://alive2.llvm.org/ce/z/_Q8ZuC
shrui: https://alive2.llvm.org/ce/z/vDZeEV
shrsi: https://alive2.llvm.org/ce/z/vZVatx

Proofs for attempted fix in this PR:
shli: https://alive2.llvm.org/ce/z/SDJJXW
shrui: https://alive2.llvm.org/ce/z/FZcP5y
shrsi: https://alive2.llvm.org/ce/z/5nk86z
DeltaFile
+118-172mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp
+160-89mlir/test/Dialect/Arith/emulate-wide-int.mlir
+278-2612 files

OpenBSD/ports Ie5tbS4math/gunits Makefile distinfo, math/gunits/pkg PLIST

   Update gunits to 2.27.
VersionDeltaFile
1.19+4-2math/gunits/Makefile
1.7+2-2math/gunits/distinfo
1.5+2-0math/gunits/pkg/PLIST
+8-43 files

FreeBSD/ports 0a0abf3security/vuxml/vuln 2026.xml

security/vuxml: Add www/gohugo vulnerabilities

 * CVE-2026-39826
 * CVE-2026-39823
DeltaFile
+42-0security/vuxml/vuln/2026.xml
+42-01 files

OpenBSD/ports d0VGVyqlang/racket-minimal Makefile distinfo, lang/racket-minimal/pkg PLIST

   Update to racket 9.2.

   Try to use the native backend for aarch64, i386 and powerpc.
   Add riscv64 to portable.
VersionDeltaFile
1.42+24-15lang/racket-minimal/pkg/PLIST
1.103+5-9lang/racket-minimal/Makefile
1.41+2-2lang/racket-minimal/distinfo
+31-263 files

FreeBSD/ports 925e012sysutils/prokshy distinfo Makefile

sysutils/prokshy: Update to 0.1.3
DeltaFile
+3-3sysutils/prokshy/distinfo
+1-1sysutils/prokshy/Makefile
+4-42 files

LLVM/project 0f8a64fllvm/lib/CodeGen AtomicExpandPass.cpp, llvm/test/Transforms/AtomicExpand/X86 expand-atomic-non-integer.ll

[AtomicExpand] Preserve flags expanding loads/stores to cmpxchg/atomicrmw (#200324)

Don't drop volatile and syncscope flags.
DeltaFile
+60-0llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
+6-3llvm/lib/CodeGen/AtomicExpandPass.cpp
+66-32 files

FreeBSD/ports 7501b20sysutils/fwupd pkg-plist distinfo, sysutils/fwupd/files patch-libfwupdplugin_meson.build patch-meson.build

sysutils/fwupd: Update to 2.1.4
DeltaFile
+31-20sysutils/fwupd/pkg-plist
+3-3sysutils/fwupd/distinfo
+1-4sysutils/fwupd/Makefile
+2-2sysutils/fwupd/files/patch-libfwupdplugin_meson.build
+2-2sysutils/fwupd/files/patch-meson.build
+1-1sysutils/fwupd/files/patch-plugins_uefi-capsule_fu-uefi-capsule-backend-freebsd.c
+40-326 files

LLVM/project 6029005clang/include/clang/DependencyScanning DependencyScanningFilesystem.h DependencyScanningService.h, clang/lib/DependencyScanning DependencyScanningFilesystem.cpp DependencyScanningService.cpp

[clang][scan-deps] Add option to disable caching stat failures (#200484)

While the source code isn't supposed to change during a build, in some
environments it does. This adds an option that disables caching of stat
failures, meaning that source files can be added to the build during
scanning.

This adds a `-no-cache-negative-stats` option to clang-scan-deps to
enable this behavior. There are no tests for clang-scan-deps as there's
no reliable way to do so from it. A unit test has been added that
modifies the filesystem between scans to test it.

Co-authored-by: Michael Spencer <bigcheesegs at gmail.com>
DeltaFile
+75-27clang/unittests/DependencyScanning/DependencyScanningFilesystemTest.cpp
+36-6clang/lib/DependencyScanning/DependencyScanningFilesystem.cpp
+25-0clang/lib/DependencyScanning/DependencyScanningService.cpp
+8-15clang/include/clang/DependencyScanning/DependencyScanningFilesystem.h
+8-0clang/include/clang/DependencyScanning/DependencyScanningService.h
+4-0clang/tools/clang-scan-deps/ClangScanDeps.cpp
+156-483 files not shown
+159-509 files

FreeBSD/ports 18f7f45multimedia/jellyfin pkg-plist distinfo

multimedia/jellyfin: Fix distinfo and pkg-plist after 10.11.10 update

Discussed with: bapt

(cherry picked from commit a9b20a75cbea774fefc1edd4078440ad12b22271)
DeltaFile
+6-6multimedia/jellyfin/pkg-plist
+5-5multimedia/jellyfin/distinfo
+11-112 files

NetBSD/pkgsrc dx9UFChdoc TODO

   doc/TODO: + exim-4.99.4.
VersionDeltaFile
1.27321+2-1doc/TODO
+2-11 files

OpenBSD/ports dokihchconverters/dos2unix Makefile distinfo

   Update dos2unix to 7.5.6.
VersionDeltaFile
1.32+3-3converters/dos2unix/Makefile
1.25+2-2converters/dos2unix/distinfo
+5-52 files

LLVM/project 37732aboffload/libomptarget interface.cpp

[OpenMP] Fix RPC register segfaulting without PM initialized (#200494)

Summary:
This happens in practice if you link libomptarget without initializing
it in the Flang RPC IO handling.
DeltaFile
+3-0offload/libomptarget/interface.cpp
+3-01 files

FreeBSD/ports f991008www/gohugo distinfo Makefile

www/gohugo: Update to 0.162.0

ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.162.0

Bug fixes

 * hugolib: Fix Page.GitInfo for modules with go.mod in a repo subdirectory
 * Fix typo in CONTRIBUTING.md
 * resources: Fix the :counter placeholder
 * commands: Fix import from Jekyll
 * Fix prevention of direct symlink reads in resources.Get
 * commands: Fix github-dark chromastyles

Improvements

 * Disallow HTML content by default
 * Add image processing support for AVIF
 * config: Preserve intentionally empty maps
 * hugolib: Merge existing hugo_stats.json when renderSegments is set

    [38 lines not shown]
DeltaFile
+5-5www/gohugo/distinfo
+1-2www/gohugo/Makefile
+6-72 files

FreeBSD/ports 8fabe00audio/baresip Makefile distinfo

audio/baresip: Update 4.7.0 => 4.8.0

Changelog:
https://github.com/baresip/baresip/releases/tag/v4.8.0

PR:             295262
Reported by:    Herbert J. Skuhra <herbert at gojira.at>
Sponsored by:   Subcarpathian BSD User Group
Sponsored by:   UNIS Labs

(cherry picked from commit a8fa0a9c2966da28b0ab23a149c59988d43a8c4e)
DeltaFile
+5-8audio/baresip/Makefile
+3-3audio/baresip/distinfo
+1-2audio/baresip/pkg-plist
+9-133 files

FreeBSD/ports ac45b1eaudio/baresip distinfo pkg-plist

audio/baresip: Update 4.6.0 => 4.7.0

Changelog:
https://github.com/baresip/baresip/releases/tag/v4.7.0

PR:             294307
Sponsored by:   UNIS Labs

(cherry picked from commit b4be24831daeb408787551c1c0c9ddf7bb4f6b87)
DeltaFile
+5-5audio/baresip/distinfo
+2-2audio/baresip/pkg-plist
+2-2audio/baresip/Makefile
+9-93 files

FreeBSD/ports dbd1fe5audio/re distinfo Makefile

audio/re: Update 4.8.0 => 4.8.1

Changelog:
https://github.com/baresip/re/releases/tag/v4.8.1

PR:             295686
Approved by:    Marek Zarychta <zarychtam at plan-b.pwste.edu.pl>
Security:       GHSA-hvxv-v2gp-v93h
Security:       https://github.com/baresip/baresip/issues/3705
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 46280db2874b52f8ab8b353c2561d8a51b5f9040)
DeltaFile
+3-3audio/re/distinfo
+1-1audio/re/Makefile
+1-1audio/re/pkg-plist
+5-53 files