LLVM/project b092ea6 — llvm/lib/Target/Hexagon/Utils HexagonDepMask.h, llvm/test/CodeGen/AArch64 sve-fixed-length-fp-extend-bf16.ll sve-fixed-length-masked-expandloads.ll

Merge branch 'main' into users/lukel97/riscv/widenVPMerge-operand-order
DeltaFile
+2,844-0llvm/lib/Target/Hexagon/Utils/HexagonDepMask.h
+1,922-0mlir/test/Dialect/X86/vector-contract-16bit-fp-to-fma.mlir
+655-834llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+688-788llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+1,449-0llvm/test/CodeGen/RISCV/xqcilo-xqcilia-sfb-frame-index.ll
+0-1,425mlir/test/Dialect/X86/vector-contract-bf16-to-fma.mlir
+7,558-3,0472,108 files not shown
+80,404-21,1882,114 files

LLVM/project d777b93 — offload/test/offloading target-no-loop.c

[offload][OpenMP] Change no-loop test to be amdgpu only (#248357)

Change on which GPUs the no-loop test runs due to the kernel launch info
it checks being specific to the amdgpu plugin.
DeltaFile
+1-2offload/test/offloading/target-no-loop.c
+1-21 files

FreeBSD/src cada535 — sys/kern imgact_elf.c

imgact_elf: accept PT_INTERP segments up to 4096 bytes

The Yocto/Poky relocatable SDK NUL-pads the interpreter path in
PT_INTERP out to 4096 bytes (within Linux's POSIX PATH_MAX) so that
'relocate_sdk.py' can rewrite the path in place.  The kernel rejected
any PT_INTERP with p_filesz > BSD's MAXPATHLEN (1024) with
"Invalid PT_INTERP" and ENOEXEC, so none of the SDK's binaries could
be run under the Linuxulator.

- The PT_INTERP segment may now be up to 'PT_INTERP_SEG_MAXSZ'
  bytes, which may be greater than 'MAXPATHLEN'.
- The interpreter path within the segment must still be shorter
  than 'MAXPATHLEN' -- when violated results in 'ENAMETOOLONG'
  when the interpreter is looked up.

Reviewed by:    kib
Differential Revision: https://reviews.freebsd.org/D62075
(cherry picked from commit 7ee8d41ebb2ffb13e50ea59fd5bc43155123f323)
DeltaFile
+10-2sys/kern/imgact_elf.c
+10-21 files

OPNSense/core 64a9bbf — src/opnsense/mvc/app/library/OPNsense/Firewall FilterRule.php

firewall: add source-track rule to max-src-states to ensure max states are tracked per rule, and not globally across all rules using max-src-states (#11375)
DeltaFile
+4-0src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php
+4-01 files

LLVM/project 1a82959 — llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/AArch64 predication_costs.ll

[LV] Improve cost model for replicating recipes (#247535)

In VPCostContext::getScalarizationOverhead we pessimistically
assume that each scalar result will need inserting into the
lane of a result vector. However, this isn't true if all users
of the recipe happen to live in the same replicate block. In
this case the result of each scalar operation remains scalar
and no inserts are required.
DeltaFile
+6-6llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
+4-4llvm/test/Transforms/LoopVectorize/X86/CostModel/store-scalarization-cost.ll
+4-2llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+1-1llvm/test/Transforms/LoopVectorize/SystemZ/branch-for-predicated-block.ll
+15-134 files

FreeBSD/src 79d5c5b — sys/powerpc/linux linux_locore.asm linux_sysvec.c

linuxulator/powerpc: report the CPU family in AT_PLATFORM

Linux passes the CPU family here, e.g. power9. glibc uses it for
__builtin_cpu_is().

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D62279
DeltaFile
+31-0sys/powerpc/linux/linux_sysvec.c
+2-5sys/powerpc/linux/linux_locore.asm
+33-52 files

LLVM/project 6401699 — clang/docs ReleaseNotes.md, clang/lib/StaticAnalyzer/Checkers PthreadLockChecker.cpp

[analyzer] Model XNU try-lock nonzero return as success (#248014)

XNU try-lock functions signal success by returning a nonzero value,
which is the opposite of how the pthread library does it. The
implementation of alpha.unix.PthreadLock mistakenly assumed the pthread
semantics. This was introduced as a regression in 152bc7ffdcd8 while
migrating the logic to use a CallDescriptionMap.

Fixes #246175

Assisted-by: Claude Code
DeltaFile
+10-0clang/test/Analysis/pthreadlock.c
+6-0clang/docs/ReleaseNotes.md
+1-1clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
+17-13 files

OPNSense/core 924c9e6 — src/etc/inc filter.inc, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php SourceNatController.php

firewall: expose automatic NAT and reflection rules in grids

Collect port-forward and one-to-one NAT reflection rules while rendering
the ruleset during apply. Export their match and translation fields from
the firewall library, keeping NAT-specific conversions out of controllers.

Separate plugin and library providers in the source_nat and destination_nat
sections of rules_internal.json so ownership is explicit.

Make the pf source NAT provider return complete automatic masquerading and
ISAKMP rule records. Reuse that generator during apply and let the SNAT grid
format the supplied rules instead of reconstructing them from networks.
Automatic outbound rules remain subject to snat_mode; reflection helpers
are displayed independently.

Update both NAT grids for the grouped provider format and resolve PF alias
and interface expressions to their existing display metadata.
DeltaFile
+39-42src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/SourceNatController.php
+33-31src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+14-19src/etc/inc/filter.inc
+30-0src/opnsense/mvc/app/library/OPNsense/Firewall/Rule.php
+28-0src/opnsense/mvc/app/library/OPNsense/Firewall/DNatRule.php
+21-0src/opnsense/mvc/app/library/OPNsense/Firewall/ForwardRule.php
+165-923 files not shown
+204-949 files

FreeBSD/src 7f74e2d — sys/modules/linux64 Makefile, sys/powerpc/linux linux_support.S linux_machdep.c

linuxulator/powerpc: implement the FUTEX_WAKE_OP helpers

These were stubs returning ENOTSUP. Qt uses FUTEX_WAKE_OP, so Qt programs
hung as soon as they started a thread.

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D62278
DeltaFile
+84-0sys/powerpc/linux/linux_machdep.c
+0-70sys/powerpc/linux/linux_support.S
+3-1sys/modules/linux64/Makefile
+87-713 files

FreeBSD/ports dec9210 — databases/sq Makefile distinfo

databases/sq: Update to 0.56.0
DeltaFile
+7-7databases/sq/distinfo
+1-2databases/sq/Makefile
+8-92 files

FreeBSD/ports c467571 — audio/elevenlabs-cli Makefile distinfo

audio/elevenlabs-cli: Update to 1.16.1
DeltaFile
+3-3audio/elevenlabs-cli/distinfo
+1-1audio/elevenlabs-cli/Makefile
+4-42 files

FreeBSD/src 2cf4a4d — sys/compat/linux linux_ioctl.c linux_ioctl.h, sys/powerpc/linux linux_termbits.h linux_machdep.c

linuxulator/powerpc: fix terminal ioctls

linux_ioctl() only looks at the low 16 bits of the command, so the PowerPC
handler was never called and isatty() failed. Return ENOIOCTL for commands
we don't know, so that other handlers get a chance.

struct termios has c_cc before c_line and carries the speeds on PowerPC,
and CSIZE is encoded like on BSD. Fix the codes for 57600 and 115200 baud
while here.

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D62277
DeltaFile
+17-0sys/compat/linux/linux_ioctl.h
+3-5sys/powerpc/linux/linux_machdep.c
+6-2sys/powerpc/linux/linux.h
+6-2sys/compat/linux/linux_ioctl.c
+2-2sys/powerpc/linux/linux_termbits.h
+34-115 files

LLVM/project 4ea1911 — llvm/lib/Target/Sparc DelaySlotFiller.cpp, llvm/test/CodeGen/SPARC restore-combine-debug.mir

[SPARC] Ignore debug values when combining a restore (#248086)

The delay slot filler combines an ADD, OR or SETHI instruction with the
RESTORE that follows it. It took the instruction before the restore with
std::prev, so a DBG_VALUE between the two prevented the combination, and
the code differed with and without debug info. For example a return
compiled to

  ret
  restore %o0, %i0, %o0

without -g and to

  add %o0, %i0, %i0
  ret
  restore

with it.


    [2 lines not shown]
DeltaFile
+136-0llvm/test/CodeGen/SPARC/restore-combine-debug.mir
+29-8llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+165-82 files

LLVM/project 059c485 — llvm/lib/Analysis InstructionSimplify.cpp

[InstSimplify] Remove redundant select of funnel shift fold (NFCI) (#248368)

This is already handled by simplifySelectWithEquivalence().
DeltaFile
+1-9llvm/lib/Analysis/InstructionSimplify.cpp
+1-91 files

LLVM/project edcd5b7 — libcxxabi/src private_typeinfo.h private_typeinfo.cpp

[libc++abi] Remove found_our_static_ptr and found_any_static_type from __dynamic_cast_info
DeltaFile
+107-122libcxxabi/src/private_typeinfo.cpp
+4-6libcxxabi/src/private_typeinfo.h
+111-1282 files

LLVM/project 4dc42a5 — mlir/include/mlir/Target/LLVM/XeVM Utils.h, mlir/lib/Target/LLVM/XeVM Target.cpp

[MLIR][XeVM] Add SerializeGPUModuleBase::getCompilerInfo() (#243637)

Add a static method returning the GPU compiler version info.

---------

Co-authored-by: Dmitry Chigarev <dmitry.chigarev at intel.com>
Co-authored-by: Md Abdullah Shahneous Bari <md.abdullah.shahneous.bari at intel.com>
DeltaFile
+65-1mlir/lib/Target/LLVM/XeVM/Target.cpp
+23-0mlir/unittests/Target/LLVM/SerializeXeVMTarget.cpp
+8-3mlir/include/mlir/Target/LLVM/XeVM/Utils.h
+2-0mlir/unittests/Target/LLVM/CMakeLists.txt
+98-44 files

FreeBSD/src 08e7d27 — sys/dev/usb usbdevs, sys/dev/usb/quirk usb_quirk.c

Add USB quirk for WCH-Link adapter

WCH-Link is a debug adapter from QinHeng Electronics that features a
(proprietary) debug bridge for their RISC-V MCUs, as well as a serial
gateway, implemented as a CDC device.  The CDC's call management
descriptor declares the data interface to be 1, but it is actually
interface 2. UQ_IGNORE_CDC_CM has already been implemented before to
handle this kind of firmware bug, so just add this quirk for WCH-Link.

Reported by:    Holm Tiffe

(cherry picked from commit 1660d69068a0650fcda2ce7497dfa20e33f0b58d)
DeltaFile
+1-0sys/dev/usb/usbdevs
+1-0sys/dev/usb/quirk/usb_quirk.c
+2-02 files

LLVM/project 68fea37 — mlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp, mlir/test/Dialect/OpenACC acc-cg-to-gpu-execute-region-block-order.mlir

[mlir][acc] Clone `scf.execute_region` blocks in dominance order

`ACCCGToGPU` cloned the blocks of an `scf.execute_region` in region order.
A block can come before a block that dominates it and use values defined
there, e.g. after a forward branch into a loop built from branches. Such a
use was cloned before its value was mapped, so the clone kept using the
original value, and erasing the original `acc.compute_region` asserted with
"expected that op has no uses".

Clone the blocks in reverse post-order, which visits every block after the
blocks that dominate it.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+53-0mlir/test/Dialect/OpenACC/acc-cg-to-gpu-execute-region-block-order.mlir
+15-4mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+68-42 files

FreeBSD/src 5cc3934 — sys/powerpc/linux linux.h

linuxulator/powerpc: use the PowerPC socket option numbers

Six socket options are numbered differently on PowerPC. linux_socket.h
already has an #ifndef for that, but nothing defined them.

Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D62276
DeltaFile
+11-0sys/powerpc/linux/linux.h
+11-01 files

LLVM/project 4d432ac — mlir/lib/Conversion/OpenACCToLLVM ACCAtomicPatterns.cpp, mlir/test/Conversion/OpenACCToLLVM atomic.mlir

[mlir][acc] Read 128-bit values in `acc.atomic.read` with `cmpxchg`

`acc.atomic.read` reads `x` with an `atomicrmw or` of zero on an integer
of the size of `x`. For a `complex<f64>`, that is an `i128`, which
the LLVM dialect verifier does not accept for integer operations of
`atomicrmw` ([LLVMMemoryOps.cpp#L509-L511][verifier]):

```mlir
acc.atomic.read %v = %x : !fir.ref<complex<f64>>, !fir.ref<complex<f64>>, complex<f64>
```

failed with:

```
'llvm.atomicrmw' op expected LLVM IR integer type
```

Read values wider than 64 bits with a `cmpxchg` of zero with zero
instead, and take the loaded value. It only stores zero where the value

    [11 lines not shown]
DeltaFile
+41-0mlir/test/Conversion/OpenACCToLLVM/atomic.mlir
+15-9mlir/lib/Conversion/OpenACCToLLVM/ACCAtomicPatterns.cpp
+56-92 files

LLVM/project 5c3782a — mlir/lib/Conversion/OpenACCToLLVM ACCAtomicPatterns.cpp, mlir/test/Conversion/OpenACCToLLVM atomic.mlir

[mlir][acc] Fix `acc.atomic.capture` lowering when `v` and `x` differ in type

The `acc.atomic.read` in an `acc.atomic.capture` allows `v` and `x` of
different types, like a standalone `acc.atomic.read`, and the captured
value is converted to the type of `v`. The LLVM lowering stored the
captured value into `v` without converting it. For example:

```mlir
acc.atomic.capture {
  acc.atomic.read %v = %x : !fir.ref<i32>, !fir.ref<f64>, f64
  acc.atomic.write %x = %val : !fir.ref<f64>, f64
}
```

stored the `f64` value into the 4 bytes of `v`:

```mlir
llvm.store %old, %v : f64, !llvm.ptr
```

    [6 lines not shown]
DeltaFile
+110-0mlir/test/Conversion/OpenACCToLLVM/atomic.mlir
+45-20mlir/lib/Conversion/OpenACCToLLVM/ACCAtomicPatterns.cpp
+155-202 files

LLVM/project 670284a — mlir/lib/Conversion/OpenACCToLLVM ACCAtomicPatterns.cpp, mlir/test/Conversion/OpenACCToLLVM atomic-diagnostics.mlir atomic.mlir

[mlir][acc] Fix `acc.atomic.read` lowering when `v` or `x` is complex (#248002)

`acc.atomic.read` allows `v` and `x` of different types, and the value
read from `x` is converted to the type of `v`. The LLVM lowering
converted between the types used for the atomic access, where a complex
value is an integer of the same size. So a complex `x` was converted as
an integer, and a complex `v` was the target of an integer conversion.
For example:

```mlir
acc.atomic.read %v = %x : !fir.ref<f32>, !fir.ref<complex<f32>>, complex<f32>
```

was lowered to

```mlir
%rmw = llvm.atomicrmw _or %x, %zero monotonic : !llvm.ptr, i64
%val = llvm.sitofp %rmw : i64 to f32
```

    [28 lines not shown]
DeltaFile
+89-4mlir/lib/Conversion/OpenACCToLLVM/ACCAtomicPatterns.cpp
+42-0mlir/test/Conversion/OpenACCToLLVM/atomic.mlir
+10-0mlir/test/Conversion/OpenACCToLLVM/atomic-diagnostics.mlir
+141-43 files

LLVM/project c72f851 — libc/src/__support/File file.h file.cpp, libc/src/__support/File/linux file.h

[libc] Fix File::close() cleanup and static stream ownership (#247399)

In File::close (1) always reset buffer state and detach any owned buffer
before releasing the lock; (2) unlink the stream from File::list_all
before freeing the detached buffer, eliminating the use-after-free race
with concurrent fflush(nullptr); (3) remove redundant per-backend
File::remove_file() calls; (4) always release resources even when
flushing buffered writes fails, reporting EIO on short writes.

Add a 1-bit own_file flag in File, mark static stdin/stdout/stderr
instances on Linux as false so closing them does not delete static
storage, and reset LinuxFile::fd to -1 before returning.

Assisted-by: LLM
DeltaFile
+168-1libc/test/src/__support/File/file_test.cpp
+47-1libc/test/src/__support/File/platform_file_test.cpp
+29-12libc/src/__support/File/file.cpp
+12-9libc/src/__support/File/linux/file.h
+17-0libc/test/src/__support/File/CMakeLists.txt
+10-3libc/src/__support/File/file.h
+283-267 files not shown
+291-3813 files

LLVM/project fdec1d0 — mlir/include/mlir/Interfaces ValueBoundsOpInterface.h, mlir/lib/Interfaces ValueBoundsOpInterface.cpp

[mlir][Interfaces] Space out constant bound queries during traversal (#247915)

Default constant-bound analysis calls `getConstantBound64` after each
visited value. Each call projects the growing constraint system, making
long arithmetic slices expensive to analyze.

Check the default stopping condition at exponentially spaced visits and
retain the successful result for subsequent visits. The final bound
query still runs after traversal, and custom stopping conditions keep
their existing behavior. Add coverage for lower, upper, and equal bounds
that become available between the last scheduled check and the end of
traversal.

Fixes #247369.

Validation used main `46d10a70f76a` on x86-64 with GCC 12, `-O1`, and
assertions enabled.

- All 25 targeted value-bounds lit tests passed.

    [12 lines not shown]
DeltaFile
+22-0mlir/test/Dialect/Arith/value-bounds-op-interface-impl.mlir
+9-4mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
+2-2mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
+33-63 files

FreeBSD/ports 85cffd6 — Mk bsd.default-versions.mk, Mk/Uses samba.mk

Mk/*: update for samba 4.24.9

Update the dependecnies for samba 4.24.9.
Update the version list of samba version supported.

Sponsored by:   Klara, Inc.
DeltaFile
+2-2Mk/Uses/samba.mk
+1-1Mk/bsd.default-versions.mk
+3-32 files

FreeBSD/ports 10666c3 — net/samba424 distinfo Makefile, net/samba424/files patch-source3_modules_vfs__streams__xattr.c

net/samba424: update to 4.24.9

ChangeLog:      https://www.samba.org/samba/history/samba-4.24.9.html

Approved by:    samba (kiwi)
Reported by:    portscout
Sponsored by:   Klara, Inc.
DeltaFile
+2-12net/samba424/files/patch-source3_modules_vfs__streams__xattr.c
+6-6net/samba424/Makefile
+3-3net/samba424/distinfo
+11-213 files

LLVM/project bae5625 — llvm/lib/Analysis InstructionSimplify.cpp, llvm/lib/Transforms/InstCombine InstCombineSelect.cpp

[InstSimplify] Support dropping poison-generating annotations (#247632)

There is a recurring problem where a transform can conceptually be part
of InstSimplify because it does not create new instructions, but needs
to drop poison-generating annotations in some cases. This is mainly
relevant for select folds.

The main case is simplifySelectWithEquivalence(), which handles this by
running without flag-dropping in InstSimplify, and then with
flag-dropping as a separate InstCombine transform. However, we also have
other folds that are currently affected by this issue, such as
simplifyCmpSelOfMaxMin(). We can fix them by moving them to InstCombine
-- but this is awkward if some parts of the fold require annotation
dropping, while others don't.

Overall, I think it may be worthwhile to just support "simplify with
dropped annotations" more generally in InstSimplify. If DropAnnotations
is passed, the caller is expected to drop annotations on those
instructions if simplification succeeds. If it's not passed,

    [9 lines not shown]
DeltaFile
+91-60llvm/lib/Analysis/InstructionSimplify.cpp
+9-27llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+22-12llvm/test/Transforms/InstSimplify/select.ll
+29-0llvm/test/Transforms/InstSimplify/select-icmp.ll
+15-10llvm/test/Transforms/InstSimplify/abs_intrinsic.ll
+14-8llvm/test/Transforms/InstSimplify/select-abs.ll
+180-1176 files not shown
+239-13012 files

FreeBSD/ports 9628687 — games/lwjgl3 Makefile, math/asymptote Makefile

*/*: Chase unflavorization of glslang
DeltaFile
+3-3games/lwjgl3/Makefile
+2-1math/asymptote/Makefile
+5-42 files

FreeBSD/ports cadaedd — . MOVED, graphics/glslang distinfo Makefile

graphics/glslang: Update to 16.7.0 and unflavorize

This port now installs both static and shared libraries. [1]

Changelog: https://github.com/KhronosGroup/glslang/blob/16.7.0/CHANGES.md

PR:             297260
Reported by:    GitHub (watch releases), yuri [1]
DeltaFile
+35-35graphics/glslang/pkg-plist
+31-20graphics/glslang/Makefile
+3-3graphics/glslang/distinfo
+1-0MOVED
+70-584 files

LLVM/project 44b4b35 — bolt/docs profiles.md

[BOLT] Update documentation on lbr -> brstack changes
DeltaFile
+8-3bolt/docs/profiles.md
+8-31 files