LLVM/project e737958 — flang/lib/Optimizer/HLFIR/IR HLFIROps.cpp, flang/lib/Optimizer/HLFIR/Transforms BufferizeHLFIR.cpp

[flang] Fuse chained character concatenations into one buffer (#239331)

Lowering creates one binary hlfir.concat per // operator, so `a // b //
c` was evaluated into an intermediate buffer that was then copied into
the result buffer. Add a canonicalization that folds a single-use
hlfir.concat into its user when no operation in between may modify or
release its operands, and bufferize hlfir.concat with any number of
operands. The buffer is now sized with the hlfir.concat length operand,
which can be computed outside of elemental loops, instead of the sum of
the operand lengths computed in the loop body.

I noticed this low hanging chained concat optimization when working on
the character expr refactor.

Note that we can still further optimize concat for the `a = b // c ...`
cases by using the lhs storage when there is no overlap (both for scalar
and arrays), I just did the easy change.
DeltaFile
+125-60flang/test/HLFIR/concat-bufferization.fir
+94-0flang/test/HLFIR/character-expression-lifetimes.fir
+54-0flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+36-6flang/test/Transforms/character-expression-storage.f90
+22-15flang/test/HLFIR/associate-codegen.fir
+23-14flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
+354-955 files not shown
+357-12611 files

NetBSD/pkgsrc-wip b6a33bf — chromium Makefile cargo-depends.mk

chromium: update crubit

Fix build with rist-1.99.1
DeltaFile
+60-27chromium/distinfo
+19-8chromium/cargo-depends.mk
+1-1chromium/Makefile
+80-363 files

FreeBSD/ports fe0cf12 — devel Makefile, devel/sdl3-imgui-filedialogs distinfo pkg-plist

devel/sdl3-imgui-filedialogs: New port

This project is based on ImFileDialog by dfranx, with many bugs/crashes
fixed and overall improvements. The 'Quick Access' sidebar actually
remembers what favorites were previously saved to it from previous runs
of your application now, by saving the settings to a text file in a
hidden configuration subfolder of your home folder. It allows for full
localization among many other useful things and customizable via
environment variables.

Approved by:    arrowd (co-mentor)
DeltaFile
+28-0devel/sdl3-imgui-filedialogs/Makefile
+7-0devel/sdl3-imgui-filedialogs/pkg-descr
+4-0devel/sdl3-imgui-filedialogs/pkg-plist
+3-0devel/sdl3-imgui-filedialogs/distinfo
+1-0devel/Makefile
+43-05 files

FreeBSD/src f586138 — sys/dev/sound/usb uaudio.c

snd_uaudio: Fix the MIDI TX round-robin

Nothing advances curr_cable, so umidi_bulk_write_callback() only
services cable 0, which is a problem on MIDI devices with more than one
jack.

Fixes:          039477d3e7e7 ("snd_uaudio: Simplify chan->curr_cable calculation in uaudio_bulk_write_callback()")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 day
DeltaFile
+2-1sys/dev/sound/usb/uaudio.c
+2-11 files

LLVM/project fb93c76 — mlir/include/mlir/Dialect/LLVMIR LLVMDialectBytecode.td LLVMAttrDefs.td, mlir/lib/Dialect/LLVMIR/IR LLVMAttrs.cpp

[mlir][llvm] Add DIEnumeratorAttr (#241969)

Add DIEnumeratorAttr to the LLVM dialect, modeling llvm::DIEnumerator.
This is the first step of supporting enumerations in the LLVM dialect
debug info, as discussed at
https://discourse.llvm.org/t/interest-in-adding-dienumerator-and-template-parameter-debug-info-to-the-llvm-dialect/92776.
Import and export follow in a separate patch.

The attribute has an optional name, the value as an IntegerAttr, and an
unsigned flag. LLVM stores the value as an APInt of any width and its
verifier does not restrict the width (there are existing tests with 128
bit enumerators), so an IntegerAttr keeps the exact width. The unsigned
flag is stored separately, as in LLVM. The assembly format is the
declarative struct format with no custom parsing or printing. Signless
integers print in their signed form, as usual in MLIR, so an unsigned
value such as 255 : i8 is accepted but printed as -1 : i8, and the flag
keeps the information:

```

    [20 lines not shown]
DeltaFile
+20-8mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
+21-0mlir/test/Dialect/LLVMIR/debuginfo.mlir
+14-1mlir/include/mlir/Dialect/LLVMIR/LLVMDialectBytecode.td
+15-0mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+14-0mlir/test/Dialect/LLVMIR/invalid-di-enumerator.mlir
+84-95 files

LLVM/project ea8f365 — clang/docs/analyzer/user-docs CommandLineUsage.md, clang/include/clang/StaticAnalyzer/Core AnalyzerOptions.def

[analyzer] Add an option to support unity-builds in CSA

Unity-build, a.k.a jumbo-build or unified-build is a practice to build
multiple C or C++ source files in a single compilation command by
including them into a synthetic TU main file using preprocessor
`#include` directives.

By default CSA would skip all functions in the files that are compiled
in this manner because the said functions would not be defined in the
"main TU" file, but in "headers", that are really #include'd sources.

Add unitybuild-file-extensions option (empty by default) that enables
CSA to start analysis of functions defined in #include'd files as long
as their extension matches one of the extensions configured.

Assisted by GPT-Sol LLM.

--

CPP-9564
DeltaFile
+96-0clang/test/Analysis/unitybuild-file-extensions.cpp
+12-6clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
+8-8clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+16-0clang/docs/analyzer/user-docs/CommandLineUsage.md
+14-0clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
+10-0clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
+156-142 files not shown
+162-148 files

FreeBSD/src c8e7312 — sys/dev/usb usbdevs

usbdevs: Add HumanWare BrailleNote Apex IDs

Add the HumanWare vendor ID and the BrailleNote Apex
product ID to support the Apex 32 BT when configured
as a screen reader terminal in USB Client mode.

This device will also serve as the starting point for
developing the FreeBSD braille(4) subsystem.

Reviewed by:            emaste
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61624
DeltaFile
+4-0sys/dev/usb/usbdevs
+4-01 files

LLVM/project 0855aa8 — clang/test/CodeGen/RISCV rvp-intrinsics.c, cross-project-tests/intrinsic-header-tests riscv_packed_simd.c

[RISCV][P-ext] Add scalar saturating and rounding shift intrinsics (#241730)
DeltaFile
+159-0llvm/test/CodeGen/RISCV/rvp-scalar.ll
+69-44llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+112-0llvm/test/CodeGen/RISCV/rvp-scalar-rv64.ll
+108-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+56-13llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+56-0cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+560-574 files not shown
+629-5910 files

FreeBSD/src 5daad0b — sys/dev/iicbus/controller/twsi twsi.c

twsi: Wait for the bus to go idle before starting a transfer

The status register does not read as idle (0xf8) right after the
previous transfer ended and the module was disabled. On fast
(optimised) kernels the next transfer starts too early, sees a
different status and fails with EIO ("Bad status at start of
transfer").

On the Pine H64 this made the AXP805 write that disables the PHY
supply fail from awg_shutdown(), leaving the PHY powered and the
board hanging on warm reboot. Poll the status register for up to 1ms
before declaring the bus not idle.

Tested on:      Pine H64 (5 warm reboots with a NODEBUG kernel)
Fixes:  cb167e1ae954 ("twsi: do not attempt transfer if bus is not idle")
DeltaFile
+24-1sys/dev/iicbus/controller/twsi/twsi.c
+24-11 files

LLVM/project 35b1959 — llvm/lib/Target/RISCV RISCVInstrInfo.cpp, llvm/test/CodeGen/RISCV spill-fill-fold.ll

[RISCV] Add fmv.h/w/d.x to foldMemoryOperandImpl for reloads. (#243192)

May help with #242978.

I found an old PR #78408 that also tried to do this, but it was more
complex and may have a bug for using an FSW to write a GPR stack
slot on RV64.

Assisted-by: Claude
DeltaFile
+763-8llvm/test/CodeGen/RISCV/spill-fill-fold.ll
+7-0llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+770-82 files

LLVM/project 2c77a8e — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-scalar.ll

[RISCV][P-ext] Fix assertion when legalizing i64 shift amounts on RV32 (#243366)

Previously, right shifts could incorrectly take the WSLL/WSLA path,
which also truncated the shift amount to i32. So the assertion failure
was never found.

After https://github.com/llvm/llvm-project/pull/242773, generic type
legalization can produce an i32 shift with an i64 shift amount on
RV32+P. Legalizing the shift amount then reaches an assertion that only
permits i32 shift amounts on RV64.

This commit allows the RV32+P case so generic legalization can expand
the shift amount.

Closes #243365
DeltaFile
+41-0llvm/test/CodeGen/RISCV/rvp-scalar.ll
+7-3llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+48-32 files

FreeBSD/ports 58a6042 — security/vuxml/vuln 2026.xml

security/vuxml: Report new mailpit vulnerability
DeltaFile
+39-0security/vuxml/vuln/2026.xml
+39-01 files

LLVM/project 249c0fc — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV][P-ext] Replace some checks with pattern matching (NFC) (#243022)

Assisted-by: Codex
DeltaFile
+10-20llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+10-201 files

LLVM/project 1ec7ba3 — clang/test/CodeGen/AMDGPU builtins-amdgcn-d16-image-16bit-error.c, clang/test/CodeGenOpenCL builtins-amdgcn-image-load-feature-err.cl builtins-amdgcn-extended-image-err.cl

[Clang][AMDGPU][NFC] Move image builtin feature tests to CodeGen
DeltaFile
+0-108clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+108-0clang/test/CodeGen/AMDGPU/builtins-amdgcn-d16-image-16bit-error.c
+0-59clang/test/SemaOpenCL/builtins-extended-image-err.cl
+59-0clang/test/CodeGenOpenCL/builtins-amdgcn-extended-image-err.cl
+0-57clang/test/SemaOpenCL/builtins-image-load-image-feature-err.cl
+57-0clang/test/CodeGenOpenCL/builtins-amdgcn-image-load-feature-err.cl
+224-2246 files not shown
+290-29012 files

FreeBSD/ports 923c1b1 — www/rubygem-websocket-driver Makefile distinfo

www/rubygem-websocket-driver: Update to 0.9.0

Changes:        https://github.com/faye/websocket-driver-ruby/blob/main/CHANGELOG.md
DeltaFile
+3-3www/rubygem-websocket-driver/distinfo
+2-2www/rubygem-websocket-driver/Makefile
+5-52 files

FreeBSD/ports a37cb0f — www/rubygem-websocket-extensions Makefile distinfo

www/rubygem-websocket-extensions: Update to 0.2.0

Changes:        https://github.com/faye/websocket-extensions-ruby/blob/main/CHANGELOG.md
DeltaFile
+3-3www/rubygem-websocket-extensions/distinfo
+1-1www/rubygem-websocket-extensions/Makefile
+4-42 files

FreeBSD/ports 0b27489 — www/rubygem-thruster Makefile distinfo

www/rubygem-thruster: Update to 0.1.28

Changes:        https://github.com/basecamp/thruster/blob/main/CHANGELOG.md
DeltaFile
+3-3www/rubygem-thruster/distinfo
+1-1www/rubygem-thruster/Makefile
+4-42 files

FreeBSD/ports 6014ec5 — sysutils/rubygem-chef-vault Makefile distinfo

sysutils/rubygem-chef-vault: Update to 4.2.16

Changes:        https://github.com/chef/chef-vault/blob/main/CHANGELOG.md
DeltaFile
+3-3sysutils/rubygem-chef-vault/distinfo
+1-1sysutils/rubygem-chef-vault/Makefile
+4-42 files

FreeBSD/ports d29fcb5 — textproc/rubygem-kramdown Makefile distinfo

textproc/rubygem-kramdown: Update to 2.6.1

Changes:        https://kramdown.gettalong.org/news.html
                https://github.com/gettalong/kramdown/tree/master/doc/news
DeltaFile
+3-3textproc/rubygem-kramdown/distinfo
+1-1textproc/rubygem-kramdown/Makefile
+4-42 files

FreeBSD/ports 2b8a073 — www/rubygem-ruby-oembed Makefile distinfo

www/rubygem-ruby-oembed: Update to 1.0.0

Changes:        https://github.com/ruby-oembed/ruby-oembed/blob/master/CHANGELOG.rdoc
DeltaFile
+3-3www/rubygem-ruby-oembed/distinfo
+1-1www/rubygem-ruby-oembed/Makefile
+4-42 files

FreeBSD/ports 77a41ca — devel/rubygem-semver_dialects Makefile distinfo

devel/rubygem-semver_dialects: Update to 4.1.5

Changes:        https://gitlab.com/gitlab-org/ruby/gems/semver_dialects/-/blob/master/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-semver_dialects/distinfo
+1-1devel/rubygem-semver_dialects/Makefile
+4-42 files

FreeBSD/ports 58da1b0 — devel/rubygem-cookstyle Makefile distinfo, devel/rubygem-cookstyle/files patch-gemspec

devel/rubygem-cookstyle: Update to 9.0.9

Changes:        https://github.com/chef/cookstyle/blob/main/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-cookstyle/files/patch-gemspec
+3-3devel/rubygem-cookstyle/distinfo
+2-2devel/rubygem-cookstyle/Makefile
+8-83 files

FreeBSD/ports 2f506c1 — devel/rubygem-cucumber-wire distinfo Makefile

devel/rubygem-cucumber-wire: Update to 9.0.1

Changes:        https://github.com/cucumber/cucumber-ruby-wire/releases
DeltaFile
+3-4devel/rubygem-cucumber-wire/Makefile
+3-3devel/rubygem-cucumber-wire/distinfo
+6-72 files

FreeBSD/ports 4f44e8b — devel/rubygem-pkg-config Makefile distinfo

devel/rubygem-pkg-config: Update to 1.6.8

Changes:        https://github.com/ruby-gnome/pkg-config/releases
DeltaFile
+3-3devel/rubygem-pkg-config/distinfo
+1-1devel/rubygem-pkg-config/Makefile
+4-42 files

FreeBSD/ports 7e81fa7 — devel/rubygem-aws-sdk-xray Makefile distinfo

devel/rubygem-aws-sdk-xray: Update to 1.115.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-xray/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-xray/distinfo
+2-2devel/rubygem-aws-sdk-xray/Makefile
+5-52 files

FreeBSD/ports 6071d42 — devel/rubygem-aws-sdk-workspacesthinclient Makefile distinfo

devel/rubygem-aws-sdk-workspacesthinclient: Update to 1.60.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesthinclient/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesthinclient/distinfo
+2-2devel/rubygem-aws-sdk-workspacesthinclient/Makefile
+5-52 files

FreeBSD/ports 2643cd0 — devel/rubygem-aws-sdk-workspacesweb Makefile distinfo

devel/rubygem-aws-sdk-workspacesweb: Update to 1.79.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesweb/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesweb/distinfo
+2-2devel/rubygem-aws-sdk-workspacesweb/Makefile
+5-52 files

FreeBSD/ports c6c91f7 — devel/rubygem-aws-sdk-workspacesinstances Makefile distinfo

devel/rubygem-aws-sdk-workspacesinstances: Update to 1.33.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesinstances/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesinstances/distinfo
+2-2devel/rubygem-aws-sdk-workspacesinstances/Makefile
+5-52 files

FreeBSD/ports aa0e61a — devel/rubygem-aws-sdk-workspaces Makefile distinfo

devel/rubygem-aws-sdk-workspaces: Update to 1.178.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspaces/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspaces/distinfo
+2-2devel/rubygem-aws-sdk-workspaces/Makefile
+5-52 files

FreeBSD/ports 89524c6 — devel/rubygem-aws-sdk-workmailmessageflow Makefile distinfo

devel/rubygem-aws-sdk-workmailmessageflow: Update to 1.82.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workmailmessageflow/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workmailmessageflow/distinfo
+2-2devel/rubygem-aws-sdk-workmailmessageflow/Makefile
+5-52 files