LLVM/project dc9be4elld/ELF/Arch ARM.cpp, lld/test/ELF arm-be8-data-mapsym.s

[LLD][ELF] Skip non-inputsections to avoid invalid cast in Arm BE8 handling (#188154)

This patch fixes https://github.com/llvm/llvm-project/issues/187033

In BE8 mode, instruction bytes are reversed for sections containing
code. This logic currently assumes that arm mapping symbols (e.g. $a,
$t, $d) are always associated with InputSections.

However, mapping symbols can also be defined in other section types such
as mergeable sections (SHF_MERGE). These are not represented as
InputSection, and attempting to cast them using
cast_if_present<InputSection> results in an assertion failure.
DeltaFile
+19-0lld/test/ELF/arm-be8-data-mapsym.s
+1-1lld/ELF/Arch/ARM.cpp
+20-12 files

LLVM/project 4c9a739bolt/test/AArch64 compare-and-branch-inversion.S compare-and-branch-reorder-blocks.S

[BOLT][AArch64] Strip uneeded labels from FEAT_CMPBR tests. (#189931)

Eliminates the temporary labels so that BOLT does not recognize them as
secondary entry points.
DeltaFile
+1-8bolt/test/AArch64/compare-and-branch-inversion.S
+3-6bolt/test/AArch64/compare-and-branch-reorder-blocks.S
+3-0bolt/test/AArch64/compare-and-branch-split-functions.S
+3-0bolt/test/AArch64/compare-and-branch-unsupported.S
+10-144 files

LLVM/project 2a30e72clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn.hip

[CIR][AMDGPU] Add amdgpu wave reduce builtins codegen
DeltaFile
+180-0clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+42-4clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+222-42 files

OPNSense/core d84542fsrc/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml generalSettings6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml

remove hint, bump model
DeltaFile
+0-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+0-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+1-53 files

LLVM/project d835dd2llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanRecipes.cpp

[LV] Strip createStepForVF (NFC) (#185668)

The mul -> shl simplification is already done in VPlan.
DeltaFile
+0-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-3llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+0-4llvm/lib/Transforms/Vectorize/VPlanHelpers.h
+2-213 files

FreeBSD/ports c927d06www/iridium/files patch-chrome_browser_about__flags.cc patch-third__party_blink_renderer_platform_runtime__enabled__features.json5

www/iridium: update to 2026.04.146.5
DeltaFile
+56-56www/iridium/files/patch-chrome_browser_about__flags.cc
+11-11www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+4-4www/iridium/files/patch-chrome_common_chrome__features.cc
+4-4www/iridium/files/patch-chrome_browser_ui_tabs_public_tab__features.h
+3-3www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc
+3-3www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
+81-8110 files not shown
+104-10416 files

FreeBSD/ports e051bdbwww/ungoogled-chromium distinfo, www/ungoogled-chromium/files patch-chrome_browser_about__flags.cc patch-third__party_blink_renderer_platform_runtime__enabled__features.json5

www/ungoogled-chromium: update to 146.0.7680.177

Security:       https://vuxml.freebsd.org/freebsd/1dc2aae1-0793-4dbd-8548-e63ae0e1bdaf.html
DeltaFile
+56-56www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
+11-11www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+7-7www/ungoogled-chromium/distinfo
+4-4www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
+4-4www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h
+3-3www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
+85-8510 files not shown
+108-10916 files

OPNSense/core eb8e1ffsrc/opnsense/scripts/shell firmware.sh

Fix typo in firmware: fetching changelog message (#10079)
DeltaFile
+1-1src/opnsense/scripts/shell/firmware.sh
+1-11 files

LLVM/project 018e048mlir/include/mlir/Dialect/Linalg/IR LinalgInterfaces.h, mlir/lib/Dialect/Linalg/IR LinalgInterfaces.cpp

[MLIR][Linalg] Generic to category specialization for unary elementwise ops (#187217)

Handle specialization of `linalg.generic` ops representing a unary
elementwise computation to the `linalg.elementwise` category op. This
implements a previously absent path in the linalg morphism.
DeltaFile
+102-41mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
+95-0mlir/test/Dialect/Linalg/roundtrip-morphism-linalg-category-ops.mlir
+70-2mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
+14-9mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+7-2mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h
+288-545 files

LLVM/project 81691d2llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/RISCV extract-last-active.ll

[RISCV][TTI] Update cost and prevent exceed m8 for vector.extract.last.active (#188160)

This patch contains two parts.
1. Update costs reflect to the codegen changes. This is not that
accurate since the step vector can use smaller type if there is a
vscale_range attribute. But we cannot get that in the type-based query
in TTI.
2. Return invalid cost for the vector.extract.last.active that needs
vector split for the step vector. But currently this is not handled
correctly and will hit the assertion.

For not blocking the FindLast reduction in LV
(https://github.com/llvm/llvm-project/pull/184931). We should land this
first and fix the SelectionDAG for vector.extract.last.active lowering.
DeltaFile
+22-22llvm/test/Analysis/CostModel/RISCV/extract-last-active.ll
+8-1llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+30-232 files

LLVM/project ca2cb81llvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][llvm] Some instructions should be `HINT` aliases (NFC)

Implement the following instructions as a `HINT` alias instead of a
dedicated instruction in separate classes:
  * `stshh`
  * `stcph`
  * `shuh`
  * `tsb`

Updated all their helper methods too, and updated the `stshh` pseudo
expansion for the intrinsic to emit `HINT #0x30 | policy`.

Code in AArch64AsmPrinter::emitInstruction identified an initial BTI using a
broad bitmask on the HINT immediate, which also matched shuh/stcph (50..52)
This could move the patchable entry label after a non-BTI instruction.
Replaced it with an exact BTI check using the BTI HINT range (32..63) and
AArch64BTIHint::lookupBTIByEncoding(Imm ^ 32).

A following change will remove duplicated code and simplify.

    [2 lines not shown]
DeltaFile
+115-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+41-39llvm/lib/Target/AArch64/AArch64InstrFormats.td
+22-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+5-14llvm/lib/Target/AArch64/AArch64InstrInfo.td
+5-10llvm/lib/Target/AArch64/AArch64SystemOperands.td
+4-2llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+192-683 files not shown
+201-719 files

OpenBSD/src 5YTIMBpusr.bin/tmux regsub.c

   Handle empty regular expression in substitution, found by ossfuzz.
VersionDeltaFile
1.7+3-1usr.bin/tmux/regsub.c
+3-11 files

OPNSense/core 2c969a9src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml generalSettings6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv4.xml

Services Kea: DHCPv4/6: add sockets max-retries and retry-wait-time options. Fixes https://github.com/opnsense/core/issues/10072
DeltaFile
+16-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+16-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+8-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+8-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+4-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+4-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+56-26 files

FreeBSD/ports 9a26ca8devel/py-types-jsonschema distinfo Makefile, devel/py-types-jsonschema/files patch-pyproject.toml

devel/py-types-jsonschema: update to 4.26.0.20260402

Changes:        https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/jsonschema.md
Reported by:    repology
DeltaFile
+3-3devel/py-types-jsonschema/distinfo
+2-2devel/py-types-jsonschema/files/patch-pyproject.toml
+1-1devel/py-types-jsonschema/Makefile
+6-63 files

LLVM/project 703d43cllvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

[CostModel] Move default expand cost for partial reductions to BasicTTIImpl (#189905)

This is a follow-up of the suggestion left here:

https://github.com/llvm/llvm-project/pull/181707#discussion_r2995733831

The override functions in AMDGPU/ARM/SystemZ/X86 are required to avoid
enabling partial reductions where they were previously disabled (I've
added this for all targets that implement getArithmeticReductionCost).
DeltaFile
+43-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+7-27llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+10-0llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
+9-0llvm/lib/Target/ARM/ARMTargetTransformInfo.h
+9-0llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
+9-0llvm/lib/Target/X86/X86TargetTransformInfo.h
+87-276 files

OpenBSD/src t9nStaHusr.bin/tmux window-copy.c format.c

   Check for \0 after skipping # not before in format_expand1, from ossfuzz.
VersionDeltaFile
1.393+6-5usr.bin/tmux/window-copy.c
1.350+2-2usr.bin/tmux/format.c
+8-72 files

LLVM/project b8ca2a8llvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][llvm] Some instructions should be `HINT` aliases (NFC)

Implement the following instructions as a `HINT` alias instead of a
dedicated instruction in separate classes:
  * `stshh`
  * `stcph`
  * `shuh`
  * `tsb`

Updated all their helper methods too, and updated the `stshh` pseudo
expansion for the intrinsic to emit `HINT #0x30 | policy`.

Code in AArch64AsmPrinter::emitInstruction identified an initial BTI using a
broad bitmask on the HINT immediate, which also matched shuh/stcph (50..52)
This could move the patchable entry label after a non-BTI instruction.
Replaced it with an exact BTI check using the BTI HINT range (32..63) and
AArch64BTIHint::lookupBTIByEncoding(Imm ^ 32).

A following change will remove duplicated code and simplify.

    [2 lines not shown]
DeltaFile
+115-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+41-39llvm/lib/Target/AArch64/AArch64InstrFormats.td
+22-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+5-14llvm/lib/Target/AArch64/AArch64InstrInfo.td
+5-10llvm/lib/Target/AArch64/AArch64SystemOperands.td
+4-2llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+192-683 files not shown
+201-719 files

NetBSD/pkgsrc A2S1osrdoc eol-packages TODO

   doc: ruby 3.2 is EOL
VersionDeltaFile
1.28+7-1doc/eol-packages
1.27036+2-3doc/TODO
1.754+2-1doc/pkg-vulnerabilities
+11-53 files

LLVM/project 5f6835dlldb/source/Plugins/Process/Linux NativeRegisterContextLinux_arm64.cpp

[lldb][AArch64][Linux] Qualify uses of user_sve_header (#190130)

Fixes #165413. Where a build failure was reported:
```
/b/s/w/ir/x/w/llvm-llvm-project/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp:1182:9: error: unknown type name 'user_sve_header'; did you mean 'sve::user_sve_header'?
 1182 |         user_sve_header *header =
      |         ^~~~~~~~~~~~~~~
      |         sve::user_sve_header
```
To fix this, add sve:: as we do for all other uses of this.

This is LLDB's copy of a structure that Linux also defines. I think the
build worked on some machines because that version ended up being
included, but with a more isolated build, it may not.

We have our own definition of it so we can be sure what we're using in
case Linux extends it later.
DeltaFile
+3-3lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
+3-31 files

LLVM/project 76fc936clang/include/clang/Basic BuiltinsLoongArchLSX.def BuiltinsLoongArchLASX.def, clang/test/CodeGen/LoongArch/lasx lasxintrin-lax-vector-conversions.c

[Clang][LoongArch] Align LSX/LASX built-in signatures with intrinsic types to avoid lax conversions (#189900)

Update the built-in signatures in BuiltinsLoongArchLSX.def and
BuiltinsLoongArchLASX.def to precisely match the vector types used in
the corresponding intrinsic headers (lsxintrin.h and lasxintrin.h).

This alignment ensures that these intrinsics can be compiled
successfully even when -flax-vector-conversions=none is specified, since
the built-in arguments no longer rely on implicit vector type
conversions.

Added new test cases to verify the macro-defined LSX/LASX
intrinsic interfaces under -flax-vector-conversions=none.

Fixes #189898
DeltaFile
+528-0clang/test/CodeGen/LoongArch/lasx/lasxintrin-lax-vector-conversions.c
+463-0clang/test/CodeGen/LoongArch/lsx/lsxintrin-lax-vector-conversions.c
+20-20clang/include/clang/Basic/BuiltinsLoongArchLSX.def
+18-18clang/include/clang/Basic/BuiltinsLoongArchLASX.def
+1,029-384 files

OpenBSD/src RRat9wwusr.bin/tmux sort.c

   Fix NULL dereference in sort.c, from Dane Jensen.
VersionDeltaFile
1.4+2-1usr.bin/tmux/sort.c
+2-11 files

LLVM/project f95d973clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

fix fmt
DeltaFile
+4-5clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+4-51 files

FreeBSD/src ed71162lib/libc/amd64/string strrchr.S

libc/amd64/strrchr.S: rewrite and fix scalar implementation

The original scalar implementation of strrchr() had incorrect
logic that failed if the character searched for was the NUL
character.  It was also possibly affected by the issue fixed
in 3d8ef251a for strchrnul().

Rewrite the function with logic that actually works.  We defer
checking for the character until after we have checked for NUL.
When we encounter the final NUL byte, we mask out the characters
beyond the tail before checking for a match.

This bug only affects users running on amd64 with ARCHLEVEL=scalar
(cf. simd(7)).  The default configuration is not affected.

The bug was unfortunately not caught by the unit test inherited
from NetBSD.  An extended unit test catching the issue is proposed
in D56037.


    [9 lines not shown]
DeltaFile
+26-52lib/libc/amd64/string/strrchr.S
+26-521 files

LLVM/project e3cfcf4clang/include/clang/Basic DiagnosticCrossTUKinds.td, clang/include/clang/CrossTU CrossTranslationUnit.h

[clang][analyzer] Forward CTU-import failure conditions

Forward all CTU-import failures as diagnostics (remarks, warnings,
errors), except for `index_error_code::missing_definition` which has the
potential of generating too many diagnostics.

--
CPP-7804
DeltaFile
+127-37clang/lib/CrossTU/CrossTranslationUnit.cpp
+28-5clang/test/Analysis/ctu/diag/load-threshold.cpp
+26-1clang/include/clang/Basic/DiagnosticCrossTUKinds.td
+13-10clang/include/clang/CrossTU/CrossTranslationUnit.h
+19-0clang/test/Analysis/ctu/diag/invlist-wrong-format-late.cpp
+16-0clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
+229-5314 files not shown
+248-7320 files

OpenBSD/ports RBMPAY5graphics/jpeg distinfo Makefile, graphics/jpeg/patches patch-CMakeLists_txt

   update to jpeg-3.1.4.1

   thanks to matthieu@ for armv7 and macppc tests (and Jan Stary who started
   on this too but matthieu beat him to it)
VersionDeltaFile
1.36+2-2graphics/jpeg/distinfo
1.89+1-1graphics/jpeg/Makefile
1.18+1-1graphics/jpeg/patches/patch-CMakeLists_txt
+4-43 files

FreeBSD/src 81114fflib/libc/amd64/string strrchr.S

libc/amd64/strrchr.S: rewrite and fix scalar implementation

The original scalar implementation of strrchr() had incorrect
logic that failed if the character searched for was the NUL
character.  It was also possibly affected by the issue fixed
in 3d8ef251a for strchrnul().

Rewrite the function with logic that actually works.  We defer
checking for the character until after we have checked for NUL.
When we encounter the final NUL byte, we mask out the characters
beyond the tail before checking for a match.

This bug only affects users running on amd64 with ARCHLEVEL=scalar
(cf. simd(7)).  The default configuration is not affected.

The bug was unfortunately not caught by the unit test inherited
from NetBSD.  An extended unit test catching the issue is proposed
in D56037.


    [9 lines not shown]
DeltaFile
+26-52lib/libc/amd64/string/strrchr.S
+26-521 files

LLVM/project 5e0a06bllvm/lib/CodeGen ExpandMemCmp.cpp, llvm/lib/Transforms/Scalar ExpandMemCmp.cpp MergeICmps.cpp

Move ExpandMemCmp and MergeIcmp to the middle end  (#77370)

Moving these into the middle-end pipeline will allow for additional
optimization of the expansion result, such as CSE of redundant loads
(c.f. https://godbolt.org/z/bEna4Md9r). For now, we conservatively place
the passes at the end of the middle-end pipeline, so we mostly don't
benefit from additional optimizations yet. The pipeline position will be
moved in a future change.

This builds on work done by legrosbuffle in
https://reviews.llvm.org/D60318.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+0-1,013llvm/lib/CodeGen/ExpandMemCmp.cpp
+963-0llvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
+61-0llvm/test/Transforms/ExpandMemCmp/X86/sanitizer-skip.ll
+2-48llvm/lib/Transforms/Scalar/MergeICmps.cpp
+37-0llvm/test/Transforms/PhaseOrdering/X86/expand-memcmp-middle-end.ll
+16-16llvm/test/CodeGen/RISCV/memcmp-optsize.ll
+1,079-1,07770 files not shown
+1,236-1,35276 files

NetBSD/pkgsrc qDxCLLMdoc CHANGES-2026

   Updated lang/py-mypy, devel/py-test-mypy-plugins
VersionDeltaFile
1.2057+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc wKfTov0devel/py-test-mypy-plugins distinfo Makefile

   py-test-mypy-plugins: updated to 4.0.0

   4.0.0

   Bugfixes

   Breaking: Errors are now ignored in site-packages by default. The --mypy-only-local-stub flag
   has been removed and replaced with --mypy-no-silence-site-packages which can be used to restore
   the previous behavior if needed. This change was made to avoid errors being raised when enabling
   certain mypy options, e.g. the explicit-override error code or the --disallow-subclassing-any
   flag, which resulted in violations due to these not being supported with the stubs provided by
   typeshed for the standard library. In addition, this affected other error codes or flags for some
   third-party libraries in django-stubs.

   Breaking: When running in a subprocess (the default), PYTHONPATH is no longer set. With the
   above change, violations would still be raised in the main module for a test case, but those that
   were flagged in imported modules would no longer be raised. This was because these modules were
   being added to PYTHONPATH which caused mypy to treat them as belonging in site-packages and not
   as part of the first-party package. The new --mypy-modify-pythonpath flag can be used to revert
   to the previous behavior if needed.
VersionDeltaFile
1.7+4-4devel/py-test-mypy-plugins/distinfo
1.12+2-2devel/py-test-mypy-plugins/Makefile
+6-62 files

NetBSD/pkgsrc B9G8GNRlang/py-mypy PLIST Makefile

   py-mypy: updated to 1.20.0

   1.20.0

   * Planned Changes to Defaults and Flags in Mypy 2.0
   * Better Type Narrowing
   * Drop Support for Python 3.9
   * Mypyc Accelerated Mypy Wheels for ARM Windows and Free Threading
   * Improved Compatibility for Local Partial Types
   * The inferred type of 'x' is always 'int | None'.
   * Python 3.14 T-String Support (PEP 750)
   * Experimental New Parser
   * Performance Improvements
   * Improvements to Allowing Redefinitions
   * mypy: allow-redefinition-new, local-partial-types
   * Incremental Checking Improvements
   * Fixes to Crashes
   * Mypyc: Faster Imports on macOS
   * librt: Mypyc Standard Library

    [9 lines not shown]
VersionDeltaFile
1.43+91-5lang/py-mypy/PLIST
1.68+5-10lang/py-mypy/Makefile
1.62+4-4lang/py-mypy/distinfo
+100-193 files