LLVM/project 48887a5mlir/lib/Dialect/Arith/Transforms IntRangeOptimizations.cpp

[mlir][arith] Fix crash in IntRangeOptimizations due to stale solver state (#186187)

When the IntRangeOptimizationsPass runs applyPatternsGreedily with
constant folding enabled, constant folding can restructure blocks — for
example by removing a block argument. The integer range solver, which
pre-computed range information for the original block arguments, is now
out of sync: subsequent range queries about the new (reused) argument
positions return stale information computed for the old arguments,
causing crashes.

Fix by passing enableConstantFolding(false) in GreedyRewriteConfig so
that the solver's state remains consistent with the IR throughout the
rewrite.

Fixes #122076

Assisted-by: Claude Code
DeltaFile
+6-1mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
+6-11 files

FreeNAS/freenas 3926c45src/middlewared/middlewared/plugins/truenas_connect hostname.py, src/middlewared/middlewared/pytest/unit/plugins test_truenas_connect.py

Fix TNC sync_interface_ips empty IPs and repeated concurrent calls

This commit fixes an issue where sync_interface_ips could send empty IPs to the
TNC account-service (causing 400 errors) and where concurrent netlink events
would each independently hit the TNC API with the same payload.

When the HTTP call failed due to empty IPs, the cache was never populated, so
every subsequent netlink event retried the same failing call — creating an
infinite retry storm. Additionally, a single DHCP renewal would fire 3-5 netlink
events, each scheduling a call_later(5), all passing the cache check
simultaneously, and all hitting the TNC API concurrently with identical payloads.

An asyncio.Lock serializes concurrent sync_interface_ips calls so only the first
performs the HTTP sync while subsequent calls hit the cache and return early. An
empty IP guard skips the HTTP call when no IPs are available (static + dynamic
combined) but still caches the result to prevent retry storms.
DeltaFile
+92-0src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+45-33src/middlewared/middlewared/plugins/truenas_connect/hostname.py
+137-332 files

LLVM/project 5e2d615clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

[LifetimeSafety] Remove confidence tracking and simplify liveness analysis
DeltaFile
+31-69clang/unittests/Analysis/LifetimeSafetyTest.cpp
+43-37clang/lib/Analysis/LifetimeSafety/Checker.cpp
+34-41clang/test/Sema/warn-lifetime-safety.cpp
+4-14clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+4-4clang/lib/Sema/AnalysisBasedWarnings.cpp
+116-1655 files

Illumos/gate b7ffd22usr/src/data/ucode/intel 000A06E1-01, usr/src/pkg/manifests system-microcode-intel.p5m

17936 Update Intel microcode to 20260227
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+1-1usr/src/pkg/manifests/system-microcode-intel.p5m
+0-0usr/src/data/ucode/intel/000A06E1-01
+1-12 files

LLVM/project 68dd91emlir/lib/Conversion/AffineToStandard AffineToStandard.cpp, mlir/lib/Dialect/Arith/IR ArithOps.cpp

[mlir][affine] Fix crash in AffineParallelLowering for unsupported reductions (#186189)

When lowering affine.parallel with a reduction kind that has no identity
value (e.g. "assign"), getIdentityValueAttr() returns nullptr. The
caller getIdentityValue() then passed this null TypedAttr to
arith::ConstantOp::create(), triggering an LLVM_ERROR crash:
  "Failed to infer result type(s): arith.constant"

Fixes #185250

Assisted-by: Claude Code
DeltaFile
+17-0mlir/test/Conversion/AffineToStandard/lower-affine-invalid.mlir
+7-3mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
+4-3mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+28-63 files

LLVM/project a8a00d5bolt/docs BinaryAnalysis.md

Drop FIXMEs, open separate issues instead
DeltaFile
+11-7bolt/docs/BinaryAnalysis.md
+11-71 files

LLVM/project bd05e1bmlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Dialect/Arith canonicalize.mlir

[mlir][arith] Fix crash when constant-folding truncf of inf to FiniteOnly float type (#186191)

When arith.truncf constant-folding converts a value such as infinity to
a type with fltNonfiniteBehavior::FiniteOnly (e.g. f4E2M1FN),
APFloat::convert hits an llvm_unreachable("semantics don't support
inf\!").

The fix adds early-exit guards in convertFloatValue() to return
failure() before calling APFloat::convert() when the source value is
infinity or NaN and the target type cannot represent it. This makes the
fold a no-op for unrepresentable special values, matching the existing
behavior for lossy ordinary conversions.

Fixes #185351

Assisted-by: Claude Code
DeltaFile
+26-0mlir/test/Dialect/Arith/canonicalize.mlir
+11-0mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+37-02 files

LLVM/project b45ce46mlir/lib/Bindings/Python IRAttributes.cpp DialectLLVM.cpp

[mlir][python] Avoid needless std::string copies in properties. NFC. (#186190)

MlirStringRef is copied into a Python str by nanobind's type_caster
anyway, so the intermediate std::string was a redundant allocation.

---------

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+7-8mlir/lib/Bindings/Python/IRAttributes.cpp
+6-7mlir/lib/Bindings/Python/DialectLLVM.cpp
+13-152 files

LLVM/project 5e8375eflang/lib/Semantics check-omp-loop.cpp

Use PRId64 instead of %ld in format strings
DeltaFile
+8-3flang/lib/Semantics/check-omp-loop.cpp
+8-31 files

FreeBSD/ports e07265cscience/netcdf pkg-plist

science/netcdf: Fix pkg-plist for build with DOXYGEN

* Re-generate pkg-plist with panopticum(1)

Approved by:            portmgr@ (build fix, blanket)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D55421
DeltaFile
+23-8science/netcdf/pkg-plist
+23-81 files

LLVM/project 637e9bcmlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp

[mlir][xegpu] Allow `DistributeLayoutAttr` in structural type conversion in Wg to Sg pass.   (#186206)

Current approach fails if slice layouts are used in structural ops
arguments (scf.for etc)
DeltaFile
+2-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+2-21 files

LLVM/project 8950bf8flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP resolve07.f90

[flang][OpenMP] Loop IVs inside TEAMS are predetermined private in 5.2+ (#185958)

Mark the induction variables of loops in a TEAMS construct as
predetermined private when OpenMP version is 5.2 or later.
DeltaFile
+41-0flang/test/Semantics/OpenMP/resolve07.f90
+7-1flang/lib/Semantics/resolve-directives.cpp
+48-12 files

FreeBSD/ports ed8b417audio/ft2-clone distinfo Makefile, audio/ft2-clone/files patch-CMakeLists.txt

audio/ft2-clone: Update to 2.11
DeltaFile
+0-11audio/ft2-clone/files/patch-CMakeLists.txt
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-153 files

HardenedBSD/src b094b48sys/kern uipc_shm.c

HBSD: Make sure the kinfo_file struct always gets zeroed

Similar to FreeBSD commit 25cc459286a02b646751541ccde5a33319471c73,
apply a memset in one of the core functions used to fill the structure.
This ensures that all kinfo_file structure allocations are zeroed (at
least, at the point of calling shm_fill_kinfo_locked).

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
MFC-to:         15-STABLE
DeltaFile
+2-0sys/kern/uipc_shm.c
+2-01 files

FreeBSD/src 041e9ebsys/netinet in_pcb.h

inpcb: overhaul in_pcb.h

Pull up all user-visible stuff to the top of the file and isolate the
rest under _KERNEL.  The user visible parts are:
- struct in_conninfo
- struct xinpcb
- defines for inp_flags bits, that are shared between xinpcb and inpcb

PR:     293493
DeltaFile
+231-246sys/netinet/in_pcb.h
+231-2461 files

FreeBSD/src 0f1aa45sys/net debugnet_inet.c

debugnet: don't include udp_var.h

The module constructs UDP packets, but doesn't use the UDP stack.
DeltaFile
+0-1sys/net/debugnet_inet.c
+0-11 files

LLVM/project 82877a6llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/LowerTypeTests drop_type_test_select.ll

[LLVM] Fix assertion when dropping type tests with SelectInst users (#185523)

The `dropTypeTests` function assumes that after removing `llvm.assume`
users of `llvm.type.test` calls, any remaining users must be PHINodes
(from merged assumes). However, SimplifyCFG can also merge two
`assume(type.test(...))` sequences into `assume(select(cond,
type.test_1, type.test_2))`, leaving SelectInst users that trigger the
assertion.

Extend the assertion to also accept SelectInst. The
`replaceAllUsesWith(true)` call already handles all user types
correctly — only the assertion was too narrow.
DeltaFile
+19-0llvm/test/Transforms/LowerTypeTests/drop_type_test_select.ll
+3-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+22-32 files

pfSense/pfsense abe85e6src/usr/local/www services_dhcpv6.php

Validate DHCPv6 Delegation Parameters. Fixes #16744
DeltaFile
+13-3src/usr/local/www/services_dhcpv6.php
+13-31 files

pfSense/pfsense 54b03casrc/etc/inc service-utils.inc util.inc

Validate PID file before use. Fixes #16743

Also ensure Captive Portal zone and OpenVPN service ID are valid before stopping services
DeltaFile
+7-5src/etc/inc/service-utils.inc
+4-1src/etc/inc/util.inc
+11-62 files

pfSense/pfsense aaf7b57src/usr/local/www system_usermanager.php

Respect cert checkbox when creating a user. Fixes #16721

Also fixes a case where the form was not displaying properly when there were input errors. This likely needs more testing to confirm each action case is being handled properly with and without input errors in the submission.
DeltaFile
+7-7src/usr/local/www/system_usermanager.php
+7-71 files

LLVM/project 9c182f7clang-tools-extra/clang-tidy/readability ElseAfterReturnCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Extend readability-else-after-return to remove else after calls to [[noreturn]] functions (#185202)

Closes #184930.
DeltaFile
+25-0clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return.cpp
+9-6clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
+3-0clang-tools-extra/docs/ReleaseNotes.rst
+37-63 files

LLVM/project c27fbb5clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers string vector, clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std string vector

[clang-tidy][NFC] Move std system headers to separate dir in tests (#185533)

We want only "std" headers included by default - move them to another
directory and include only it by default.
This avoids header pollution that comes from whole `Input/Headers` dir
DeltaFile
+214-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/string
+0-214clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
+91-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/vector
+0-91clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/vector
+0-70clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/utility
+70-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/utility
+375-37537 files not shown
+766-76443 files

FreeBSD/src ac5ff28sys/dev/sound/pcm feeder_volume.c

sound: enforce MASTER volume mute during playback

MASTER mute (vol.mute) works while audio is playing. However, if a
stream is stopped and restarted (PCMTRIG_STOP -> PCMTRIG_START), the
audio will resume even though the mixer shows the MASTER volume as
muted. Other streams that are already playing remain silent. New streams
may also start playing audio regardless of the MASTER mute state.

The volume feeder now considers the MASTER mute when determining whether
a channel should be muted. This ensures MASTER mute is consistently
enforced for all streams and removes the dependency on trigger-driven
state propagation.

Tested with Creative Labs CA0132 card.

MFC after:      1 week
Reviewed by:    christos
Differential Revision:  https://reviews.freebsd.org/D55605
DeltaFile
+10-1sys/dev/sound/pcm/feeder_volume.c
+10-11 files

LLVM/project 6bfbf92lldb/unittests CMakeLists.txt, lldb/unittests/SBTestingSupport SBTestUtilities.cpp SBTestUtilities.h

[LLDB] Add SB API test helpers in separate library (#185866)

This adds the helpers from #184656 for the SB API in a separate library
(`lldbSBUtilityHelpers`).
DeltaFile
+65-0lldb/unittests/SBTestingSupport/SBTestUtilities.cpp
+28-0lldb/unittests/SBTestingSupport/SBTestUtilities.h
+11-0lldb/unittests/SBTestingSupport/CMakeLists.txt
+4-0lldb/unittests/CMakeLists.txt
+108-04 files

LLVM/project 2f58515openmp/cmake/modules LibompUtils.cmake

Fix cmake error
DeltaFile
+1-1openmp/cmake/modules/LibompUtils.cmake
+1-11 files

LLVM/project e3f9aaclldb/source/Plugins/Process/FreeBSD-Kernel-Core RegisterContextFreeBSDKernelCore_riscv64.cpp RegisterContextFreeBSDKernelCore_x86_64.cpp

[lldb][FreeBSDKernelCore] Do not include <cstddef> (#186193)

`<cstddef>` was included for static assertion using `offsetof()`, but it
turns out that the header is already included before. Thus remove
`<cstddef>` includes from `RegisterContextFreeBSDKernelCore_<arch>.cpp`
files.

Fixes 3f65a03e8abb3e6fb3372cf4c254d6c9f090e2e0 (#183969)

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
DeltaFile
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_riscv64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_x86_64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_i386.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_ppc64le.cpp
+0-66 files

LLVM/project 607de2bllvm/docs UserGuides.rst, llvm/docs/RISCV RISCVVCIX.rst

[doc][RISCV] Add documentation for customizing VCIX scheduling info (#183129)

Add a document to show how to customize VCIX instructions scheduling
information. Due to the lack of scheduling info "plugin" in LLVM, a user
has to modify the scheduling model files to reflect the latency,
occupancy etc. of their co-processor instructions connected through
VCIX. This document shows how to modify those files.

This document was originally written in another documentation format by
the listed authors, I used AI to convert it to RST and checked the
content.

---------

Co-authored-by: Craig Topper <craig.topper at sifive.com>
Co-authored-by: Michael Maitland <michaeltmaitland at gmail.com>
DeltaFile
+258-0llvm/docs/RISCV/RISCVVCIX.rst
+4-0llvm/docs/UserGuides.rst
+262-02 files

LLVM/project 4ba0e3fllvm/lib/Target/AMDGPU SIInstructions.td, llvm/test/CodeGen/AMDGPU scalar_to_vector.ll

[AMDGPU] Fix scalar_to_vector v4f16 pattern (#186188)

The patterns for v4f16 and v4i16 generate invalid code since the result must be 64 bit wide.
Also activate gfx1100 testing for the scalar_to_vector test which covers this pattern.
DeltaFile
+112-0llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll
+2-2llvm/lib/Target/AMDGPU/SIInstructions.td
+114-22 files

OpenBSD/ports 5RngKI8devel Makefile

   +py-hass-pyscript-jupyter
VersionDeltaFile
1.2571+1-0devel/Makefile
+1-01 files

OpenBSD/ports HvFBkJfdevel/py-hass-pyscript-jupyter Makefile, devel/py-hass-pyscript-jupyter/files kernel.json

   Initial revision
VersionDeltaFile
1.1+41-0devel/py-hass-pyscript-jupyter/pkg/PLIST
1.1+33-0devel/py-hass-pyscript-jupyter/Makefile
1.1+30-0devel/py-hass-pyscript-jupyter/pkg/README
1.1+27-0devel/py-hass-pyscript-jupyter/patches/patch-hass_pyscript_kernel_shim_py
1.1+17-0devel/py-hass-pyscript-jupyter/pkg/DESCR
1.1+11-0devel/py-hass-pyscript-jupyter/files/kernel.json
+159-08 files not shown
+161-014 files