LLVM/project 96fcd76 — flang/lib/Optimizer/CodeGen TargetRewrite.cpp, flang/test/Fir struct-return-ppc64le.fir struct-return-powerpc64-aix.fir

[flang] Remove redundant stack save/restore from ABI rewriting (#240487)

ABI temporaries have fixed size and are already hoisted out of loops
during flang CodeGen.

Suggested here:
https://github.com/llvm/llvm-project/pull/240298#issuecomment-6738923261

Assited-by: AI
DeltaFile
+27-76flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
+79-0flang/test/Fir/target-rewrite-alloca-scope.fir
+0-24flang/test/Fir/struct-return-aarch64.fir
+0-12flang/test/Fir/target-rewrite-complex.fir
+0-10flang/test/Fir/struct-return-ppc64le.fir
+0-10flang/test/Fir/struct-return-powerpc64-aix.fir
+106-1329 files not shown
+106-17615 files

LLVM/project d2e81e6 — llvm/lib/Transforms/IPO Attributor.cpp, llvm/test/Transforms/Attributor depgraph.ll

[Attributor][NFC] Only seed AAAddressSpace if there is a flat address space (#241350)

Without a flat address space, `AAAddressSpace` gives up in `initialize`,
so seeding it for every load and store pointer is wasted. Skip seeding
in that case; it is still created on demand. Only the dependency-graph
test output changes.

CTMark with `-attributor-enable=full`: -0.05% (O3), -0.18% (ThinLTO).

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
Assisted-by: Claude Opus 5.5
DeltaFile
+8-4llvm/lib/Transforms/IPO/Attributor.cpp
+0-1llvm/test/Transforms/Attributor/depgraph.ll
+8-52 files

LLVM/project 184329d — flang/lib/Semantics check-purity.cpp, flang/test/Semantics simple-purity-checks.f90

[flang] Recognize SIMPLE prefix in purity checks (#232175)

Treat `SIMPLE` as a `PURE` prefix in `PurityChecker::HasPurePrefix`, as
required by F2023 15.8 p2.
Add regression tests for image control statements (C15109) and internal
subprogram purity (C15102).

Fixes #231353
DeltaFile
+52-0flang/test/Semantics/simple-purity-checks.f90
+1-0flang/lib/Semantics/check-purity.cpp
+53-02 files

FreeNAS/freenas 1fc4a19 — tests/api2 test_zfs_resource_create.py test_rsync_ssh_authentication.py

Remove tests
DeltaFile
+0-2,661tests/api2/test_300_nfs.py
+0-1,427tests/api2/test_200_ftp.py
+0-1,275tests/api2/test_s3_bucket.py
+0-1,214tests/api2/test_account.py
+0-1,010tests/api2/test_rsync_ssh_authentication.py
+0-849tests/api2/test_zfs_resource_create.py
+0-8,436322 files not shown
+0-53,142328 files

FreeNAS/freenas 85922d8 — tests/api2 test_truesearch.py

Read TrueSearch exclusions from the file in the Time Machine test

truesearch_client reads the rows of the configuration file without
their exclusions. So the Time Machine test always saw no exclusion. The
test now reads the settings of each row from the file.
DeltaFile
+9-9tests/api2/test_truesearch.py
+9-91 files

FreeBSD/src d668d96 — usr.bin/top top.1 top.c

top: allow filtering by command name

top(1) already supports interactive command filtering using
the '/' key. Support it also with a command line
argument '-g' / '--grep'.

Reviewed by:    kib
Obtained from:  OpenBSD
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D61160
DeltaFile
+12-2usr.bin/top/top.c
+9-1usr.bin/top/top.1
+21-32 files

LLVM/project 76a4f39 — llvm/lib/Target/BPF BTFDebug.cpp, llvm/test/CodeGen/BPF/BTF array-no-dimension.ll array-invalid-dimensions.ll

[BPF] Diagnose unrepresentable BTF array bounds (#240545)

BTF encodes an array length as a 32-bit unsigned constant. Clang can
describe a variable-length array with a debug variable for the count.
Reading that count as an integer crashes the backend. A constant count
above UINT32_MAX is silently truncated.

Check each dimension before encoding it. After reporting an error,
register the array so enclosing types can finish resolving their
references. Keep the zero count used for flexible arrays and arrays with
no recorded dimensions.

Assisted-by: OpenAI Codex
DeltaFile
+29-26llvm/lib/Target/BPF/BTFDebug.cpp
+48-0llvm/test/CodeGen/BPF/BTF/array-invalid-dimensions.ll
+3-4llvm/test/CodeGen/BPF/BTF/array-no-dimension.ll
+80-303 files

LLVM/project 0aeeed5 — llvm/tools/llubi/lib Interpreter.cpp

Address review comments
DeltaFile
+20-19llvm/tools/llubi/lib/Interpreter.cpp
+20-191 files

FreeBSD/doc 82a9c0a — website/content/en/cgi man.cgi

man.cgi: fix config and perl issues
DeltaFile
+3-8website/content/en/cgi/man.cgi
+3-81 files

FreeBSD/ports 561b9bc — security/py-keepkey pkg-descr distinfo, security/py-keepkey/files patch-keepkeylib_protobuf__json.py patch-keepkeyctl

security/py-keepkey: Fix Python 3 and protobuf compatibility

Regenerate protobuf modules at build time to fix import failures with
current protobuf. Use the device-protocol revision matching upstream
7.2.1, which includes the required Tendermint definitions.

Fix Python 2 remnants in keepkeyctl and protobuf_json, and support
the protobuf descriptor API changes. Remove the unused exchange
module, which depends on the obsolete protobuf3 library.

Switch to PEP 517, correct the package version metadata, add the
python category, and expand the port description. Bump PORTREVISION.

PR:             300278
DeltaFile
+151-0security/py-keepkey/files/patch-keepkeyctl
+96-0security/py-keepkey/files/patch-keepkeylib_protobuf__json.py
+33-5security/py-keepkey/Makefile
+3-3security/py-keepkey/distinfo
+5-0security/py-keepkey/pkg-descr
+288-85 files

LLVM/project 1782ca3 — llvm/utils/gn/secondary/libcxx/include BUILD.gn, llvm/utils/gn/secondary/libcxx/src BUILD.gn

[gn] port 01b3d57fe89d (#241403)
DeltaFile
+0-21llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+0-5llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+0-262 files

LLVM/project bb3c5de — llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc BUILD.gn

[gn] port b4c487880a54 (#241402)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
+1-01 files

FreeNAS/freenas 3cb3a0d — src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/types string.py

NAS-140886 / 27.0.0-BETA.1 / Simplify `LongString` (#18887)

Our current `LongString` implementation boxes all strings in
`LongStringWrapper`. Sometimes it's transparent, but sometimes we need
to unbox it explicitly, which leads to quite ugly code. This is a better
implementation that does not need that.

(cherry picked from commit 4cab7ceb0073f176525771847ac013d1341b12c8)
(cherry picked from commit cfddcc8b0023a84720f84459479954fd8988152f)
DeltaFile
+3-53src/middlewared/middlewared/api/base/types/string.py
+30-10src/middlewared/middlewared/api/base/model.py
+1-36src/middlewared/middlewared/pytest/unit/plugins/apps/test_schema_construction_utils.py
+3-4src/middlewared/middlewared/plugins/truenas/license.py
+37-1034 files

FreeNAS/freenas ba6ba77 — src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/types string.py

NAS-140886 / 27.1.0 / Simplify `LongString` (by themylogin) (#20193)

Our current `LongString` implementation boxes all strings in
`LongStringWrapper`. Sometimes it's transparent, but sometimes we need
to unbox it explicitly, which leads to quite ugly code. This is a better
implementation that does not need that.

Original PR: https://github.com/truenas/middleware/pull/18887

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+3-53src/middlewared/middlewared/api/base/types/string.py
+30-10src/middlewared/middlewared/api/base/model.py
+1-36src/middlewared/middlewared/pytest/unit/plugins/apps/test_schema_construction_utils.py
+3-4src/middlewared/middlewared/plugins/truenas/license.py
+37-1034 files

LLVM/project 5e24241 — llvm/utils/gn/secondary/llvm/lib/Target/Hexagon BUILD.gn

[gn] port 96e9c109d64c (#241401)
DeltaFile
+2-0llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/BUILD.gn
+2-01 files

LLVM/project e4f06b2 — llvm/lib/Transforms/IPO LowerTypeTests.cpp

[LowerTypeTests] Append jump table aliases to llvm.used once (NFC) (#241146)

buildBitSetsFromFunctionsNative called appendToUsed for each
non-canonical, non-exported jump table alias. Each call rebuilt
llvm.used from scratch and left the old initializer behind as a dead
ConstantArray that still used all of its elements, so N aliases took
quadratic time and left O(N^2) dead uses on the aliases. Walking those
uses (e.g. in the verifier) cost a lot of build time.

Append the aliases just once after the loop instead. There's no change
to the output, but we remove the quadratic behavior. For a large
internal link with FullLTO and cross-DSO CFI, this change reduced the
overall link time from 24 minutes to 18 minutes, and peak RSS from 51
GiB to 28 GiB.

Assisted-by: Claude Opus 5.5

Co-authored-by: Nathan Lanza <nathanlanza at gmail.com>
DeltaFile
+6-1llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+6-11 files

FreeBSD/ports 851044b — x11/kitty Makefile distinfo, x11/kitty/files patch-shell-integration_fish_vendor__conf.d_kitty-shell-integration.fish

x11/kitty: Update to 0.50.0

ChangeLog:

1. https://sw.kovidgoyal.net/kitty/changelog/#detailed-list-of-changes

Reported by:    "Kovid Goyal" <notifications at github.com>
DeltaFile
+164-86x11/kitty/pkg-plist
+5-5x11/kitty/files/patch-shell-integration_fish_vendor__conf.d_kitty-shell-integration.fish
+5-5x11/kitty/distinfo
+2-2x11/kitty/Makefile
+176-984 files

LLVM/project 8e5a276 — llvm/test/CodeGen/X86 vector-deinterleave7-i16.ll vector-deinterleave8-i64.ll

Rebase, address comments

Created using spr 2.0.0-beta.1
DeltaFile
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+25,861-0llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+25,769-0llvm/test/CodeGen/X86/vector-deinterleave7-i16.ll
+163,516-014,473 files not shown
+1,214,879-197,92614,479 files

LLVM/project b80d091 — llvm/utils/gn/build BUILD.gn

[gn] Allow use_tsan in macOS buils (#241399)

This requires a host toolchain with a tsan runtime library. If you're
using a custom clang that doesn't have one, you can build it like:

ninja -C out/gn
lib/clang/24/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib

...and then copy that to your clang:

cp out/gn/lib/clang/24/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib \
       path/to/lib/clang/24/lib/darwin/

(This also allows ios because a macOS build builds iOS runtime libs.
Without this, the runtime libs would error out. Nobody's likely to use
the runtime libs of a tsan build, but this seems like the simplest way
to make the build happy.)
DeltaFile
+3-2llvm/utils/gn/build/BUILD.gn
+3-21 files

LLVM/project 0d43c90 — lld/MachO SectionPriorities.cpp

[lld/mac] Store alloc'd order_file strings on stack, and do less work (#241367)

-order_file files can contain lines that optionally precede a symbol
name with an object file name (e.g. `foo.o:_foo`). This is very rare,
yet we always did some string manipulation. Now we early-exit if this
isn't used.

When it is used, we used to compute a temporary string for objects in
static archives and store it in a string saver. We never use that string
again, so instead store it on the stack. The main motivation here is
that I'd like to parallelize the code calling this function, and our
string saver isn't thread-safe. But it should also save some memory and
seems generally nicer.

No performance change for Chromium Framework. It uses an -order_file
with just a handful entries. If I create an order file with 1.5M entries
(one for each symbol in Chromium Framework), this change reduces link
time from 6.079s ± 0.134s to 5.557s ± 0.036s.
Order files that large are likely rare in practice.

No behavior change.
DeltaFile
+4-2lld/MachO/SectionPriorities.cpp
+4-21 files

FreeBSD/doc fc51ddc — website/content/en/cgi man.cgi

man.cgi: remove dead code
DeltaFile
+0-7website/content/en/cgi/man.cgi
+0-71 files

LLVM/project ac29158 — lld/ELF Relocations.cpp, lld/test/ELF copy-rel-alias.s aarch64-copy.s

[ELF] -pie: Reject absolute references to copy relocations and canonical PLT (#240261)

In a PIE, a copy relocation or canonical PLT entry has a load-time
address. Since https://reviews.llvm.org/D66007 , an absolute reference
to one (e.g. R_X86_64_64 in .rodata, R_X86_64_32) is silently resolved
to the link-time address. Report an error unless the reference is
independent of the load base, matching GNU ld.

Fix #236441
DeltaFile
+12-14lld/ELF/Relocations.cpp
+14-0lld/test/ELF/relocation-copy.s
+10-3lld/test/ELF/canonical-plt-symbolic.s
+7-0lld/test/ELF/aarch64-copy.s
+1-1lld/test/ELF/copy-rel-alias.s
+44-185 files

LLVM/project 3720a39 — lld/MachO Driver.cpp InputFiles.h, lld/test/MachO arm64e-input-abi.s

[lld-macho] Check the architecture of bitcode and dylibs

ld64 checks bitcode and dylibs against the target architecture, not
just objects, and ignores a file for another architecture with a
warning, or reports an error with -arch_errors_fatal. It treats bitcode
like an object. It is laxer with dylibs and bundle loaders: an arm64
link takes any arm64e dylib, and an arm64e link takes arm64e dylibs
marked userland ABI version 0 or 1 (macOS executables are marked
version 1) and arm64e.x1 dylibs marked version 0. It checks the arm64e
slice of a fat dylib in the same way, but takes an arm64-only TBD in an
arm64e link.

lld checked neither. In an arm64e link it passed arm64 bitcode to LTO,
which compiled it without pointer authentication or failed, depending
on the input order, and it took dylibs of any architecture.

Check bitcode by its target triple and dylibs by their CPU type and
subtype, as ld64 does. Ignored dylibs get no load command.

Assisted-by: Claude Code
DeltaFile
+148-1lld/test/MachO/arm64e-input-abi.s
+72-23lld/MachO/InputFiles.cpp
+3-3lld/MachO/InputFiles.h
+1-1lld/MachO/Driver.cpp
+224-284 files

LLVM/project c33407b — llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-zero-size-arr.ll lower-module-lds-all-indirect-accesses.ll

[AMDGPU] Enable GEP canonicalization for dynamic LDS table lookups
DeltaFile
+8-4llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll
+2-1llvm/test/CodeGen/AMDGPU/lower-module-lds-zero-size-arr.ll
+2-1llvm/test/CodeGen/AMDGPU/lower-module-lds-all-indirect-accesses.ll
+0-1llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+12-74 files

LLVM/project 27c484f — llvm/test/CodeGen/Mips/GlobalISel/instruction-select fcmp.mir, llvm/test/CodeGen/Mips/GlobalISel/legalizer sitofp_and_uitofp.mir rem_and_div_vec_builtin.mir

[MIPS](NFC) Drop `tracksRegLiveness: true` from MIR tests (#241211)

This is on by default and the only MIR option we set in most cases.
DeltaFile
+0-32llvm/test/CodeGen/Mips/GlobalISel/instruction-select/fcmp.mir
+0-28llvm/test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir
+0-24llvm/test/CodeGen/Mips/GlobalISel/legalizer/store_split_because_of_memsize_or_align.mir
+0-16llvm/test/CodeGen/Mips/GlobalISel/regbankselect/rem_and_div_vec.mir
+0-16llvm/test/CodeGen/Mips/GlobalISel/legalizer/sitofp_and_uitofp.mir
+0-16llvm/test/CodeGen/Mips/GlobalISel/legalizer/rem_and_div_vec_builtin.mir
+0-132218 files not shown
+0-900224 files

FreeBSD/doc 2079ce5 — website/content/en/cgi man.cgi

man.cgi: base pages first applies also to the Ports.quarterly release
DeltaFile
+1-1website/content/en/cgi/man.cgi
+1-11 files

LLVM/project 8a9da80 — mlir/include/mlir/Dialect/ArmSVE/Transforms Passes.td, mlir/lib/Dialect/ArmSVE/Transforms CMakeLists.txt LegalizeVectorStorage.cpp

[mlir][ArmSVE] Scale the scalable dim index in LegalizeTransferRead (#239583)

`LegalizeTransferRead` collapses the trailing memref dims, from the
scalable one onwards, and reads from the collapsed memref. The index of
the scalable dim then indexes the collapsed dim, but it was kept as is,
so

```mlir
%A = vector.transfer_read %M[%i, %j, %k, %c0], %pad {in_bounds = [true, true]} : memref<?x?x?x8xi8>, vector<[4]x8xi8>
```

read from `%k` instead of `%k * 8`:

```mlir
%collapse_shape = memref.collapse_shape %M [[0], [1], [2, 3]] : memref<?x?x?x8xi8> into memref<?x?x?xi8>
%0 = vector.transfer_read %collapse_shape[%i, %j, %k], %pad {in_bounds = [true]} : memref<?x?x?xi8>, vector<[32]xi8>
```

This patch scales that index by the size of the dims collapsed into it.

    [11 lines not shown]
DeltaFile
+15-3mlir/lib/Dialect/ArmSVE/Transforms/LegalizeVectorStorage.cpp
+3-1mlir/test/Dialect/ArmSVE/legalize-transfer-read.mlir
+1-1mlir/include/mlir/Dialect/ArmSVE/Transforms/Passes.td
+1-0mlir/lib/Dialect/ArmSVE/Transforms/CMakeLists.txt
+20-54 files

LLVM/project 64969db — compiler-rt/lib/sanitizer_common sanitizer_quarantine.h, compiler-rt/lib/sanitizer_common/tests sanitizer_mutex_test.cpp

[compiler-rt] mark padding [[maybe_unused]] (#241052)

-Wunused-private-field will soon be able to flag fields in instantiated
class templates. Land this in preparation.

Link: #237374
DeltaFile
+3-3compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h
+1-1compiler-rt/lib/sanitizer_common/tests/sanitizer_mutex_test.cpp
+4-42 files

FreeBSD/ports e2e71b0 — devel/okteta distinfo pkg-descr

devel/okteta: Update to 0.26.60 and switch to Qt6/KF6

The structures tool is not ported to Qt6/KF6 yet.

PR:             299313
DeltaFile
+526-517devel/okteta/pkg-plist
+15-16devel/okteta/Makefile
+5-15devel/okteta/pkg-descr
+3-3devel/okteta/distinfo
+549-5514 files

FreeBSD/ports 8575cef — devel Makefile, devel/okteta-qt5 distinfo pkg-descr

devel/okteta-qt5: Add port for Qt5-based Okteta

Okteta is not fully ported to Qt6 yet, therefore keep Qt5 version for a while.
DeltaFile
+899-0devel/okteta-qt5/pkg-plist
+34-0devel/okteta-qt5/Makefile
+28-0devel/okteta-qt5/pkg-descr
+3-0devel/okteta-qt5/distinfo
+1-0devel/Makefile
+965-05 files