LLVM/project 1b43f5cllvm/include/llvm/CodeGen ISDOpcodes.h, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp LegalizeIntegerTypes.cpp

[RISCV][SelectionDAG] Add a ISD::CTLS node for count leading redundant sign bits. Use it to select CLS(W). (#173417)

The RISC-V P extension adds an instruction equivalent to
__builtin_clrsb. AArch64 has a similar instruction that we currently fail to
select when using the builtin.

This patch adds a combine based on the canonical version of the pattern
emitted by clang for the builtin, (add (ctlz (xor x, (sra x, bw-1)))),
-1). I'm starting the combine at the ctlz because the outer add can
easily be combined into other nodes obscuring the full pattern. So we
generate (add (ctls x), 1) and hope the add will be combined away.

I've also added a combine for the pattern AArch64 recognizes
(ctlz_zero_undef (or (shl (xor x, (sra x, bw-1)), 1), 1)).

I've only enabled the combines when the target has a Legal or Custom
action for the operation, taking into account type promotion. We
can relax this in the future by adding a default expansion to
LegalizeDAG and adding more type legalization rules.
DeltaFile
+136-0llvm/test/CodeGen/RISCV/rv32p.ll
+108-0llvm/test/CodeGen/RISCV/rv64p.ll
+44-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+23-4llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+14-0llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+4-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+329-45 files not shown
+336-411 files

LLVM/project f5dab90mlir/cmake/modules MLIRDetectPythonEnv.cmake

