LLVM/project d9681a0llvm Maintainers.md

[LLVM][Maintainers] Volunteer for LoopUnroll (#207802)

I've been reviewing and contributing PRs to the unroller for the past
few months. Since I plan on keeping that up, I figured I'd formally
volunteer as a maintainer.

I'm certainly not an expert on every aspect of the unroller, so no
worries if we feel that we need someone more experienced to fill this
gap.
DeltaFile
+5-0llvm/Maintainers.md
+5-01 files

LLVM/project 2e3dcf6clang/lib/Headers riscv_packed_simd.h, clang/test/CodeGen/RISCV rvp-intrinsics.c

[Clang][P-ext] Support packed zip/unzip intrinsics (#208245)

This patch implements packed zip/unzip intrinsics with general shuffles.
DeltaFile
+250-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+147-0llvm/test/CodeGen/RISCV/rvp-zip.ll
+49-0clang/lib/Headers/riscv_packed_simd.h
+446-03 files

OPNSense/core 9831f57. AGENTS.md

Update AGENTS.md architecture sections
DeltaFile
+3-2AGENTS.md
+3-21 files

LLVM/project 290f3bcflang/lib/Lower/OpenMP OpenMP.cpp, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Implement collapse for imperfectly nested loops (#202435)

Fixes #199092

Flang previously rejected intervening code between associated loops in a
collapsed nest (e.g. `collapse(2)` with statements between the outer and
inner DO). This patch removes that restriction and implements correct
lowering.

**Semantics:** accept intervening code retroactively for all versions,
except when perfect nesting is still required

OpenMP 5.0 introduced support for collapsing imperfectly nested loops
for worksharing-loop, simd, taskloop, and distribute constructs. OpenMP
5.1 later formalized this under the Canonical Loop Nest (CLN)
definition. This support is applied retroactively for all OpenMP
versions, since the semantics are safe to implement regardless of
version and for compatibility with other compilers.


    [27 lines not shown]
DeltaFile
+648-0flang/test/Lower/OpenMP/collapse-imperfect-nest.f90
+183-4flang/lib/Lower/OpenMP/OpenMP.cpp
+148-0flang/test/Semantics/OpenMP/doacross-nesting-omp60.f90
+122-5flang/test/Semantics/OpenMP/do22.f90
+84-3flang/lib/Semantics/openmp-utils.cpp
+50-0flang/test/Semantics/OpenMP/ordered-nesting-omp50.f90
+1,235-1213 files not shown
+1,349-6219 files

LLVM/project 476c028llvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/AMDGPU/GlobalISel sdiv.i64.ll srem.i64.ll

AMDGPU/GlobalISel: Switch RegBankLegalize lowering to extended LLTs

Stop using LLT::scalar for lowering in AMDGPURegBankLegalizeHelper
Affects integer lowering code for RegBankLLTMappingApplyID and
custom cpp for LoweringMethodID.
DeltaFile
+2,694-1,347llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+2,478-1,239llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+2,422-1,211llvm/test/CodeGen/AMDGPU/llvm.exp2.f64.ll
+2,186-1,321llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
+2,168-1,313llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
+1,874-1,554llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
+13,822-7,985207 files not shown
+39,450-24,889213 files

OPNSense/core 8cb710d. AGENTS.md

Feedback
DeltaFile
+3-5AGENTS.md
+3-51 files

LLVM/project 2130acb.github/workflows test-suite.yml

[GitHub] Post ./utils/compare.py results in /test-suite (#208154)

llvm-test-suite comes with a ./utils/compare.py script which can compare
metrics across different builds. This PR adds support for displaying
these results in the GitHub comment as markdown table.

For now it just shows the difference in code size (the size..text
metric), but in future it can be extended to show the reuslts of any
arbitrary LLVM statistic.

It also posts the link to the result json files themselves in case the
user wants to do some more analysis locally.
DeltaFile
+23-3.github/workflows/test-suite.yml
+23-31 files

OpenBSD/ports 8ChMdDEarchivers/unrar Makefile distinfo

   archivers/unrar: update to 7.23

   Security fixes:
   * heap overflow when reconstructing data from RAR5 recovery volumes
   * a specially crafted RAR archive could create a symbolic link pointing
     outside of the intended destination folder during extraction
VersionDeltaFile
1.104+2-2archivers/unrar/Makefile
1.58+2-2archivers/unrar/distinfo
+4-42 files

LLVM/project b7edea5flang/lib/Semantics check-omp-structure.cpp, flang/test/Lower/OpenMP declare-reduction-operator-host-assoc.f90

[flang][OpenMP] Fix host-associated user-defined operator reduction (#207413)

A DECLARE REDUCTION for a user-defined operator (e.g.
reduction(.myadd.:x)) was rejected with "Invalid reduction operator in
REDUCTION clause" when the operator was host-associated.

CheckReductionOperator looked up the mangled reduction name in the scope
that owns the operator symbol (the scope where the operator interface is
declared) instead of the scope where the reduction clause appears. The
user-defined reduction is stored in the latter (a child scope), so the
lookup in the operator's owning scope could not find it and the clause
was reported as invalid.

Look up the reduction in the scope of the clause via
context_.FindScope(source). FindUserReduction already searches enclosing
scopes, so this both finds a locally declared reduction and continues to
find one that is host- or use-associated. The lowering side already
resolves the reduction in the current scope, so no lowering change is
needed.

This is a follow-up of PR #202474.
DeltaFile
+38-0flang/test/Lower/OpenMP/declare-reduction-operator-host-assoc.f90
+6-1flang/lib/Semantics/check-omp-structure.cpp
+44-12 files

LLVM/project cf61b62llvm/include/llvm/Analysis BranchProbabilityInfo.h, llvm/include/llvm/Support BranchProbability.h

[BranchProbabilityInfo][NFC] Remove some global ctors (#208252)

Make BranchProbability constexpr and replace global std::map with
switches.
DeltaFile
+74-90llvm/lib/Analysis/BranchProbabilityInfo.cpp
+21-7llvm/include/llvm/Support/BranchProbability.h
+0-12llvm/lib/Support/BranchProbability.cpp
+2-3llvm/include/llvm/Analysis/BranchProbabilityInfo.h
+97-1124 files

FreeBSD/src b72397dsys/kern sys_generic.c

kern_filewrite(): unconditionally calculate cnt, it is used by callers

Reported by:    dhw, madpilot
Tested by:      dhw
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Fixes:  dfad790c8cca ("sendfile: stop abusing kern_writev()")
DeltaFile
+1-1sys/kern/sys_generic.c
+1-11 files

NetBSD/pkgsrc AGg5W2Osysutils/qemu-guest-agent Makefile

   make this compile for and work on i386 (actually, i586 and up) 32bit VMs.
VersionDeltaFile
1.11+3-1sysutils/qemu-guest-agent/Makefile
+3-11 files

LLVM/project 16b8129offload/plugins-nextgen/common/include PluginInterface.h RecordReplay.h, offload/plugins-nextgen/common/src RecordReplay.cpp PluginInterface.cpp

[offload] Add the ability to record and replay IR bitcode modules (#207278)

This PR allows the user to use JIT with kernel record & replay by
expanding the latter to also work with IR bitcode images.

- Add a new field to `DeviceImageTy` for storing the IR image.
- Expand `RecordReplayTy::FileTy` to also include IR bitcode and
associate it with the file extension `.bc`
- Add the `--load-bitcode` command line option to
`llvm-omp-kernel-replay` tool.

---------

Co-authored-by: Giorgi Gvalia <gvalia1 at llnl.gov>
DeltaFile
+44-0offload/test/tools/omp-kernel-replay/record-replay-ir-bitcode.cpp
+18-0offload/plugins-nextgen/common/include/PluginInterface.h
+16-2offload/plugins-nextgen/common/src/RecordReplay.cpp
+6-1offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
+4-2offload/plugins-nextgen/common/include/RecordReplay.h
+3-0offload/plugins-nextgen/common/src/PluginInterface.cpp
+91-56 files

OpenZFS/src fc79b95module/os/linux/zfs zfs_vnops_os.c

linux: batch DMU reads of non-resident pages in mappedread()

When a range being read has at least one page in the page cache,
zfs_read() routes the whole chunk through mappedread(), which falls
back to a separate dmu_read_uio_dbuf() call for every non-resident
PAGE_SIZE piece.  Since cached pages outlive munmap(), a file which
was mapped at some point may sit mostly outside the page cache and
still pay this cost: one DMU call per 4K page instead of one per
chunk, measured in #16031 as a 4-10x sequential read slowdown.
Commit 39be46f43 ("Linux 5.18+ compat: Detect filemap_range_has_page")
fixed the detection side so fully uncached chunks bypass mappedread()
again, but a chunk holding even one resident page still degrades to
page-sized DMU reads for everything else.

Instead of issuing one DMU read per absent page, probe the page cache
with find_get_page() and extend the read over the whole run of
non-resident pages which follows, restoring chunk-sized DMU reads for
the uncached parts of a mapped file.


    [30 lines not shown]
DeltaFile
+21-0module/os/linux/zfs/zfs_vnops_os.c
+21-01 files

LLVM/project e6c702cllvm/include/llvm/ADT FunctionExtras.h

fix operator bool() from moved-out object

Created using spr 1.3.8-wip
DeltaFile
+1-0llvm/include/llvm/ADT/FunctionExtras.h
+1-01 files

LLVM/project 9306d9allvm/test/MC/AMDGPU gfx12_asm_vopc.s, llvm/test/MC/Disassembler/AMDGPU gfx12_dasm_vopc.txt gfx12_dasm_vopc-fake16.txt

[AMDGPU][NFC] Templatise and roundtrip gfx12_asm_vopc.s

This is just an amended version of the corresponding gfx11 test.

Eliminates the current largest contributor into the undesired
delta vs the downstream True16 branch across MC tests.
DeltaFile
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+0-6,039llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc.txt
+4,997-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc-fake16.txt
+13,879-13,7693 files

FreeBSD/ports 68f47afx11-servers/xwayland distinfo Makefile

x11-servers/xwayland: update: 24.1.12 -> 24.1.13

PR:             296613
Approved by:    x11 (arrowd, maintainer)
Security:       CVE-2026-55999

Sponsored by:   tipi.work
DeltaFile
+3-3x11-servers/xwayland/distinfo
+1-1x11-servers/xwayland/Makefile
+4-42 files

LLVM/project 1529d35clang/docs ReleaseNotes.md, clang/include/clang/Basic DiagnosticGroups.td

Reland "[Clang] Enable -Wunused-template under -Wall" (#208001)

Reland of #206123, which was reverted in #207848.

What has changed since:

- flang-rt occurrences are fixed in #207979 
- openmp had one more occurrence which is fixed in #207983 
- The remaining -Wunused-template hits anywhere in CI logs are the tsan
Go runtime warnings, which are warnings only (buildgo.sh does not use
-Werror on Linux)

Marked as draft until #207979  and #207983  land.

Closes #202945
DeltaFile
+5-0clang/docs/ReleaseNotes.md
+2-0clang/test/Misc/warning-wall.c
+1-1clang/include/clang/Basic/DiagnosticGroups.td
+1-1clang/test/SemaCXX/warn-func-not-needed.cpp
+1-1clang/test/SemaCXX/warn-variable-not-needed.cpp
+10-35 files

FreeBSD/ports 2f7969dx11-fonts/xlsfonts distinfo Makefile

x11-fonts/xlsfonts: update: 1.0.8 -> 1.0.9

PR:             296612
Approved by:    x11 (arrowd, maintainer)

Sponsored by:   tipi.work
DeltaFile
+3-3x11-fonts/xlsfonts/distinfo
+1-2x11-fonts/xlsfonts/Makefile
+4-52 files

FreeBSD/ports 9994722x11/xlsatoms distinfo Makefile

x11/xlsatoms: update: 1.1.4 -> 1.1.5

PR:             296611
Approved by:    x11 (arrowd, maintainer)

Sponsored by:   tipi.work
DeltaFile
+3-3x11/xlsatoms/distinfo
+1-3x11/xlsatoms/Makefile
+4-62 files

LLVM/project f94233allvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-sdiv.mir legalize-udiv.mir

AMDGPU/GlobalISel: Switch legalizer custom lowering to extended LLTs

Stop using LLT::scalar in custom lowering in AMDGPULegalizerInfo.
The exception is S1 since it seems to work fine.
Does not change legalizer actions. In general this is intended as a
mechanical step in amdgpu's switch to extended LLTs, just try to
avoid LLT::scalar in instructions generated after IRtranslator,
since it seems like a step in the right direction. Some tests remove
-global-isel-abort=2 since GIM_SwitchType no longer fails on
LLT::scalar. Exposes a couple of new failures with 16bit bitcast.
DeltaFile
+7,518-3,753llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+6,870-3,429llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+6,643-3,290llvm/test/CodeGen/AMDGPU/llvm.exp2.f64.ll
+4,890-2,337llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+3,044-3,044llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
+2,912-2,912llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
+31,877-18,765260 files not shown
+89,740-60,889266 files

FreeBSD/ports 2b9d76esecurity/vuxml/vuln 2026.xml

security/vuxml: Document xwayland vulnerabilities
DeltaFile
+29-0security/vuxml/vuln/2026.xml
+29-01 files

LLVM/project bdaeb7cclang/test/Sema attr-target.c

[NFC] Add precommit test for PR 208059 (#208259)

Co-authored-by: Wael Yehia <wyehia at ca.ibm.com>
DeltaFile
+2-0clang/test/Sema/attr-target.c
+2-01 files

OpenBSD/ports 5UV0yzEx11/tellico distinfo Makefile, x11/tellico/pkg PLIST

   Update tellico to 4.2.1
VersionDeltaFile
1.41+2-2x11/tellico/distinfo
1.107+1-1x11/tellico/Makefile
1.40+0-1x11/tellico/pkg/PLIST
+3-43 files

LLVM/project e1d50f8llvm/test/CodeGen/AMDGPU/GlobalISel legalize-llvm.amdgcn.image.sample.a16.ll irtranslator-call.ll

AMDGPU/GlobalISel: Switch CallLowering to extended LLTs

Stop using LLT::scalar for argument lowering in AMDGPUCallLowering.
Mostly straightforward, worth noting that some places now require
a bitcast between integer and float.
DeltaFile
+2,670-1,990llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+927-925llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
+909-723llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.g16.ll
+675-766llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
+488-488llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
+470-469llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
+6,139-5,361144 files not shown
+11,007-11,784150 files

LLVM/project f25f63dflang/test/Driver real-sum-reassociation.f90

Share real sum option checks

Assisted-by: Codex
DeltaFile
+11-13flang/test/Driver/real-sum-reassociation.f90
+11-131 files

LLVM/project a47be19llvm/test/Transforms/LoopVectorize simplify-reverse-reverse.ll

[VPlan] Add more tests for reverse simplification. NFC (#208255)
DeltaFile
+196-0llvm/test/Transforms/LoopVectorize/simplify-reverse-reverse.ll
+196-01 files

FreeBSD/ports cb5a0fcscience/siesta Makefile distinfo, science/siesta/files patch-cmake_SiestaFindPackage.cmake patch-External_Lua-Engine_CMakeLists.txt

science/siesta: update 4.1.5 → 5.4.2
DeltaFile
+41-18science/siesta/Makefile
+55-0science/siesta/files/patch-cmake_SiestaFindPackage.cmake
+23-3science/siesta/distinfo
+24-0science/siesta/files/patch-External_Lua-Engine_CMakeLists.txt
+22-0science/siesta/files/patch-External_Lua-Engine_flook_Makefile
+165-215 files

FreeBSD/ports d937e88science/plumed distinfo Makefile

science/plumed: update 2.10.0 → 2.10.1
DeltaFile
+3-3science/plumed/distinfo
+1-1science/plumed/Makefile
+2-0science/plumed/pkg-plist
+6-43 files

LLVM/project 0a015ccllvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll atomicrmw_usub_sat.ll

[AMDGPU] Replace zext pattern from reg_sequence to cvt_u32_u16 (#208045)

Isel pattern putting imm inside reg_sequence create side effects when
register coalescer join these `copy` from imm
```
%1 = v_mov_b16_t16_e64 ...
%2.hi16 = copy %1
%2.lo16 = ....
...
%3.hi16 = copy %1
%3.lo16 = ....
....
%4.hi16 = copy %1
%4.lo16 = ....
```
to
```
%1 = v_mov_b16_t16_e64 ...
%2.hi16 = copy %1

    [9 lines not shown]
DeltaFile
+155-150llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+124-106llvm/test/CodeGen/AMDGPU/atomicrmw_usub_sat.ll
+88-78llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+88-78llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+88-78llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+88-78llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+631-56846 files not shown
+1,512-1,37652 files