LLVM/project a129b3c — llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/Attributor nofpclass-ldexp.ll

[KnownFPClass] Correct subnormal handling in ldexp (#225904)

Uses the `applyInputDenormalMode` and `applyOutputDenormalMode` helpers
to fix subnormal handling for `KnownFPClass::ldexp`.

I also skipped the "never-subnormal" deduction for `ppcf128`.

Similar to https://github.com/llvm/llvm-project/pull/215094, but
only focusing on fixing incorrect deductions.
DeltaFile
+297-101llvm/test/Transforms/Attributor/nofpclass-ldexp.ll
+23-12llvm/lib/Support/KnownFPClass.cpp
+320-1132 files

FreeBSD/src a6a8640 — tests/sys/netinet6 ndp.sh

tests/netinet6: fix ndp_del_gu_success flakiness

The test pinged an unanswered address and then deleted the resulting
INCOMPLETE neighbor entry.
The kernel frees that entry after about 3s, so on a loaded VM,
ndp -d could run too late and fail with ENOENT.

Configure 2001:db8::2 on epair0b so the ping gets a reply and the
entry becomes REACHABLE.

Approved by:    pouria
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D60348
DeltaFile
+8-4tests/sys/netinet6/ndp.sh
+8-41 files

FreeBSD/ports 07c68ba — devel/redasm/files patch-LibREDasm_depends_capstone_CMakeLists.txt

devel/redasm: prepare the port for modern versions of CMake

Synchronize cmake_minimum_required(VERSION 3.10) across all
components and switch to new CMP0048 policy.
DeltaFile
+48-0devel/redasm/files/patch-LibREDasm_depends_capstone_CMakeLists.txt
+48-01 files

LLVM/project 8cee9e8 — llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fneg.ll

[InstCombine] Preserve profile metadata when folding fneg selects (#228754)

Reuse select metadata in the fneg transformations when profile metadata
fixes are enabled.
Remove obsolete profcheck XFAIL entries for the now-passing InstCombine
tests.

---------

Co-authored-by: Aiden Grossman <aidengrossman at google.com>
DeltaFile
+14-8llvm/test/Transforms/InstCombine/fneg.ll
+13-3llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+0-2llvm/utils/profcheck-xfail.txt
+27-133 files

LLVM/project e6453a8 — llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/test/Transforms/InstCombine/SimplifyLibCalls strchr-b16.ll stpncpy-b16.ll

[SimplifyLibCalls] Add initial support for non-8-bit bytes

The patch makes CharWidth argument of `getStringLength` mandatory
and ensures the correct values are passed in most cases.
This is *not* a complete support for unusual byte widths in
SimplifyLibCalls since `getConstantStringInfo` returns false for those.
The code guarded by `getConstantStringInfo` returning true is unchanged
because the changes are currently not testable.
DeltaFile
+126-67llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+69-0llvm/test/Transforms/InstCombine/SimplifyLibCalls/memcpy-b16.ll
+66-0llvm/test/Transforms/InstCombine/SimplifyLibCalls/memset-b16.ll
+50-0llvm/test/Transforms/InstCombine/SimplifyLibCalls/strcmp-b32.ll
+47-0llvm/test/Transforms/InstCombine/SimplifyLibCalls/stpncpy-b16.ll
+45-0llvm/test/Transforms/InstCombine/SimplifyLibCalls/strchr-b16.ll
+403-6729 files not shown
+934-10635 files

LLVM/project 85f8950 — llvm/lib/Analysis ValueTracking.cpp

[ValueTracking] Make isBytewiseValue byte width agnostic

This is a simple change to show how easy it can be to support unusual
byte widths in the middle end.
DeltaFile
+14-13llvm/lib/Analysis/ValueTracking.cpp
+14-131 files

LLVM/project 2a95820 — llvm/include/llvm/IR DataLayout.h, llvm/lib/IR DataLayout.cpp

[DataLayout] Add byte specification

This patch adds byte specification to data layout string.
The specification is `b:<size>`, where `<size>` is the size of a byte
in bits (later referred to as "byte width").

Limitations:
* The only values allowed for byte width are 8, 16, and 32.
16-bit bytes are popular, and my downstream target has 32-bit bytes.
These are the widths I'm going to add tests for in follow-up patches,
so this restriction only exists because other widths are untested.
* It is assumed that bytes are the same in all address spaces.
Supporting different byte widths in different address spaces would
require adding an address space argument to all DataLayout methods
that query ABI / preferred alignments because they return *byte*
alignments, and those will be different for different address spaces.
This is too much effort, but it can be done in the future if the need
arises, the specification reserves address space number before ':'.
DeltaFile
+68-19llvm/lib/IR/DataLayout.cpp
+16-6llvm/include/llvm/IR/DataLayout.h
+84-252 files

LLVM/project 0d37a7e — clang/lib/CodeGen/TargetBuiltins AMDGPU.cpp, llvm/lib/Analysis ValueTracking.cpp

[ValueTracking] Add CharWidth argument to getConstantStringInfo (NFC)

The method assumes that host chars and target chars have the same width.
Add a CharWidth argument so that it can bail out if the requested char
width differs from the host char width.

Alternatively, the check could be done at call sites, but this is more
error-prone.

In the future, this method will be replaced with a different one that
allows host/target chars to have different widths. The prototype will
be the same except that StringRef is replaced with something that is
byte width agnostic. Adding CharWidth argument now reduces the future
diff.
DeltaFile
+72-31llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+9-3llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+5-2llvm/lib/Analysis/ValueTracking.cpp
+2-2llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
+2-2clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+92-425 files not shown
+98-4711 files

LLVM/project 1d2b788 — llvm/bindings/ocaml/llvm llvm_ocaml.c, llvm/include/llvm/IR Constants.h

Use DL in ConstantExpr::getPtrAdd() / ConstantExpr::getInBoundsPtrAdd()
DeltaFile
+14-13llvm/unittests/IR/ConstantsTest.cpp
+11-11llvm/include/llvm/IR/Constants.h
+14-3llvm/lib/IR/Constants.cpp
+8-8llvm/lib/Analysis/ScalarEvolution.cpp
+7-5llvm/test/Bindings/OCaml/core.ml
+6-5llvm/bindings/ocaml/llvm/llvm_ocaml.c
+60-4517 files not shown
+94-6923 files

LLVM/project fed33b6 — llvm/include/llvm/IR IRBuilder.h, llvm/unittests/IR IRBuilderTest.cpp

[IRBuilder] Add getByteTy and use it in CreatePtrAdd

The change requires DataLayout instance to be available, which, in turn,
requires insertion point to be set. In-tree tests detected only one case
when the function was called without setting an insertion point, it was
changed to create a constant expression directly.
DeltaFile
+22-0llvm/unittests/IR/IRBuilderTest.cpp
+8-2llvm/include/llvm/IR/IRBuilder.h
+30-22 files

LLVM/project 44cc09c — llvm/include/llvm/IR PatternMatch.h, llvm/lib/Analysis IVDescriptors.cpp

[IR] Account for byte width in m_PtrAdd

The method has few uses yet, so just pass DL argument to it. The change
follows m_PtrToIntSameSize, and I don't see a better way of delivering
the byte width to the method.
DeltaFile
+19-6llvm/unittests/IR/PatternMatch.cpp
+8-5llvm/include/llvm/IR/PatternMatch.h
+4-3llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+3-2llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+2-1llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+2-1llvm/lib/Analysis/IVDescriptors.cpp
+38-183 files not shown
+41-219 files

LLVM/project 1bfc793 — llvm/bindings/ocaml/llvm llvm_ocaml.c, llvm/include/llvm/IR Intrinsics.h Intrinsics.td

[IR] Make @llvm.memset prototype byte width dependent

This patch changes the type of the value argument of @llvm.memset and
similar intrinsics from i8 to iN, where N is the byte width specified
in data layout string.
Note that the argument still has fixed type (not overloaded), but type
checker will complain if the type does not match the byte width.

Ideally, the type of the argument would be dependent on the address
space of the pointer argument. It is easy to do this (and I did it
downstream as a PoC), but since data layout string doesn't currently
allow different byte widths for different address spaces, I refrained
from doing it now.
DeltaFile
+44-31llvm/lib/IR/Intrinsics.cpp
+9-3llvm/include/llvm/IR/Intrinsics.td
+7-3llvm/include/llvm/IR/Intrinsics.h
+5-3llvm/lib/IR/AutoUpgrade.cpp
+6-1llvm/lib/IR/Function.cpp
+3-3llvm/bindings/ocaml/llvm/llvm_ocaml.c
+74-4411 files not shown
+90-5617 files

LLVM/project 7f9b09d — flang/unittests/Evaluate uint128.cpp real.cpp, flang/unittests/Optimizer/Builder/Runtime IntrinsicsTest.cpp

[flang][NFC] Add missing license and fix short first line (#229647)

- Fix shorter first line than 80 characters
- Add missing license at the top of some files

Assisted-by: AI
DeltaFile
+8-0flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
+8-0flang/unittests/Evaluate/uint128.cpp
+8-0flang/unittests/Evaluate/real.cpp
+8-0flang/unittests/Evaluate/logical.cpp
+8-0flang/unittests/Evaluate/leading-zero-bit-count.cpp
+8-0flang/unittests/Evaluate/intrinsics.cpp
+48-039 files not shown
+136-3345 files

LLVM/project 4f0c947 — llvm/lib/CodeGen IndirectBrExpandPass.cpp, llvm/test/CodeGen/X86 opt-pipeline.ll O0-pipeline.ll

[IndirectBrExpand] Preserve profile weights (#227784)

We can derive the weights for the created select instruction from the
weights of the indirectbr instructions that are used to compose it.

This is a no-op most of the time outside of some contexts, but
production users that utilize PGO do enable this (e.g., the kernel).
DeltaFile
+148-0llvm/test/Transforms/IndirectBrExpand/pgo.ll
+114-13llvm/lib/CodeGen/IndirectBrExpandPass.cpp
+5-1llvm/test/CodeGen/X86/O0-pipeline.ll
+4-1llvm/test/CodeGen/X86/opt-pipeline.ll
+0-1llvm/utils/profcheck-xfail.txt
+271-165 files

LLVM/project f481b24 — llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine nested-select.ll select-select.ll

[InstCombine] Fix profile propagation in foldNestedSelects (#229635)

We can recover profile information for one of the created selects given
the condition is either the same as an existing select or the direct
inverse. For the other we have to mark the profile as unknown.
DeltaFile
+18-16llvm/test/Transforms/InstCombine/select-select.ll
+18-6llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+15-8llvm/test/Transforms/InstCombine/nested-select.ll
+0-1llvm/utils/profcheck-xfail.txt
+51-314 files

FreeBSD/src ad3fdab — sys/kern vfs_vnops.c vfs_syscalls.c, sys/sys stat.h

stat(2): report mount points using st_bsdflags SFBSD_MNTPOINT flag

(cherry picked from commit 0d5d8872931c2659692b5e59db2190b715ff314c)
DeltaFile
+2-0sys/kern/vfs_vnops.c
+2-0sys/kern/vfs_syscalls.c
+1-0sys/sys/stat.h
+5-03 files

FreeBSD/src 9a0ea12 — lib/libsys stat.2

stat.2: document SFBSD_MNTROOT

(cherry picked from commit 1e8708d9b598415a993fecb7b5c5cc8a9e64cba5)
DeltaFile
+4-0lib/libsys/stat.2
+4-01 files

FreeBSD/src 2961d9d — lib/libsys stat.2

stat(2): Document st_bsdflags and SFBSD_NAMEDATTR

(cherry picked from commit 72e391060bb6c83ed65ac7ca3936bd6e07ab1ebc)
DeltaFile
+19-2lib/libsys/stat.2
+19-21 files

FreeBSD/ports cf3ecc4 — graphics/spirv-tools Makefile distinfo

graphics/spirv-tools: Update to 2026.4

This is identical to 2026.4.rc2 except the version number. So no
version bumps of dependent ports are necessary.

Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.4/CHANGES

Reported by:    GitHub (watch releases)
DeltaFile
+3-3graphics/spirv-tools/distinfo
+1-1graphics/spirv-tools/Makefile
+4-42 files

NetBSD/src VtlPZsD — share/locale/ctype zh_CN.GB18030.src

   zh_CN.GB18030 locale - fix reversed toupper/tolower mappings

   Correct reversed toupper/tolower mappings (MAPUPPER/MAPLOWER)
   MAPLOWER maps into lower case, MAPUPPER into upper case, not "from".
   While here add the (probably unneeded) identity toupper/tolower mappings.

   Reported by RVP@ in:
     https://mail-index.netbsd.org/tech-userlevel/2026/08/15/msg015003.html
VersionDeltaFile
1.3+5-3share/locale/ctype/zh_CN.GB18030.src
+5-31 files

LLVM/project 6ef5bad — flang-rt/unittests/Runtime ChildIO.cpp Assign.cpp, flang/include/flang/Runtime inquiry.h exceptions.h

[flang-rt][NFC] Fix too short first lines (#229642)
DeltaFile
+1-2flang-rt/unittests/Runtime/LeadingZeroTest.cpp
+1-1flang/include/flang/Runtime/inquiry.h
+1-1flang/include/flang/Runtime/exceptions.h
+1-1flang/include/flang/Runtime/CUDA/common.h
+1-1flang-rt/unittests/Runtime/ChildIO.cpp
+1-1flang-rt/unittests/Runtime/Assign.cpp
+6-76 files

FreeBSD/ports aa62780 — net/samba423 Makefile

net/samba423: add LMDB selection options (LMDB0 / LMDB1)

This patch introduces a new radio option group (LMDBG1) allowing
users to select between LMDB 0.9 (databases/lmdb0) and LMDB 1.0
(databases/lmdb), following the pattern used in mail/postfix.

Summary of changes:
- Introduced LMDBG1 radio option group with LMDB0 and LMDB1 choices.
- Added LMDB0 to OPTIONS_DEFAULT to preserve existing default behavior.
- Updated _LMDB_DEPDENDS for AD_DC / DEVELOPER builds to depend on
  databases/lmdb when LMDB1 is selected, defaulting to databases/lmdb0.
- Guarded FORTIFY_UNSAFE with .ifnmake portclippy to prevent portclippy
  warnings.

Inspired by mail/postfix workaround of the problem with LMDB.

PR:     299147
Approved by:    samba (kiwi)
DeltaFile
+15-4net/samba423/Makefile
+15-41 files

LLVM/project ce07a3a — clang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h

[BoundsSafety][NFC] Build an incomplete CountAttributedType for a late-parsed attribute

Add Sema::ProcessLateParsedTypeAttr. It validates a late-parsed
counted_by-family attribute in type position and wraps the type in a
CountAttributedType whose count is filled in once the enclosing record
is complete.

LateParsedTypeAttribute is owned by the Parser, which Sema cannot depend
on. Sema therefore reads the attribute's kind, location and type slot
through a callback.

No functional change: nothing creates late-parsed type attributes yet,
so ProcessLateParsedTypeAttr is never invoked. The next commit wires it
up.

Assisted-by: Opus 5.5
DeltaFile
+32-0clang/lib/Sema/SemaType.cpp
+17-3clang/include/clang/Sema/Sema.h
+12-3clang/include/clang/Parse/Parser.h
+10-0clang/lib/Parse/ParseDecl.cpp
+3-0clang/lib/Parse/Parser.cpp
+74-65 files

LLVM/project 906e3ec — libcxx/include/__locale_dir/support aix.h, libcxx/test/extensions/posix xopen_source.gen.py

[AIX][libc++] Forward-declare locale functions in aix.h when _XOPEN_SOURCE < 700 (#220508)

On AIX, the following locale function `uselocale` is only declared in
`usr/include/locale.h` when `_XOPEN_SOURCE > 700`.

This causes a failure in the test
`libcxx/test/extensions/posix/xopen_source.gen.py` which tests
`_XOPEN_SOURCE ` against 500, 600 and 700, with the following error:
```
#__locale_dir/support/aix.h:36:72: error: no member named 'uselocale' in the global namespace; did you mean 'setlocale'?
```

The fix here is to forward declare `uselocale` inside `aix.h` and make
it visible.

---------

Co-authored-by: himadhith <himadhith.v at ibm.com>
DeltaFile
+5-2libcxx/include/__locale_dir/support/aix.h
+0-4libcxx/test/extensions/posix/xopen_source.gen.py
+5-62 files

FreeBSD/ports f5f134c — sysutils/onefetch Makefile Makefile.crates

sysutils/onefetch: Update to 3.0.0

Changelog: https://github.com/o2sh/onefetch/releases/tag/3.0.0

Reported by:    GitHub (watch releases)
DeltaFile
+167-175sysutils/onefetch/distinfo
+82-86sysutils/onefetch/Makefile.crates
+3-3sysutils/onefetch/Makefile
+252-2643 files

OpenBSD/xenocara dSVi8iO — xserver/Xi xipassivegrab.c exevents.c, xserver/dix devices.c

   Merge fixes from upstream for Xserver issues:
   * CVE-2026-88812: XKB SetGeometry TextDoodad Double Free
   * CVE-2026-93515: Present Extension Cross-Window Notify Use-After-Free
   * CVE-2026-93516: XInput Passive Grab modifierDevice Use-After-Free
   * CVE-2026-93517: GLX RenderLarge Heap Buffer Overflow
   * CVE-2026-93518: XKB ResizeKeyType Numeric Truncation
   * CVE-2026-93519: XFixes Pointer Barrier Event List Buffer Overflow
   * CVE-2026-93520: XKB ChangeKeycodeRange Heap Out-of-Bounds Write
   * CVE-2026-93521: RandR ChangeProviderProperty Heap Buffer Overflow
   * CVE-2026-93522: Glamor CopyArea CPU-FBO Heap Buffer Overflow
   * CVE-2026-93523: XInput2 PassiveUngrabDevice Modifier Out-of-Bounds Write
   * CVE-2026-93524: XKB SetMap Key Width/Action Count Desync Out-Of-Bounds Read
   * CVE-2026-93536: GestureBuildSprite Use-After-Free
VersionDeltaFile
1.9+57-29xserver/Xi/xibarriers.c
1.37+36-0xserver/dix/devices.c
1.32+17-7xserver/Xi/exevents.c
1.12+24-0xserver/glamor/glamor_priv.h
1.17+12-0xserver/Xi/xipassivegrab.c
1.8+10-0xserver/glamor/glamor_transfer.c
+156-366 files not shown
+173-4612 files

LLVM/project 4fde7fc — libc/test/src/math/smoke powf_test.cpp

[libc][math] Add tolerance for test_subnormal_base in powf smoke test. (#229640)

Fix
[openmp-offload-amdgpu-runtime-2](https://lab.llvm.org/buildbot/#/builders/10)
DeltaFile
+11-10libc/test/src/math/smoke/powf_test.cpp
+11-101 files

NetBSD/src Fl7mZ42 — share/locale/ctype kk_KZ.PT154.src

   kk_KZ.PT154 locale: Add missing toupper/tolower mappings.

   This was missing a tolower mapping (MAPLOWER) from the lower case
   (ASCII) letters into themselves (which is required to work), and worse
   was also missing a toupper mapping (MAPUPPER) from the lower case (ASCII)
   letters into their upper case equivalents.

   Whether the actual (non ASCII) letter upper/lower mappings are all
   correct, I am not sure, but I very much doubt it.

   Detected and reported by RVP@ in:
    https://mail-index.netbsd.org/tech-userlevel/2026/08/15/msg015003.html
VersionDeltaFile
1.2+3-1share/locale/ctype/kk_KZ.PT154.src
+3-11 files

FreeBSD/ports 52bafdf — www/pomerium Makefile distinfo, www/pomerium/files envoy_freebsd.go patch-config_envoyconfig_listeners.go

www/pomerium: update to 0.33.4

While here:
 - Set Pdeathsig on the envoy child process so that it is terminated
   when pomerium exits, matching the behavior on Linux.
 - Stop enabling reuse_port on FreeBSD: Envoy force-disables it for
   TCP listeners on non-Linux platforms and logs a warning for each
   listener.
DeltaFile
+54-42www/pomerium/files/modules.txt
+43-43www/pomerium/distinfo
+21-21www/pomerium/Makefile
+0-17www/pomerium/files/patch-config_envoyconfig_listeners.go
+2-1www/pomerium/files/envoy_freebsd.go
+120-1245 files

FreeBSD/ports 76aded0 — comms/scrcpy Makefile distinfo, comms/scrcpy/files patch-app_meson.build

comms/scrcpy: Update to 5.0

Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v5.0

Reported by:    GitHub (watch releases)
DeltaFile
+18-3comms/scrcpy/files/patch-app_meson.build
+5-5comms/scrcpy/distinfo
+3-1comms/scrcpy/Makefile
+26-93 files