[mlir][Python] Bump MLIR Python minimum version to 3.10 (#163499)

This PR bumps the minimum Python version required for MLIR to be Python
3.10. See
https://discourse.llvm.org/t/rfc-adopt-regularly-scheduled-python-minimum-version-bumps/88841
for a discussion about the expected bump schedule going forward.
DeltaFile
+4-3mlir/cmake/modules/MLIRDetectPythonEnv.cmake
+4-31 files

NetBSD/pkgsrc Ctew2Nzdoc CHANGES-2026 TODO

   doc: Updated devel/py-filelock to 3.20.2
VersionDeltaFile
1.81+2-1doc/CHANGES-2026
1.26615+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc OY1DUo3devel/py-filelock distinfo Makefile

   py-filelock: update to 3.20.2.

   Support Unix systems without O_NOFOLLOW by @mwilliamson in #463
   [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #464
VersionDeltaFile
1.35+4-4devel/py-filelock/distinfo
1.36+2-2devel/py-filelock/Makefile
+6-62 files

NetBSD/pkgsrc 8ql8NhHdoc CHANGES-2026 TODO

   doc: Updated devel/py-astroid to 4.0.3
VersionDeltaFile
1.80+2-1doc/CHANGES-2026
1.26614+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc zKonN51devel/py-astroid distinfo Makefile

   py-astroid: update to 4.0.3.

   Release date: 2026-01-03

       Fix inference of IfExp (ternary expression) nodes to avoid prematurely narrowing
       results in the face of inference ambiguity.

       Closes #2899

       Fix base class inference for dataclasses using the PEP 695 typing syntax.

       Refs pylint-dev/pylint#10788
VersionDeltaFile
1.95+4-4devel/py-astroid/distinfo
1.107+2-2devel/py-astroid/Makefile
+6-62 files

LLVM/project 112df6allvm/bindings/ocaml/llvm llvm.ml llvm.mli, llvm/test/Bindings/OCaml core.ml

[ocaml] Fixed typo error about set_module_identifier in llvm ocaml binding (#77479)

DeltaFile
+2-2llvm/bindings/ocaml/llvm/llvm.ml
+1-1llvm/bindings/ocaml/llvm/llvm.mli
+1-1llvm/test/Bindings/OCaml/core.ml
+4-43 files

NetBSD/pkgsrc EphplxRdoc TODO CHANGES-2026

   doc: Updated www/py-aiohttp to 3.13.3
VersionDeltaFile
1.26613+2-3doc/TODO
1.79+2-1doc/CHANGES-2026
+4-42 files

NetBSD/pkgsrc NZQHcInwww/py-aiohttp Makefile distinfo

   py-aiohttp: update to 3.13.3.

   3.13.3 (2026-01-03)
   ===================

   This release contains fixes for several vulnerabilities. It is advised to
   upgrade as soon as possible.

   Bug fixes
   ---------

   - Fixed proxy authorization headers not being passed when reusing a connection, which caused 407 (Proxy authentication required) errors

   - Fixed multipart reading failing when encountering an empty body part

   - Fixed a case where the parser wasn't raising an exception for a websocket continuation frame when there was no initial frame in context.

   Removals and backward incompatible breaking changes
   ---------------------------------------------------

    [20 lines not shown]
VersionDeltaFile
1.103+4-4www/py-aiohttp/Makefile
1.95+4-4www/py-aiohttp/distinfo
+8-82 files

LLVM/project bada581llvm/lib/Target/RISCV RISCVSchedAndes45.td, llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-vlseg-vsseg.s rvv-vlxe-vsxe.s

[RISCV] Update Andes45 vector load/stores scheduling info (#173806)

This PR adds latency/throughput for all RVV load/stores to the Andes45
series scheduling model.
DeltaFile
+1,541-1,541llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+177-177llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlxe-vsxe.s
+183-25llvm/lib/Target/RISCV/RISCVSchedAndes45.td
+100-100llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vle-vse-vlm.s
+89-89llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlse-vsse.s
+2,090-1,9325 files

HardenedBSD/src 4dc7d09sys/vm vm_object.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+3-2sys/vm/vm_object.h
+3-21 files

HardenedBSD/src 7c5cb28sys/vm vm_object.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+3-2sys/vm/vm_object.h
+3-21 files

Linux/linux 3609fa9. MAINTAINERS .mailmap, drivers/of unittest.c

Merge tag 'devicetree-fixes-for-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:

 - Fix an error path memory leak in DT unittest

 - Update Saravana's bouncing email

* tag 'devicetree-fixes-for-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  of: unittest: Fix memory leak in unittest_data_add()
  MAINTAINERS: Update Saravana Kannan's email address
DeltaFile
+3-5drivers/of/unittest.c
+3-3MAINTAINERS
+2-0.mailmap
+8-83 files

OpenBSD/src 8PvHsCWsys/net pf.c

   refactor the matching of sk->sk_states entries in pf_find_state()

   ive been looking at and trying to comprehend this code for what
   feels like months of my life, and the af-to handling in particular.
   it wasn't until i found the PF_AFRT handling in pf_test that it
   suddenly clicked.

   i figure it doesnt hurt to pull the code here apart a bit and put
   some comments in place to help future travellers.

   ok sashan@
VersionDeltaFile
1.1229+30-11sys/net/pf.c
+30-111 files

FreeBSD/src 8cbc9c0lib/libc/stdlib tsearch.3 Makefile.inc

tdestroy(3) man page

(cherry picked from commit b0d4b059cf8425cbe094f93362a61c56a26d45f3)
DeltaFile
+23-2lib/libc/stdlib/tsearch.3
+2-1lib/libc/stdlib/Makefile.inc
+25-32 files

FreeBSD/src 6197518include search.h, lib/libc/stdlib tdestroy.c Symbol.map

libc: add glibc-compatible tdestroy(3)

(cherry picked from commit b8c99e7d912f0dad84cec80f8c4331646b87a3ec)
DeltaFile
+68-0lib/libc/stdlib/tdestroy.c
+1-0lib/libc/stdlib/Symbol.map
+1-0include/search.h
+1-0lib/libc/stdlib/Makefile.inc
+71-04 files

FreeBSD/src 6a6f964lib/libc/tests/stdlib tsearch_test.c

tdestroy(3): add tests

(cherry picked from commit 3204c097fd08436805f059c0d7f676d29ee9bb62)
DeltaFile
+65-0lib/libc/tests/stdlib/tsearch_test.c
+65-01 files

FreeBSD/src 567e77dlib/libc/gen exterr_cat_filenames.h

Add automatically generated file libc/gen/exterr_cat_filenames.h

(cherry picked from commit 5685c07b5a8e4ccc19140eeaa5987a38dca7c668)
DeltaFile
+17-0lib/libc/gen/exterr_cat_filenames.h
+17-01 files

FreeBSD/src 2b83f57lib/libc/gen err.3, share/man/man7 environ.7

man pages: provide some description for extended errors

(cherry picked from commit 3088263177da2813dd09364171feadd0e31d1fc3)
DeltaFile
+16-0lib/libc/gen/err.3
+15-1share/man/man7/environ.7
+31-12 files

FreeBSD/src 39a04a3tests/sys/kern exterr_test.c

exterr_test: loosen the error string pattern

(cherry picked from commit 543c86636f73119fa1dab860f07396df5a1884d4)
DeltaFile
+1-1tests/sys/kern/exterr_test.c
+1-11 files

FreeBSD/src e5b9182lib/libc/gen uexterr_format.c, sys/sys exterr_cat.h

exterr: in verbose mode, print the source file name

(cherry picked from commit 874cdf6af695c42d561647f7165c99c2d3df0faa)
DeltaFile
+17-4lib/libc/gen/uexterr_format.c
+11-0sys/sys/exterr_cat.h
+28-42 files

FreeBSD/src 39abebbtools/build make_libc_exterr_cat_filenames.sh

Add a script to auto-generate mapping from exterr category to source file

(cherry picked from commit 3ef25acf3600fb822bdf1487036184b4978d737f)
DeltaFile
+22-0tools/build/make_libc_exterr_cat_filenames.sh
+22-01 files

FreeBSD/src 6c797f5sys/vm vm_mmap.c

vm/vm_mmap.c: inline erronous argument values for extended errors

(cherry picked from commit 2904edaf2f09934142f9f6a6d2886879395145cc)
DeltaFile
+25-18sys/vm/vm_mmap.c
+25-181 files

FreeBSD/src ca345aalib/libc/gen uexterr_format.c

exterror: Add EXTERROR_VERBOSE env variable to control verbosity

(cherry picked from commit 42210fe8dcd4684a45e0e4db1b8194e291dc8fda)
DeltaFile
+48-5lib/libc/gen/uexterr_format.c
+48-51 files

FreeBSD/src a26a553lib/libc/stdlib Makefile.inc

libc/stdlib/Makefile: one line for each source file name

(cherry picked from commit 04a664d87607d25d87baf56903090707cc91e2e0)
DeltaFile
+69-13lib/libc/stdlib/Makefile.inc
+69-131 files

FreeBSD/src a3b3ac6share/man/man9 exterror.9

exterror.9: describe formatting of optional arguments

(cherry picked from commit 14bd57d0a78dcd98449597fd3e19749799e36935)
DeltaFile
+10-0share/man/man9/exterror.9
+10-01 files

FreeBSD/src 12918e9sys/fs/fuse fuse_device.c fuse_vfsops.c, sys/sys exterr_cat.h

fs/fuse: use dedicated category per source file

(cherry picked from commit 54b52f655e0fdaef21c3cde85e8bf030efa7b86e)
DeltaFile
+3-1sys/sys/exterr_cat.h
+1-1sys/fs/fuse/fuse_device.c
+1-1sys/fs/fuse/fuse_vfsops.c
+1-1sys/fs/fuse/fuse_vnops.c
+6-44 files

FreeBSD/src 4c273b7lib/libc/gen uexterr_format.c

exterror: add support for the format specifiers in the extended error msg

(cherry picked from commit 8bff95f3ce0396ff40b4f7d943ea856ac3f846c3)
DeltaFile
+2-1lib/libc/gen/uexterr_format.c
+2-11 files

FreeBSD/src 1f5dfc8lib/libc/gen err.c

libc/gen/err.c: remove 'extended error' herald from extended error output

(cherry picked from commit 37ddbbe5535cb6c27b8a026b2f28d64319b9f802)
DeltaFile
+1-1lib/libc/gen/err.c
+1-11 files

FreeBSD/ports 2efd091net-im/tde2e distinfo Makefile

net-im/tde2e: update: 1.8.59 -> 1.8.60

Sponsored by:   tipi.work
DeltaFile
+3-3net-im/tde2e/distinfo
+2-2net-im/tde2e/Makefile
+5-52 files