LLVM/project bf18f6fllvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target CGPassBuilderOption.h

[CommandLine] Make cl::boolOrDefault a scoped enum (#204553)

Prevents implicit conversion to bool/int, where BOU_FALSE wrongly
evaluated as true. All uses qualified as cl::boolOrDefault::BOU_*.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+15-13llvm/lib/CodeGen/TargetPassConfig.cpp
+10-8llvm/include/llvm/Passes/CodeGenPassBuilder.h
+10-5llvm/lib/CodeGen/BranchFolding.cpp
+7-7llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+6-6llvm/include/llvm/Target/CGPassBuilderOption.h
+10-1llvm/lib/Support/CommandLine.cpp
+58-4024 files not shown
+129-10130 files

LLVM/project d6ccc29clang/lib/AST/ByteCode Interp.cpp, clang/test/AST/ByteCode cxx20.cpp

[clang][bytecode] Take AccessKinds into account in diagnoseNonConstVa… (#204824)

…riable

And diagnose it as a modification and not a read if applicable.
DeltaFile
+17-7clang/lib/AST/ByteCode/Interp.cpp
+5-0clang/test/AST/ByteCode/cxx20.cpp
+22-72 files

LLVM/project 8ca5830libcxx/include string

[libc++] Default the allocator argument for most string constructors (#169901)

Allocators are generally very cheap to copy, so avoiding copies by
having separate overloads is not that useful. Defaulting them
significanlty reduces the overload set the compiler has to consider and
simplifies the code, since we can remove some functions in the future.

Closes #87368
DeltaFile
+10-39libcxx/include/string
+10-391 files

FreeBSD/src dc24f31lib/libc/gen ctermid.3 ctermid.c

ctermid(3): Fix return values section

ctermid() doesn't, and has never, set errno.

While here, add ctermid_r to the name section and align the parameter
name in the source file.

Reviewed by:    bnovkov
Approved by:    bnovkov
MFC after:      3 days
Obtained from:  https://github.com/apple-oss-distributions/libc
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D57396
DeltaFile
+15-10lib/libc/gen/ctermid.3
+7-7lib/libc/gen/ctermid.c
+22-172 files

LLVM/project 46ece19libcxx/include string.h

[libc++] Add a missing include in string.h (#135134)

`stddef.h` is necessary for `size_t` in explicit Clang modules build.
DeltaFile
+2-0libcxx/include/string.h
+2-01 files

LLVM/project 8eae496libcxx/include map, libcxx/test/std/containers/associative/multimap iterator.pass.cpp

[libc++] Make std::multimap constexpr as part of P3372R3 (#161901)

Fixes #128661

Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
DeltaFile
+168-97libcxx/include/map
+63-48libcxx/test/std/containers/associative/multimap/multimap.modifiers/emplace.pass.cpp
+63-48libcxx/test/std/containers/associative/multimap/multimap.modifiers/emplace_hint.pass.cpp
+23-13libcxx/test/std/containers/associative/multimap/iterator.pass.cpp
+23-10libcxx/test/std/containers/associative/multimap/multimap.modifiers/merge.pass.cpp
+22-8libcxx/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp
+362-22474 files not shown
+1,226-41680 files

FreeBSD/ports 0740942dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist distinfo

dns/bind9-devel: update to 9.21.23

Changes:        https://downloads.isc.org/isc/bind9/9.21.23/doc/arm/html/notes.html#notes-for-bind-9-21-23
(cherry picked from commit 075249300b10a35b3234c1a118458d4237332e7c)
DeltaFile
+5-5dns/bind-tools/pkg-plist-devel
+5-5dns/bind9-devel/pkg-plist
+3-3dns/bind9-devel/distinfo
+1-1dns/bind9-devel/Makefile
+14-144 files

LLVM/project 8259502clang/lib/Basic/Targets OSTargets.h Hexagon.cpp, clang/test/Preprocessor hexagon-predefines.c

[Clang][Hexagon]  Predefine _GNU_SOURCE for C++ compilations (#201599)

Predefine _GNU_SOURCE in C++ mode for H2, QuRT, and baremetal
Hexagon targets.

Signed-off-by: Kushal Pal <kushpal at qti.qualcomm.com>
DeltaFile
+16-0clang/test/Preprocessor/hexagon-predefines.c
+4-0clang/lib/Basic/Targets/OSTargets.h
+3-0clang/lib/Basic/Targets/Hexagon.cpp
+23-03 files

FreeBSD/ports 0740941dns/bind-tools pkg-plist, dns/bind920 pkg-plist distinfo

dns/bind920: update to 9.20.24

Changes:        https://downloads.isc.org/isc/bind9/9.20.24/doc/arm/html/notes.html#notes-for-bind-9-20-24
(cherry picked from commit 07524920aa26172a500a88b100410ff0c29d08b7)
DeltaFile
+5-5dns/bind920/pkg-plist
+5-5dns/bind-tools/pkg-plist
+3-3dns/bind920/distinfo
+1-1dns/bind920/Makefile
+14-144 files

FreeBSD/ports 0740940dns/bind918 pkg-plist distinfo

dns/bind918: update to 9.18.50

Changes:        https://downloads.isc.org/isc/bind9/9.18.50/doc/arm/html/notes.html#notes-for-bind-9-18-50
(cherry picked from commit 0752491016752344aa0f79ac8ddc67bb81c99b59)
DeltaFile
+7-7dns/bind918/pkg-plist
+3-3dns/bind918/distinfo
+1-1dns/bind918/Makefile
+11-113 files

FreeBSD/ports 0752493dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist distinfo

dns/bind9-devel: update to 9.21.23

Changes:        https://downloads.isc.org/isc/bind9/9.21.23/doc/arm/html/notes.html#notes-for-bind-9-21-23
DeltaFile
+5-5dns/bind-tools/pkg-plist-devel
+5-5dns/bind9-devel/pkg-plist
+3-3dns/bind9-devel/distinfo
+1-1dns/bind9-devel/Makefile
+14-144 files

FreeBSD/ports 0752492dns/bind-tools pkg-plist, dns/bind920 pkg-plist distinfo

dns/bind920: update to 9.20.24

Changes:        https://downloads.isc.org/isc/bind9/9.20.24/doc/arm/html/notes.html#notes-for-bind-9-20-24
DeltaFile
+5-5dns/bind920/pkg-plist
+5-5dns/bind-tools/pkg-plist
+3-3dns/bind920/distinfo
+1-1dns/bind920/Makefile
+14-144 files

FreeBSD/ports 0752491dns/bind918 pkg-plist distinfo

dns/bind918: update to 9.18.50

Changes:        https://downloads.isc.org/isc/bind9/9.18.50/doc/arm/html/notes.html#notes-for-bind-9-18-50
DeltaFile
+7-7dns/bind918/pkg-plist
+3-3dns/bind918/distinfo
+1-1dns/bind918/Makefile
+11-113 files

LLVM/project 72af16eclang/test lit.cfg.py

[clang][FreeBSD] Re-enable the crash-recovery test on FreeBSD (#192608)

All of the tests work now on FreeBSD, so we re-enable the feature again
on FreeBSD.
DeltaFile
+1-3clang/test/lit.cfg.py
+1-31 files

FreeBSD/ports e775918sysutils/iocage/files patch-pyproject.toml patch-iocage__cli_list.py

sysutils/iocage: Update to 1.13

While there, switch to release tarball.
DeltaFile
+0-65sysutils/iocage/files/patch-pyproject.toml
+0-41sysutils/iocage/files/patch-iocage__cli_list.py
+0-23sysutils/iocage/files/patch-iocage__cli_snaplist.py
+0-22sysutils/iocage/files/patch-iocage__cli_get.py
+0-22sysutils/iocage/files/patch-iocage__cli_df.py
+0-20sysutils/iocage/files/patch-iocage__cli_fstab.py
+0-1934 files not shown
+9-23910 files

LLVM/project 0390898mlir/lib/Dialect/Affine/Analysis LoopAnalysis.cpp, mlir/lib/Dialect/Affine/IR AffineOps.cpp

[mlir][affine] Implement LoopLikeInterface::getStaticTripCount on AffineForOp (#204687)

LoopLikeInterface is useful, but missing `getStaticTripCount` requires
adding extra cases to check when processing otherwise dialect-agnostic
code.

There is an existing free function `getConstantTripCount`, which I
deprecated and replaced (NFC) with the new implementation. I believe the
new implementation is slightly more efficient than
`getConstantTripCount` because it checks if the expression is constant
and fast-fails before constructing the output `AffineMap` that was
returned by `getTripCountMapAndOperands`.

Assisted by Gemini
DeltaFile
+55-0mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+38-0mlir/test/Dialect/Affine/trip-count.mlir
+21-15mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
+3-21mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
+3-3mlir/lib/Dialect/Affine/Utils/LoopFusionUtils.cpp
+3-2mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
+123-416 files not shown
+133-5012 files

LLVM/project 89fa286clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[Driver][DirectX] Add /Qstrip_debug flag
DeltaFile
+13-0llvm/test/CodeGen/DirectX/ContainerData/ContainerFlags.ll
+7-3llvm/lib/Target/DirectX/DXILWriter/DXILWriterPass.cpp
+6-1clang/lib/Driver/ToolChains/Clang.cpp
+4-1llvm/lib/MC/MCDXContainerWriter.cpp
+3-0clang/include/clang/Options/Options.td
+2-0clang/test/Driver/dxc_debug.hlsl
+35-56 files

LLVM/project 37e450fllvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge branch 'main' into users/aokblast/readelf/pxnum_support
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+31,001-87,165llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+23,873-20,923llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+574,180-108,08828,117 files not shown
+3,147,570-1,173,75828,123 files

LLVM/project 0a71ce0clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[Driver][DirectX] Add /Qstrip_debug flag
DeltaFile
+13-0llvm/test/CodeGen/DirectX/ContainerData/ContainerFlags.ll
+7-3llvm/lib/Target/DirectX/DXILWriter/DXILWriterPass.cpp
+6-1clang/lib/Driver/ToolChains/Clang.cpp
+4-1llvm/lib/MC/MCDXContainerWriter.cpp
+3-0clang/include/clang/Options/Options.td
+2-0clang/test/Driver/dxc_debug.hlsl
+35-56 files

FreeBSD/src 1665954sys/dev/uart uart_dev_ns8250.c

uart: Add support for the Intel XScale controller

The ns8250 driver avoids clearing IER bit 0x10 to account for the
split "receiver time-out interrupt enable" bit, but it never sets
it in `ier_rxbits` even though a comment in `ns8250_init` implies so.

Fix this by setting `IER_RXTMOUT` if we've matched an XScale uart.

Differential Revision:  https://reviews.freebsd.org/D57629
Reviewed by:    imp
MFC after:      2 weeks
DeltaFile
+7-0sys/dev/uart/uart_dev_ns8250.c
+7-01 files

NetBSD/pkgsrc-wip 8c3e322crush distinfo go-modules.mk

crush: Update to v0.78.0
DeltaFile
+225-219crush/distinfo
+74-72crush/go-modules.mk
+23-11crush/COMMIT_MSG
+1-1crush/Makefile
+323-3034 files

LLVM/project 12ee71cclang/lib/Driver/ToolChains CommonArgs.cpp Clang.cpp, clang/test/Driver lto.c

[Clang] Respect `-fno-slp-vectorize` for the LTO pipeline (#201585)

Summary:
This is related to reported regressions in the GROMACS suite when
offloading to AMDGCN devices through the RDC / LTO interface. The
application intentionally passes `-fno-slp-vectorize` to disable that
pass, but there's currently no way to do this through the LTO pipline.

This PR causes the driver to emit `plugin-opt=` for the `-mllvm` option.
That means the pass is still enabled but it should be a no-op now.
DeltaFile
+9-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+8-0clang/test/Driver/lto.c
+3-1clang/lib/Driver/ToolChains/Clang.cpp
+20-13 files

FreeBSD/ports 1c94d78multimedia/av1an distinfo Makefile.crates

multimedia/av1an: Update 0.5.0 => 0.5.2

While here:
- Add TEST_DEPENDS, currently 1 test fails.
- Sort Makefile.

Reviewed by:    osa, vvd (Mentors)
Approved by:    vvd (co-mentor)
Differential Revision: https://reviews.freebsd.org/D57651
DeltaFile
+265-279multimedia/av1an/distinfo
+131-138multimedia/av1an/Makefile.crates
+9-4multimedia/av1an/Makefile
+405-4213 files

LLVM/project 8da4737llvm/lib/Analysis ScalarEvolutionDivision.cpp

[SCEVDivision] Add assertion to check operand types match
DeltaFile
+2-0llvm/lib/Analysis/ScalarEvolutionDivision.cpp
+2-01 files

FreeBSD/src d735666share/man/man4 rtnetlink.4, sys/netlink/route interface.h

netlink: Indicate that ifinfomsg uses IFT_* types

On Linux struct ifinfomsg uses ARPHRD_* values, while we used IFT_*
types (which derive from SNMP ifType definitions in RFC 1573).
Update the header to reflect this.

PR:             272144
Reviewed by:    pouria
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57334

(cherry picked from commit 21a75a85f0e0cc328b6e9b437d783ef0c25dc52e)
(cherry picked from commit 76f29211f0dde8907250b77def3e58082e03afe1)
DeltaFile
+16-3share/man/man4/rtnetlink.4
+2-2sys/netlink/route/interface.h
+18-52 files

OpenBSD/ports Y3bpuIJtextproc Makefile

   +py-rapidfuzz
VersionDeltaFile
1.863+1-0textproc/Makefile
+1-01 files

OpenBSD/ports kwPZ6Qntextproc/py-rapidfuzz Makefile distinfo, textproc/py-rapidfuzz/pkg PLIST DESCR

   import ports/textproc/py-rapidfuzz, from Chris Billington, various tweaks
   by me, tweak/ok landry@

   This package provides the Python extension for RapidFuzz, a fast MIT-licensed
   fuzzy string-matching library for Python and C++. It uses string similarity
   calculations from a pre-GPL version of https://github.com/seatgeek/fuzzywuzzy
   providing a wide range of fundamental algorithms:

   - Damerau Levenshtein
   - Hamming
   - Indel
   - Jaro
   - JaroWinkler
   - Levenshtein
   - Longest Common Subsequence
   - Optimal String Alignment (OSA)
   - Prefix
   - Postfix
VersionDeltaFile
1.1+149-0textproc/py-rapidfuzz/pkg/PLIST
1.1+26-0textproc/py-rapidfuzz/Makefile
1.1+15-0textproc/py-rapidfuzz/pkg/DESCR
1.1+2-0textproc/py-rapidfuzz/distinfo
1.1.1.1+0-0textproc/py-rapidfuzz/Makefile
1.1.1.1+0-0textproc/py-rapidfuzz/distinfo
+192-02 files not shown
+192-08 files

OpenBSD/ports 2VXJ3kalang/python/3 python.port.mk

   for MODPY_PYBUILD, install the newly built wheel to a staging dir prior
   to running python -m pytest, and add that staging dir to PYTHONPATH.
   fixes some cases where "make test" would not work without first running
   "make fake" (especially scikit-build, which removes the build files after
   creating a wheel).
VersionDeltaFile
1.28+8-0lang/python/3/python.port.mk
+8-01 files

FreeBSD/src 76f2921share/man/man4 rtnetlink.4, sys/netlink/route interface.h

netlink: Indicate that ifinfomsg uses IFT_* types

On Linux struct ifinfomsg uses ARPHRD_* values, while we used IFT_*
types (which derive from SNMP ifType definitions in RFC 1573).
Update the header to reflect this.

PR:             272144
Reviewed by:    pouria
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57334

(cherry picked from commit 21a75a85f0e0cc328b6e9b437d783ef0c25dc52e)
DeltaFile
+15-2share/man/man4/rtnetlink.4
+2-2sys/netlink/route/interface.h
+17-42 files

LLVM/project d757193llvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target CGPassBuilderOption.h

[CommandLine] Make cl::boolOrDefault a scoped enum

Prevents implicit conversion to bool/int, where BOU_FALSE wrongly
evaluated as true. All uses qualified as cl::boolOrDefault::BOU_*.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+15-13llvm/lib/CodeGen/TargetPassConfig.cpp
+10-8llvm/include/llvm/Passes/CodeGenPassBuilder.h
+10-5llvm/lib/CodeGen/BranchFolding.cpp
+7-7llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+6-6llvm/include/llvm/Target/CGPassBuilderOption.h
+10-1llvm/lib/Support/CommandLine.cpp
+58-4024 files not shown
+129-10130 files