LLVM/project 08b4a75utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 89fe023 (#221823)

This fixes 89fe023484bd5b897dccefd290fe5e8536db47b0 (#221813).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=89fe023484bd5b897dccefd290fe5e8536db47b0

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+28-2utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+28-21 files

LLVM/project cc9a701clang/unittests/Analysis LifetimeSafetyTest.cpp

[LifetimeSafety][test] Fix UUM of fields added in #221610 and #205764 (#221843)

New LifetimeSafetyOpts fields were added in
https://github.com/llvm/llvm-project/pull/221610 but they are not
initialized in clang/unittests/Analysis/LifetimeSafetyTest.cpp, leading
to use-of-uninitialized-memory
(https://lab.llvm.org/buildbot/#/builders/164/builds/25165):
```
WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x555571559cbc in clang::lifetimes::internal::(anonymous namespace)::LifetimeChecker::LifetimeChecker(clang::lifetimes::internal::LoanPropagationAnalysis const&, clang::lifetimes::internal::MovedLoansAnalysis const&, clang::lifetimes::internal::LiveOriginsAnalysis const&, clang::lifetimes::internal::FactManager&, clang::AnalysisDeclContext&, clang::lifetimes::LifetimeSafetySemaHelper*, clang::lifetimes::LifetimeSafetyOpts const&) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Analysis/LifetimeSafety/Checker.cpp:108:9
    #1 0x5555715453cd in clang::lifetimes::internal::runLifetimeChecker(clang::lifetimes::internal::LoanPropagationAnalysis const&, clang::lifetimes::internal::MovedLoansAnalysis const&, clang::lifetimes::internal::LiveOriginsAnalysis const&, clang::lifetimes::internal::FactManager&, clang::AnalysisDeclContext&, clang::lifetimes::LifetimeSafetySemaHelper*, clang::lifetimes::LifetimeSafetyOpts const&) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Analysis/LifetimeSafety/Checker.cpp:575:19
    #2 0x555571524c1e in clang::lifetimes::internal::LifetimeSafetyAnalysis::run() /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp:98:3
    #3 0x55555c3da25b in LifetimeTestRunner /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/unittests/Analysis/LifetimeSafetyTest.cpp:71:15
...
  Uninitialized value was stored to memory at
    #0 0x55555bcd06c7 in __msan_memcpy /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/compiler-rt/lib/msan/msan_interceptors.cpp:1760:3
    #1 0x5555715238ed in clang::lifetimes::internal::LifetimeSafetyAnalysis::LifetimeSafetyAnalysis(clang::AnalysisDeclContext&, clang::lifetimes::LifetimeSafetySemaHelper*, clang::lifetimes::LifetimeSafetyOpts const&) /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp:54:39
    #2 0x55555c3da1b9 in make_unique<clang::lifetimes::internal::LifetimeSafetyAnalysis, clang::AnalysisDeclContext &, std::nullptr_t, clang::lifetimes::LifetimeSafetyOpts &, 0> /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_install_msan_track_origins/include/c++/v1/__memory/unique_ptr.h:713:30
    #3 0x55555c3da1b9 in LifetimeTestRunner /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/unittests/Analysis/LifetimeSafetyTest.cpp:70:9

    [9 lines not shown]
DeltaFile
+5-0clang/unittests/Analysis/LifetimeSafetyTest.cpp
+5-01 files

FreeBSD/ports 6ab5ae4astro/gpsprune Makefile distinfo

astro/gpsprune: update 26.2 → 27
DeltaFile
+3-3astro/gpsprune/distinfo
+1-1astro/gpsprune/Makefile
+4-42 files

FreeBSD/ports e7695c0graphics/sdl3_image Makefile distinfo

graphics/sdl3_image: update 3.4.4 → 3.4.6
DeltaFile
+3-3graphics/sdl3_image/distinfo
+1-2graphics/sdl3_image/Makefile
+4-52 files

NextBSD/src 37a3b6e. build.sh

Merge pull request #446 from nextbsd/rpi5/drop-fkms-overlay

rpi5: stop enabling the firmware-KMS overlay
DeltaFile
+13-10build.sh
+13-101 files

FreeBSD/ports 4a97b6egames/peg-e Makefile distinfo

games/peg-e: update 1.3.6 → 1.3.7
DeltaFile
+3-3games/peg-e/distinfo
+1-1games/peg-e/Makefile
+4-42 files

FreeBSD/ports 6deea01games/hexalate Makefile distinfo

games/hexalate: update 1.2.6 → 1.2.7
DeltaFile
+3-3games/hexalate/distinfo
+1-1games/hexalate/Makefile
+4-42 files

FreeBSD/ports 5d01a10games/lbreakouthd pkg-plist Makefile

games/lbreakouthd: update 1.2.2 → 1.2.3
DeltaFile
+3-3games/lbreakouthd/distinfo
+1-1games/lbreakouthd/Makefile
+1-0games/lbreakouthd/pkg-plist
+5-43 files

FreeBSD/ports 6537dfdgames/freeblocks/files patch-CMakeLists.txt

games/freeblocks: fix compatibility with CMake 4

PR:             298167
Reported by:    arrowd
DeltaFile
+10-3games/freeblocks/files/patch-CMakeLists.txt
+10-31 files

FreeBSD/ports 078f700games/simsu Makefile distinfo

games/simsu: update 1.4.7 → 1.4.8
DeltaFile
+3-3games/simsu/distinfo
+1-1games/simsu/Makefile
+4-42 files

FreeBSD/ports 8ba1d97games/tetzle Makefile distinfo

games/tetzle: update 3.0.4 → 3.0.5
DeltaFile
+3-3games/tetzle/distinfo
+1-1games/tetzle/Makefile
+4-42 files

LLVM/project 5f9d139mlir/lib/Dialect/Tosa/IR TosaOps.cpp, mlir/test/Dialect/Tosa verifier.mlir

[mlir][Tosa] Handle empty block-scaled reshape shapes (#220872)
DeltaFile
+8-6mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+9-0mlir/test/Dialect/Tosa/verifier.mlir
+17-62 files

FreeBSD/ports 5a85ee1devel/scc Makefile distinfo

devel/scc: Update to 4.1.0

Changes:
    https://github.com/boyter/scc/releases/tag/v4.1.0
    https://github.com/boyter/scc/releases/tag/v4.0.0
DeltaFile
+5-5devel/scc/distinfo
+2-3devel/scc/Makefile
+7-82 files

FreeBSD/src 0e390dfusr.sbin/pw pw.conf.5

pw.conf: Describe better + tag SPDX

MFC after:              3 days
Reported by:            Artem Bunichev <temcbun at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D58329
DeltaFile
+5-2usr.sbin/pw/pw.conf.5
+5-21 files

FreeBSD/src 04f53c5share/man/man4 nvd.4

nvd.4: Canonicalize SYNOPSIS, TUNABLES, tag SPDX

MFC after:      3 days
Event:          Berlin Hackathon 202609
DeltaFile
+13-22share/man/man4/nvd.4
+13-221 files

FreeBSD/ports d8927fbgames/sgt-puzzles Makefile distinfo

games/sgt-puzzles: update 2026052320260906
DeltaFile
+3-3games/sgt-puzzles/distinfo
+2-3games/sgt-puzzles/Makefile
+5-62 files

LLVM/project 95760fbmlir/include/mlir/Dialect/LLVMIR NVVMRequiresSMTraits.h, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[mlir][NVVM] Reject malformed target chip names (#220873)

Parse the complete sm_<version>[a|f] grammar before using the SM
version. This prevents a failed integer conversion from leaving the
version uninitialized and also rejects overflowing encodings.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+24-8mlir/include/mlir/Dialect/LLVMIR/NVVMRequiresSMTraits.h
+8-3mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+8-0mlir/test/Dialect/LLVMIR/nvvm-target-invalid.mlir
+40-113 files

FreeBSD/src 3c24218sbin/bectl bectl.8, sbin/ipfw ipfw.8

manpages: Fix author e-mail address formatting

 - consistently use Mt request within Aq.  This makes author
   e-mail addresses clickable in many frontends.
 - @freebsd.org -> @FreeBSD.org
 - (user at host.tld) -> Aq Mt user at host.tld

Event:          Berlin Hackathon 202609
MFC after:      3 days
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D59410

(cherry picked from commit d1c07141dccf8c719067bd3c30c402e4db9a77b3)
DeltaFile
+7-7sys/netinet/libalias/libalias.3
+3-3stand/forth/beastie.4th.8
+3-3sbin/bectl/bectl.8
+3-2sbin/ipfw/ipfw.8
+2-2usr.sbin/bhyve/bhyve.8
+2-2stand/efi/gptboot/gptboot.efi.8
+20-1963 files not shown
+94-9369 files

FreeBSD/ports ffa7bd0graphics/d2 Makefile distinfo

graphics/d2: Update to 0.9.0

This is a significant release. Until now, D2 shipped with the ELK
and Dagre layout engines, but TALA was closed-source and required
a paid subscription.

Just a day or two ago, D2 announced that they are shutting down
their subscription service (and the online editor for D2 diagrams.)

This release now includes the TALA engine, and no license key is
required to use it. At some point, the Terrastruct D2 editor is
expected to be open-sourced.

Changes: https://github.com/d2lang/d2/releases/tag/v0.9.0
DeltaFile
+5-5graphics/d2/distinfo
+1-2graphics/d2/Makefile
+6-72 files

FreeBSD/src 95e9c3bsys/dev/usb usbdevs

usbdevs: add TP-Link Archer T4U ver 3

USB Vendor:Product 0x2357:0x0115

The data was provided by Pavel Timofeev (timp87 gmail com)
and the device will be supported by rtw88 USB (rtw8822bu.c)
in the future.

MFC after:      3 days
DeltaFile
+1-0sys/dev/usb/usbdevs
+1-01 files

LLVM/project 415d9c6mlir/tools/mlir-tblgen OpFormatGen.h OpFormatGen.cpp

[mlir][ODS] Remove unconditional properties query (NFC) (#221844)

All operations emit a Properties struct, including operations without
explicit properties. Remove the stale hasProperties query and fold its
unreachable property-less paths from the operation, adaptor, and format
generators.

Found by Coverity.

Assisted-by: Codex
DeltaFile
+80-309mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+34-73mlir/tools/mlir-tblgen/OpFormatGen.cpp
+1-2mlir/tools/mlir-tblgen/OpFormatGen.h
+115-3843 files

LLVM/project bea94ballvm/lib/Target/AMDGPU SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU true16-fold.mir

[AMDGPU][True16][CodeGen] Do not fold hi16 SGPR copy (#220858)

Dropping the subreg on a hi16 copy would read the low half instead
DeltaFile
+18-0llvm/test/CodeGen/AMDGPU/true16-fold.mir
+3-1llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+21-12 files

FreeBSD/ports 5d13fb6comms/syncterm Makefile distinfo, comms/syncterm/files patch-3rdp_build_CMakeLists.txt patch-src_syncterm_CMakeLists.txt

comms/syncterm: Update to v1.8

Changelog:
https://sf.net/projects/syncterm/files/syncterm/syncterm-1.9/
DeltaFile
+0-16comms/syncterm/files/patch-src_xpdev_CMakeLists.txt
+0-13comms/syncterm/files/patch-src_syncterm_CMakeLists.txt
+0-11comms/syncterm/files/patch-3rdp_build_CMakeLists.txt
+3-3comms/syncterm/distinfo
+1-2comms/syncterm/Makefile
+4-455 files

FreeBSD/ports f22c084textproc/py-hieroglyph Makefile

textproc/py-hieroglyph: Deprecate and schedule for removal

The extension only works with textproc/py-sphinx up to 6.x.
DeltaFile
+3-0textproc/py-hieroglyph/Makefile
+3-01 files

FreeBSD/ports 9478a2ctextproc/py-hieroglyph/files patch-versioneer.py

textproc/py-hieroglyph: Unbreak build with Python 3.12

Reported by:    pkg-fallout
DeltaFile
+14-0textproc/py-hieroglyph/files/patch-versioneer.py
+14-01 files

LLVM/project 3069964clang CMakeLists.txt, llvm CMakeLists.txt

[CIR][CMake] Configure MLIR as a dependency-only project

ClangIR requires MLIR, but enabling CIR currently requires users to list MLIR
explicitly in LLVM_ENABLE_PROJECTS. That also attaches all MLIR build, install,
unit-test, and lit targets to the corresponding LLVM aggregates.

When Clang is selected and CLANG_ENABLE_CIR is enabled, append MLIR to the
effective LLVM_ENABLE_PROJECTS list. The common project setup compares that
list with the cached user selection, so an explicit MLIR selection retains its
normal behavior while an implicit selection is configured with EXCLUDE_FROM_ALL.

This makes MLIR targets available for CIR dependency resolution without adding
MLIR's aggregate targets. Keep the existing standalone ClangIR restriction and
do not configure MLIR when CIR is disabled.

Validation:
- Configured Clang with CIR and implicit MLIR test support.
- Configured Clang and MLIR explicitly with CIR and tests enabled.
- Configured Clang without CIR and verified that MLIR remains disabled.

    [4 lines not shown]
DeltaFile
+6-0llvm/CMakeLists.txt
+2-2clang/CMakeLists.txt
+8-22 files

LLVM/project 4ab2198clang CMakeLists.txt, llvm CMakeLists.txt

[CMake] Infer dependency-only projects from the cache

LLVM_ENABLE_PROJECTS historically treats projects enabled to satisfy another
project's dependency the same as projects selected by the user. Consequently,
implicit projects attach their complete build, install, and test suites to
LLVM's aggregate targets.

Keep the cache entry as the user-requested project roots and use the normal
LLVM_ENABLE_PROJECTS variable as the effective dependency closure. Projects in
the effective list but not the cache entry are configured with EXCLUDE_FROM_ALL.
Normalize the special all value before comparing the two sets.

This makes Flang's MLIR and Clang dependencies dependency-only without a second
project collection. It also applies the same rule to Clang when it is added for
LLDB. Forward the cached roots to cross-compilation and bootstrap configurations
so implicit projects do not become explicit in nested builds.

Let MLIR own its dependency-only test policy: configure test support libraries
for downstream consumers without creating MLIR unit tests or registering its

    [10 lines not shown]
DeltaFile
+19-7mlir/CMakeLists.txt
+18-4llvm/CMakeLists.txt
+12-2llvm/cmake/modules/AddLLVM.cmake
+4-1clang/CMakeLists.txt
+1-1llvm/cmake/modules/CrossCompile.cmake
+54-155 files

LLVM/project f7ce52fllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU fdot2.ll

[AMDGPU] Fix FDOT2 fold for non-constant lane indices (#217646)

The fold only checked that the two lane index nodes were not the same
SDValue, but distinct nodes can still be equal at runtime, silently
picking the wrong lanes

Require both indices to be constant and distinct
DeltaFile
+48-0llvm/test/CodeGen/AMDGPU/fdot2.ll
+4-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+52-22 files

FreeBSD/ports 00219ffwww/py-bootstrap-flask Makefile distinfo, www/py-bootstrap-flask/files patch-pyproject.toml

www/py-bootstrap-flask: Update to 2.6.0

Upstream now declares the license as an SPDX expression (PEP 639),
which devel/py-setuptools 63.1.0 does not understand yet, so patch
pyproject.toml back to the legacy table form.

Changes: https://github.com/helloflask/bootstrap-flask/blob/2.6.0/CHANGES.rst
DeltaFile
+15-0www/py-bootstrap-flask/files/patch-pyproject.toml
+3-3www/py-bootstrap-flask/distinfo
+1-1www/py-bootstrap-flask/Makefile
+19-43 files

FreeBSD/ports 3546720devel/py-pytest-cov distinfo Makefile

devel/py-pytest-cov: Update to 7.1.0

Changes: https://github.com/pytest-dev/pytest-cov/blob/v7.1.0/CHANGELOG.rst
DeltaFile
+7-7devel/py-pytest-cov/Makefile
+3-3devel/py-pytest-cov/distinfo
+10-102 files