LLVM/project 6c27fc9 — llvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine sink-align-assume.ll

[InstCombine] Fix InstCombine pass to sink llvm.assume calls (#229658)

When trying to sink a GEP instruction into the loop preheader the
InstCombine pass ignores and deletes an llvm.assume call that sets the
alignment for the pointer of the GEP instruction which later passes
depend on. This patch sinks such llvm.assume calls while sinking a
dependent instruction.

Fixes https://github.com/llvm/llvm-project/issues/226698.
DeltaFile
+110-0llvm/test/Transforms/InstCombine/sink-align-assume.ll
+14-5llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+124-52 files

LLVM/project 308aa0c — clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLocalVarsChecker.cpp, clang/test/Analysis/Checkers/WebKit unretained-local-vars.mm

[alpha.webkit.UnretainedLocalVarsChecker] Treat the collection of a fast enumeration as the origin of its element (#230818)

alpha.webkit.UnretainedLocalVarsChecker reported every element variable
of an Objective-C fast enumeration such as "for (T *x in collection)"
since the variable has no initializer, even when the collection was kept
alive by a RetainPtr local variable.

The element of a fast enumeration is kept alive by its collection, which
can't be mutated during the enumeration. So treat the collection as the
initial value of the element, as in "T *x = collection;". Because the
collection is evaluated before the loop body is entered, a guardian
local variable only needs to outlive the loop body; it can be declared
in the same scope as the loop as long as the loop body doesn't mutate
it.

The collection is a full-expression of its own so a temporary smart
pointer in the collection is destroyed before the loop body is entered
and isn't considered safe.

Authored with Claude Code.
DeltaFile
+102-0clang/test/Analysis/Checkers/WebKit/unretained-local-vars.mm
+36-3clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+138-32 files

LLVM/project 6ebe7cb — clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLocalVarsChecker.cpp, clang/test/Analysis/Checkers/WebKit unchecked-local-vars.cpp uncounted-local-vars.cpp

[alpha.webkit.UncountedLocalVarsChecker] Don't treat a const operator call on a guardian as a mutation (#230900)

GuardianVisitor treated `guardian->method()` as a mutation of the
guardian because the implicit object argument of a member operator call
had no corresponding parameter, and the check fell back to the non-const
type of the guardian itself. Skip the implicit object argument when the
operator is a const member function, and only apply the argument offset
for implicit object member operators so that arguments of non-member
operators map to the right parameters.

Also treat passing a guardian to a const reference parameter as
non-mutating by checking the constness of the referenced type instead of
the reference type.

Coded with Claude code.
DeltaFile
+22-0clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
+10-2clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+9-0clang/test/Analysis/Checkers/WebKit/unchecked-local-vars.cpp
+41-23 files

Linux/linux b88c841 — drivers/input/joystick xpad.c, drivers/input/misc ati_remote2.c

Merge tag 'input-for-v7.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input fixes from Dmitry Torokhov:

 - A fix for the ati_remote2 sysfs attributes handling, resolving type
   confusion after conversion to dev_groups

 - Updates to the xpad joystick driver adding support for the Corsair
   Novablade Pro controller (wired and 2.4 GHz wireless) and a newer
   hardware revision of the 8BitDo Pro 2 Wired Controller for Xbox.

* tag 'input-for-v7.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: xpad - add support for 8BitDo Pro 2 Wired Controller for Xbox
  Input: xpad - add support for Corsair Novablade Pro
  Input: ati_remote2 - fix type confusion in device attribute handlers
DeltaFile
+4-8drivers/input/misc/ati_remote2.c
+4-0drivers/input/joystick/xpad.c
+8-82 files

LLVM/project c219f17 — llvm/lib/Target/AMDGPU AMDGPUSplitModule.cpp, llvm/test/tools/llvm-split/AMDGPU non-kernels-unreachable-cycles.ll

[AMDGPU][SplitModule] Add entry points for unreachable call cycles

A function in a call cycle always has an incoming direct call, so
`SplitGraph` never makes it an entry point. If no kernel and no other
entry point reaches the cycle, the cycle is assigned to no partition.
This can hit an assertion in `verifyGraph`.

In this PR, we visit the unreached nodes in reverse post-order of the
direct call edges, and make each node that is still unreached an entry
point. Only the outermost unreached cycles get one, so their callees
are not copied into other partitions.
DeltaFile
+40-1llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
+15-6llvm/test/tools/llvm-split/AMDGPU/non-kernels-unreachable-cycles.ll
+55-72 files

LLVM/project df29dfd — llvm/test/tools/llvm-split/AMDGPU non-kernels-unreachable-cycles.ll

[NFC][AMDGPU] Add a test showing unreachable call cycles in module splitting

If no entry point reaches a call cycle, `AMDGPUSplitModule` creates no
entry point for it. In assertion builds, `verifyGraph()` fails. In
release builds, no partition defines the functions in the cycle.

Add a test that shows the current crash.
DeltaFile
+35-0llvm/test/tools/llvm-split/AMDGPU/non-kernels-unreachable-cycles.ll
+35-01 files

LLVM/project e170537 — flang/docs DesignGuideline.md, libcxx/docs Contributing.md

[docs] Update obsolete Phabricator references for GitHub workflows (#229542)

Use GitHub pull requests in the contribution and code-review guidance,
remove obsolete Phabricator contact handles and infrastructure listings,
and update source links to their current locations.

Assisted-by: Codex
DeltaFile
+13-11libcxx/docs/Contributing.md
+6-5flang/docs/DesignGuideline.md
+2-4llvm/docs/CodeReview.md
+2-3llvm/docs/Contributing.md
+1-2llvm/docs/SupportPolicy.md
+1-1llvm/docs/Proposals/VectorPredication.md
+25-263 files not shown
+28-299 files

LLVM/project 72f3515 — llvm/lib/Target/AMDGPU AMDGPUSplitModule.cpp, llvm/test/tools/llvm-split/AMDGPU non-kernels-unreachable-cycles.ll

[AMDGPU][SplitModule] Add entry points for unreachable call cycles

A function in a call cycle always has an incoming direct call, so
`SplitGraph` never makes it an entry point. If no kernel and no other
entry point reaches the cycle, the cycle is assigned to no partition.
This can hit an assertion in `verifyGraph`.

In this PR, we visit the unreached nodes in reverse post-order of the
direct call edges, and make each node that is still unreached an entry
point. Only the outermost unreached cycles get one, so their callees
are not copied into other partitions.
DeltaFile
+40-1llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
+15-6llvm/test/tools/llvm-split/AMDGPU/non-kernels-unreachable-cycles.ll
+55-72 files

LLVM/project aa8bca2 — llvm/test/tools/llvm-split/AMDGPU non-kernels-unreachable-cycles.ll

[NFC][AMDGPU] Add a test showing unreachable call cycles in module splitting

If no entry point reaches a call cycle, `AMDGPUSplitModule` creates no
entry point for it. In assertion builds, `verifyGraph()` fails. In
release builds, no partition defines the functions in the cycle.

Add a test that shows the current crash.
DeltaFile
+35-0llvm/test/tools/llvm-split/AMDGPU/non-kernels-unreachable-cycles.ll
+35-01 files

LLVM/project 7ca1269 — clang-tools-extra/docs/clang-tidy Contributing.rst

[clang-tidy][docs] Fix ExplicitConstructorCheck example links (#229932)

Point the contribution guide at the current
misc/ExplicitConstructorCheck header and implementation. Replace the
obsolete Phabricator source-browser link with the GitHub source link.

Assisted-by: Codex
DeltaFile
+4-4clang-tools-extra/docs/clang-tidy/Contributing.rst
+4-41 files

FreeBSD/ports 5c81e94 — archivers/ark Makefile

archivers/ark: Enable RAR support for all platforms
DeltaFile
+1-2archivers/ark/Makefile
+1-21 files

FreeBSD/ports 7f34c9f — Mk/Uses kde.mk, databases/akonadi pkg-plist

*/*: Rename KDE_APPLICATIONS6_SHLIB_VER to KDE_PIM6_SHLIB_VER to avoid confusion

Although KDE PIM uses Gear version for tarballs, it still uses
internal PIM version for its own libraries.
DeltaFile
+11-11deskutils/kdepim-addons/pkg-plist
+8-8net/libkgapi/pkg-plist
+7-7net/messagelib/pkg-plist
+7-7deskutils/kdepim-runtime/pkg-plist
+6-6databases/akonadi/pkg-plist
+3-6Mk/Uses/kde.mk
+42-4539 files not shown
+102-10545 files

FreeBSD/ports 8622997 — archivers/ark pkg-plist Makefile, astro/marble Makefile

*/*: Simplify by using KDE_APPLICATIONS_VERSION instead of KDE_APPLICATIONS_SHLIB_VER
DeltaFile
+0-3graphics/libksane/Makefile
+0-3devel/kpublictransport/Makefile
+0-3astro/marble/Makefile
+0-3archivers/ark/Makefile
+0-2deskutils/kdeconnect-kde/Makefile
+1-1archivers/ark/pkg-plist
+1-151 files not shown
+2-167 files

FreeBSD/ports 16b1f35 — devel/grantlee5 Makefile

devel/grantlee5: Schedule for removal

Depends on deprecated Qt5, has no consumers
DeltaFile
+4-0devel/grantlee5/Makefile
+4-01 files

FreeBSD/ports 868dbf4 — filesystems/versitygw/files patch-tests_integration_iam__access__control.go

filesystems/versitygw: Add dropped patch

Reported by: pkg-fallout
Sponsored by: SkunkWerks, GmbH
DeltaFile
+188-0filesystems/versitygw/files/patch-tests_integration_iam__access__control.go
+188-01 files

FreeBSD/ports 6685e0a — textproc/markterm Makefile

textproc/markterm: Prevent fetching from internet

The vendored shard.yml has a postinstall script that tries to fetch and
regenerate unicode files at build time. Use sed to disable them.

Sponsored by:   SkunkWerks, GmbH
Reported by:    pkg-fallout
DeltaFile
+2-0textproc/markterm/Makefile
+2-01 files

FreeBSD/ports f8f8aa7 — games/xray-16/files patch-src_utils_xrMiscMath_vector.cpp patch-src_xrCore___vector3d.h

games/xray-16: Fix build against math.h declaring rsqrt() in recent 16

FreeBSD's <math.h> now declares double rsqrt(double), which clashes with
the engine's own rsqrt() helper:

  src/xrCore/_vector3d.h:359:8: error: exception specification in
  declaration does not match previous declaration
    359 | double rsqrt(double v) noexcept;
  /usr/include/math.h:556:9: note: previous declaration is here
    556 | double          rsqrt(double);

Rename the engine helper to xr_rsqrt() in its declaration, its definition
and its four call sites so it no longer collides with the libm symbol.

PR:             299297
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+38-0games/xray-16/files/patch-src_utils_xrMiscMath_xrMiscMath.cpp
+11-0games/xray-16/files/patch-src_utils_xrMiscMath_vector.cpp
+11-0games/xray-16/files/patch-src_xrCore___vector3d.h
+60-03 files

LLVM/project 7f6afc5 — llvm/unittests/DebugInfo/DWARF CMakeLists.txt

[unittests] Fix shared build. NFC (#230963)
DeltaFile
+1-0llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
+1-01 files

FreeBSD/ports 5a31ba8 — net/k6 Makefile distinfo

net/k6: Update to 2.3.0

ChangeLog:
https://github.com/grafana/k6/releases/tag/v2.3.0
DeltaFile
+5-5net/k6/distinfo
+2-3net/k6/Makefile
+7-82 files

FreeBSD/src 5fc8fe3 — lib/libpfctl libpfctl.c

libpfctl: Fix the counts returned by pfctl_ina_define()

The counts of a table definition were stored only if the caller's
variables already held a non-zero value, and read uninitialised ones
otherwise.  pfctl_ina_define() passes the address of two uninitialised
locals and sums them up.

Reviewed by:            kp
Fixes:                  219ce3063840 ("pf: convert DIOCRINADEFINE to netlink")
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D60614
DeltaFile
+2-2lib/libpfctl/libpfctl.c
+2-21 files

FreeBSD/ports 0ce93af — security/osv-scanner Makefile distinfo

security/osv-scanner: Update to 2.6.0

ChangeLog:
https://github.com/google/osv-scanner/releases/tag/v2.6.0
DeltaFile
+5-5security/osv-scanner/distinfo
+2-3security/osv-scanner/Makefile
+7-82 files

LLVM/project 4a59f39 — llvm/test/CodeGen/MLRegAlloc dev-mode-prio-logging.ll, llvm/test/CodeGen/MLRegAlloc/Inputs reference-prio-log-noml.txt reference-log-noml.txt

[MLGO][RegAlloc] Update test expectations after #228618 (#230973)

Test fixes after #228618: SlotIndex distances and resulting LiveInterval
sizes changed.
DeltaFile
+32-32llvm/test/CodeGen/MLRegAlloc/Inputs/reference-prio-log-noml.txt
+32-32llvm/test/CodeGen/MLRegAlloc/Inputs/reference-log-noml.txt
+2-2llvm/test/CodeGen/MLRegAlloc/dev-mode-prio-logging.ll
+66-663 files

OpenBSD/src TKsRT4O — lib/libexpat/lib xmlparse.c hash_table.h, lib/libexpat/tests minicheck.h common.h

   Update libexpat to version 2.8.5.

   Changes relevant for OpenBSD have been backported earlier.  Compiler
   warning #1362 has been disabled, it does not work with gcc 4.2.1.
   Move the hash table declarations into a separate header file as
   this is needed for #1355.  Convert salt test to non deprecated
   XML_SetHashSalt16Bytes() function.  Library bump is not necessary.

   OK deraadt@
VersionDeltaFile
1.1+157-0lib/libexpat/tests/hash_tests.c
1.22+65-59lib/libexpat/lib/internal.h
1.5+40-48lib/libexpat/tests/common.h
1.1+78-0lib/libexpat/lib/hash_table.h
1.10+30-46lib/libexpat/tests/minicheck.h
1.54+23-43lib/libexpat/lib/xmlparse.c
+393-19628 files not shown
+617-37734 files

FreeNAS/freenas d70fbad — src/middlewared/middlewared/plugins/iscsi_ extents.py

NAS-144411 / 27.0.0 / Skip zvol snapshot extents in iscsi.extent.pool_import (by Qubad786) (#19987)
DeltaFile
+1-0src/middlewared/middlewared/plugins/iscsi_/extents.py
+1-01 files

OpenBSD/src jZ9llI3 — gnu/llvm/compiler-rt/lib/builtins clear_cache.c

   Fix compiler-rt __clear_cache() on mips64

   https://github.com/llvm/llvm-project/pull/222566

   From Brad
VersionDeltaFile
1.9+2-2gnu/llvm/compiler-rt/lib/builtins/clear_cache.c
+2-21 files

NetBSD/pkgsrc ed5tJQP — finance/gnucash Makefile

   gnucash: update comments

   Remove unnecessary include
VersionDeltaFile
1.391+6-10finance/gnucash/Makefile
+6-101 files

OpenBSD/ports 9s9BlxI — devel/py-dulwich crates.inc Makefile, devel/py-dulwich/pkg PFRAG.rust PLIST

   update to py3-dulwich-1.2.17

   make a start at trying to allow rust/no-rust builds, but I'm not sure if
   there's a good way to add SUPDISTFILES for the crates..
VersionDeltaFile
1.27+24-26devel/py-dulwich/distinfo
1.53+20-6devel/py-dulwich/Makefile
1.6+11-12devel/py-dulwich/crates.inc
1.25+7-3devel/py-dulwich/pkg/PLIST
1.1+3-0devel/py-dulwich/pkg/PFRAG.rust
+65-475 files

OpenBSD/src Eaet3SX — share/man/man4 usb.4 uncm.4

   Mention "Ethernet" in uncm(4) synopsis line.
   A USB NCN device is a type of Ethernet-over-USB device.
VersionDeltaFile
1.3+4-4share/man/man4/uncm.4
1.227+3-3share/man/man4/usb.4
+7-72 files

OpenBSD/src drtdPYN — usr.sbin/hostapd hostapd.conf.5

   duplicate word; matteo Bianchi
VersionDeltaFile
1.52+3-3usr.sbin/hostapd/hostapd.conf.5
+3-31 files

OpenBSD/src W7WEUYR — share/man/man4 uncm.4

   there is no good reason to Xr umb(4) from this page's SEE ALSO section
VersionDeltaFile
1.2+1-2share/man/man4/uncm.4
+1-21 files