LLVM/project ba0fef9mlir/include/mlir/Interfaces InferIntDivisibilityOpInterface.h, mlir/lib/Analysis/DataFlow IntegerDivisibilityAnalysis.cpp

[MLIR] Add `IntegerDivisibilityAnalysis` and `InferIntDivisibilityOpInterface` (#197728)

This patch is a port from
https://github.com/iree-org/iree/blob/main/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp
to upstream

It introduces a dataflow analysis that tracks integer divisibility
(divisor + remainder lattice) for SSA values, plus an op interface
`InferIntDivisibilityOpInterface` for ops to participate.

It adds:
* `IntegerDivisibilityAnalysis` produces a `Divisibility` lattice
`{divisor, remainder}`
* `InferIntDivisibilityOpInterface` interface
* External-model implementations for `arith` and `affine` ops
* `test-int-divisibility` test pass + lit tests

Example:
Here is the usual approach to laod element `i` from `i4` buffer emulated

    [11 lines not shown]
DeltaFile
+312-0mlir/lib/Dialect/Affine/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+152-0mlir/test/Analysis/DataFlow/integer-divisibility.mlir
+135-0mlir/lib/Analysis/DataFlow/IntegerDivisibilityAnalysis.cpp
+122-0mlir/lib/Dialect/Arith/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+120-0mlir/include/mlir/Interfaces/InferIntDivisibilityOpInterface.h
+93-0mlir/test/lib/Analysis/DataFlow/TestIntegerDivisibilityAnalysis.cpp
+934-013 files not shown
+1,095-1119 files

LLVM/project 0f8ad47flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-global-component-not-supported.f90 acc-declare-global-component.f90

[flang][acc] Accept component of global variable in `acc declare` (#197819)

This MR partially extends the current implementation to accept cases of
`acc declare` on a `parent%comp` whenever the `parent` has been `acc
declare`d with the same clause. This is done by generating only the acc
global constructor only for mapping the parent as the child is expected
to be part of parent.

The limitations still remain as a TODO unless it can be proven parent is
mapped. A generic implementation would need either compiler generated
ordering on the global constructors used for mapping or runtime managed
ordering.
DeltaFile
+107-19flang/lib/Lower/OpenACC.cpp
+34-7flang/test/Lower/OpenACC/acc-declare-global-component-not-supported.f90
+38-0flang/test/Lower/OpenACC/acc-declare-global-component.f90
+179-263 files

FreeBSD/ports a618701multimedia/aom/files patch-cmake_aom__configure.cmake patch-build_cmake_aom__configure.cmake

multimedia/aom: update to 3.14.0

Changes:        https://aomedia.googlesource.com/aom/+log/v3.13.3..v3.14.0
Reported by:    Repology
DeltaFile
+50-0multimedia/aom/files/patch-cmake_aom__configure.cmake
+0-50multimedia/aom/files/patch-build_cmake_aom__configure.cmake
+13-0multimedia/aom/files/patch-cmake_cpu.cmake
+0-13multimedia/aom/files/patch-build_cmake_cpu.cmake
+0-13multimedia/aom/files/patch-build_cmake_pkg__config.cmake
+13-0multimedia/aom/files/patch-cmake_pkg__config.cmake
+76-763 files not shown
+83-819 files

FreeBSD/ports 63838e4x11/libei distinfo Makefile

x11/libei: update to 1.6.0

Changes:        https://gitlab.freedesktop.org/libinput/libei/-/releases/1.6.0
Reported by:    GitLab (notify releases)
DeltaFile
+3-5x11/libei/distinfo
+1-4x11/libei/Makefile
+4-92 files

FreeBSD/ports 5b7cabfaudio/maolan distinfo Makefile.crates

audio/maolan: Update 0.0.3 => 0.1.0

Changelogs:
- https://github.com/maolan/maolan/releases/tag/0.0.4
- https://github.com/maolan/maolan/releases/tag/0.0.5
- https://github.com/maolan/maolan/releases/tag/0.0.6
- https://github.com/maolan/maolan/releases/tag/0.0.7
- https://github.com/maolan/maolan/releases/tag/0.1.0

PR:             293997
Reported by:    Goran Mekić <meka at tilda.center> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+809-59audio/maolan/distinfo
+404-29audio/maolan/Makefile.crates
+14-10audio/maolan/Makefile
+5-0audio/maolan/pkg-plist
+1,232-984 files

FreeBSD/ports ba59dbcdatabases/R-cran-dbplyr distinfo Makefile

databases/R-cran-dbplyr: Update 2.5.1 => 2.5.2

While here, add more test dependencies

Changelog:
https://github.com/tidyverse/dbplyr/releases/tag/v2.5.2
Commit log:
https://github.com/tidyverse/dbplyr/compare/v2.5.1...v2.5.2

PR:             295286
Reported by:    Einar Bjarni Halldórsson <einar at isnic.is> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3databases/R-cran-dbplyr/distinfo
+3-1databases/R-cran-dbplyr/Makefile
+6-42 files

FreeBSD/ports 99862c4security/hidden-lake distinfo Makefile

security/hidden-lake: Update 1.10.4 => 1.10.5

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5security/hidden-lake/distinfo
+2-2security/hidden-lake/Makefile
+1-0security/hidden-lake/pkg-plist
+8-73 files

LLVM/project fac333ellvm/lib/Target/AArch64 AArch64A57FPLoadBalancing.cpp

[AArch64] Do not pass debug insn to liveness analysis (#198021)

Fix another stepBackward location.

Debug instructions must not affect liveness analysis. stepBackward has
an assertion failure on debug instructions after
https://github.com/llvm/llvm-project/pull/193104.

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+2-1llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
+2-11 files

LLVM/project ae2d83bllvm/test/tools/llvm-mca/RISCV/SiFiveP800 vlseg-vsseg.s, llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv arithmetic.test fp.test

[RISCV][MCA] Use the new infrastructure for SiFive P500 and P800's tests. NFC (#198016)

Some tests -- mostly vector crypto -- are kept for SiFive P800.

NFC.
DeltaFile
+0-4,752llvm/test/tools/llvm-mca/RISCV/SiFiveP800/vlseg-vsseg.s
+4,549-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/arithmetic.test
+3,729-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/fp.test
+3,149-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/vlseg-vsseg.test
+2,901-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/bitwise.test
+2,357-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/permutation.test
+16,685-4,75253 files not shown
+31,123-10,18259 files

LLVM/project b5406e4flang/test/Lower array-derived.f90 allocatable-runtime.f90

[flang][NFC] Finishing touches on legacy lowering conversion (#197973)

At the beginning of legacy lowering conversion, some tests were
initially converted to emit FIR. After some discussion, it was decided
to revisit those tests and convert them to emit HLFIR. This change
completes that step and should be the final change in removing vestiges
of legacy lowering.

Assisted-by: AI
DeltaFile
+42-66flang/test/Lower/array-derived.f90
+55-52flang/test/Lower/allocatable-runtime.f90
+42-56flang/test/Lower/array-constructor-index.f90
+47-47flang/test/Lower/allocate-source-allocatables.f90
+30-28flang/test/Lower/allocatable-return.f90
+26-26flang/test/Lower/arithmetic-goto.f90
+242-2755 files not shown
+294-31711 files

LLVM/project 7db1a2blldb/source/Utility ConstString.cpp

[lldb] Avoid unnecessary strlen of mangled names in ConstString (NFC) (#197995)

C++ mangled names are known to be quite long at times. This change makes
use of available length data, instead of using the `StringRef(const char
*)` constructor which calls `strlen`.

The main detail is to replace `selectPool(llvm::StringRef(raw))` with a
call to `selectPool` using a readily available StringRef.
DeltaFile
+11-9lldb/source/Utility/ConstString.cpp
+11-91 files

FreeBSD/src 96eaa68sys/net80211 ieee80211_node.c _ieee80211.h

net80211: define a type for rssi values

Due to net80211 keeping values in 0.5dBm relative to the noise floor
an int8_t is not good enough to prevent a double wrap around, which
means the reported rssi values can be wrong (see D50928 or likely
a commit in the future for more information).

In order to address the problem and not break the userspace API,
start by defining a type within the kernel and use that.  In a
next step we will then update the int8_t to int16_t to avoid the
problem up to the ioctl code.  This will then allow us to work
on the the user space API indepedently (see PR 293016 for possible
impact outside the base system).

No functional changes intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    adrian
Differential Revision: https://reviews.freebsd.org/D57021
DeltaFile
+9-9sys/net80211/ieee80211_node.c
+10-5sys/net80211/_ieee80211.h
+4-3sys/net80211/ieee80211_wds.c
+3-3sys/net80211/ieee80211_var.h
+3-1sys/net80211/ieee80211_ioctl.c
+2-2sys/net80211/ieee80211_mesh.c
+31-239 files not shown
+47-3915 files

FreeBSD/src d201e4esys/dev/wtap if_wtap.c

wtap: use typed rssi and noise floor values

Adjust the rssi and nf arguments to typed int8_t and adjust the maths
for rssi to be consistant with what net80211 expects.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    lwhsu, adrian
Differential Revision: https://reviews.freebsd.org/D57020
DeltaFile
+12-2sys/dev/wtap/if_wtap.c
+12-21 files

FreeBSD/ports 57a371bemulators/qemu-devel distinfo Makefile

emulators/qemu-devel: Update version 10.2.20260228=>11.0.20260331
DeltaFile
+15-15emulators/qemu-devel/distinfo
+3-3emulators/qemu-devel/Makefile
+0-1emulators/qemu-devel/pkg-plist
+18-193 files

FreeBSD/ports b7b071asysutils/opentofu distinfo Makefile

sysutils/opentofu: Update version 1.11.7=>1.11.8

Changelog: https://github.com/opentofu/opentofu/releases/tag/v1.11.8
DeltaFile
+5-5sysutils/opentofu/distinfo
+1-1sysutils/opentofu/Makefile
+6-62 files

FreeBSD/ports fc7f196java/visualvm pkg-plist distinfo

java/visualvm: Update version 2.1.9=>2.1.10

Changelog: https://github.com/oracle/visualvm/releases/tag/2.1.10
DeltaFile
+8-6java/visualvm/pkg-plist
+3-3java/visualvm/distinfo
+1-2java/visualvm/Makefile
+12-113 files

FreeBSD/ports 1edcfacdevel/protoc-gen-go-grpc distinfo Makefile

devel/protoc-gen-go-grpc: Update snapshot 830c909=>3d0dd1e
DeltaFile
+13-15devel/protoc-gen-go-grpc/distinfo
+9-8devel/protoc-gen-go-grpc/Makefile
+22-232 files

FreeBSD/ports 2083f85net/libwebsockets distinfo Makefile

net/libwebsockets: Update version 4.4.4=>4.4.5

Changelog: https://github.com/warmcat/libwebsockets/releases/tag/v4.4.5
DeltaFile
+3-3net/libwebsockets/distinfo
+1-1net/libwebsockets/Makefile
+4-42 files

FreeBSD/ports f8a3ec8devel/py-ariadne distinfo Makefile

devel/py-ariadne: Update version 0.25.2=>0.26.0

Changelog: https://github.com/mirumee/ariadne/releases/tag/0.26.0
DeltaFile
+3-3devel/py-ariadne/distinfo
+1-1devel/py-ariadne/Makefile
+4-42 files

FreeBSD/ports 10df4f6net/google-cloud-sdk distinfo Makefile

net/google-cloud-sdk: Update version 567.0.0=>568.0.0
DeltaFile
+3-3net/google-cloud-sdk/distinfo
+1-1net/google-cloud-sdk/Makefile
+4-42 files

FreeBSD/ports 20107c8devel/py-lizard distinfo Makefile

devel/py-lizard: Update version 1.17.21=>1.17.22

Changelog: https://github.com/terryyin/lizard/releases/tag/1.17.22
DeltaFile
+3-3devel/py-lizard/distinfo
+1-1devel/py-lizard/Makefile
+4-42 files

FreeBSD/ports f9f46fddevel/p5-BZ-Client distinfo Makefile

devel/p5-BZ-Client: Update version 4.4=>4.4001

Changelog: https://metacpan.org/dist/BZ-Client/changes
DeltaFile
+3-3devel/p5-BZ-Client/distinfo
+1-1devel/p5-BZ-Client/Makefile
+4-42 files

FreeBSD/ports 900984edatabases/redis-devel distinfo Makefile

databases/redis-devel: Update version 8.4.0.20251129=>8.4.0.20251226
DeltaFile
+3-3databases/redis-devel/distinfo
+2-2databases/redis-devel/Makefile
+5-52 files

FreeBSD/ports 7d6a28cdevel/pickle Makefile, devel/pickle/files patch-src_pic14.c patch-src_pic16n.c

devel/pickle: Switch to llvm15
DeltaFile
+142-0devel/pickle/files/patch-src_pic14.c
+92-0devel/pickle/files/patch-src_pic16n.c
+83-0devel/pickle/files/patch-src_pic14n.c
+27-0devel/pickle/files/patch-src_io.c
+15-0devel/pickle/files/patch-src_io.h
+6-3devel/pickle/Makefile
+365-36 files

FreeBSD/ports acb6378devel/magic_enum distinfo Makefile

devel/magic_enum: Update version 0.9.7=>0.9.8

Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.8
DeltaFile
+3-3devel/magic_enum/distinfo
+1-1devel/magic_enum/Makefile
+4-42 files

FreeBSD/ports 281cecddatabases/clickhouse distinfo Makefile

databases/clickhouse: Update version 25.11.2.24=>25.11.3.54

Changelog: https://github.com/ClickHouse/ClickHouse/releases/tag/v25.11.3.54-stable
DeltaFile
+5-5databases/clickhouse/distinfo
+1-1databases/clickhouse/Makefile
+1-1databases/clickhouse/Makefile.submodules
+7-73 files

FreeBSD/ports 36b3cf7devel/libjitterentropy distinfo Makefile

devel/libjitterentropy: Update version 3.6.3=>3.7.0

Changelog: https://github.com/smuellerDD/jitterentropy-library/releases/tag/v3.7.0
DeltaFile
+3-3devel/libjitterentropy/distinfo
+1-2devel/libjitterentropy/Makefile
+4-52 files

FreeBSD/ports a03d88adatabases/freetds-devel distinfo Makefile

databases/freetds-devel: Update version 1.5.321=>1.5.326
DeltaFile
+3-3databases/freetds-devel/distinfo
+1-1databases/freetds-devel/Makefile
+4-42 files

Linux/linux b0662befs/smb/client fs_context.c transport.c, fs/smb/common fscc.h smb2pdu.h

Merge tag 'v7.1-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - Fix integer overflow in read

 - Fix smbdirect error cleanup

 - Multichannel reconnect fix

 - Add some missing defines and correct some references to protocol spec

 - Fix oob symlink read

* tag 'v7.1-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smbdirect: Fix error cleanup in smbdirect_map_sges_from_iter()
  smb: client: avoid integer overflow in SMB2 READ length check
  cifs: client: stage smb3_reconfigure() updates and restore ctx on failure
  smb/client: fix possible infinite loop and oob read in symlink_data()
  SMB3.1.1: add missing QUERY_DIR info levels
DeltaFile
+109-54fs/smb/client/fs_context.c
+9-6fs/smb/client/transport.c
+3-1fs/smb/client/smb2ops.c
+2-2fs/smb/common/fscc.h
+4-0fs/smb/common/smb2pdu.h
+3-0fs/smb/client/smb2file.c
+130-631 files not shown
+131-647 files

LLVM/project aaaae52libc/test/integration/src/__support/threads cndvar_test.cpp, libc/test/integration/src/pthread pthread_cond_test.cpp

[libc] Reduce number of iterations in threading tests. (#198030)

Previously the threading tests were running noticeably slowly and
causing flakey timeouts on some buildbots (e.g.
https://lab.llvm.org/buildbot/#/builders/71/builds/48420)
DeltaFile
+3-3libc/test/integration/src/pthread/pthread_cond_test.cpp
+2-2libc/test/integration/src/__support/threads/cndvar_test.cpp
+5-52 files