LLVM/project 9b734e2mlir/include/mlir/Dialect/LLVMIR BasicPtxBuilderInterface.td NVVMOps.td, mlir/lib/Dialect/LLVMIR/IR BasicPtxBuilderInterface.cpp

[mlir][NVVM] Add memory clobber support to inline_ptx and BasicPtxBui… (#212937)

PTX with memory side effects (stores, atomics, mbarrier operations with
acquire/release semantics) emitted through `nvvm.inline_ptx` lowers to
`llvm.inline_asm` with register constraints only. Without a `~{memory}`
clobber, LLVM may reorder memory accesses across the inline assembly.
There was no way to express the clobber through this op or the
`BasicPtxBuilderInterface` machinery.

This patch adds, as discussed with @grypp:
- A `hasMemoryClobber` interface method (default `false`) on
`BasicPtxBuilderOpInterface`; when it returns `true`, `PtxBuilder`
appends `~{memory}` to the constraints of the generated inline assembly,
after all register constraints and tied indices.
- An opt-in `memory_clobber` boolean attribute (default `false`) on
`nvvm.inline_ptx` exposing this. Existing behavior is unchanged unless
the attribute is set to `true`.

For example:

    [9 lines not shown]
DeltaFile
+33-0mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir
+20-11mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+14-1mlir/include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td
+7-0mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
+74-124 files

LLVM/project 814c0e6mlir/include/mlir/Dialect/Tosa/IR TosaComplianceData.h.inc, mlir/test/Dialect/Tosa tosa-validation-version-1p1-valid.mlir ops.mlir

[mlir][tosa] Switch matmul_t output to bf16 from fp16 (#212970)

Note that this implements the TOSA specification change:
https://github.com/arm/tosa-specification/pull/67

---------

Signed-off-by: Jeremy Johnson <jeremy.johnson at arm.com>
DeltaFile
+298-217mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+4-4mlir/test/Dialect/Tosa/invalid_extension.mlir
+3-3mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
+3-3mlir/test/Dialect/Tosa/ops.mlir
+308-2274 files

LLVM/project 4fbad31mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM arithmetic-ops-to-llvm.mlir

[mlir][SPIR-V] Add SPIRVToLLVM conversions for FMod and SMod (#206933)
DeltaFile
+75-2mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+54-0mlir/test/Conversion/SPIRVToLLVM/arithmetic-ops-to-llvm.mlir
+129-22 files

LLVM/project 1e7fa4bcompiler-rt/lib/ubsan ubsan_checks.inc ubsan_handlers.cpp, compiler-rt/test/cfi mfcall.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+20-1compiler-rt/lib/ubsan/ubsan_handlers_cxx.cpp
+6-6compiler-rt/test/cfi/cross-dso/target_out_of_bounds.cpp
+10-2compiler-rt/lib/ubsan/ubsan_handlers.cpp
+5-5compiler-rt/test/cfi/mfcall.cpp
+6-1compiler-rt/lib/ubsan/ubsan_checks.inc
+3-3compiler-rt/test/cfi/cross-dso/icall/diag.cpp
+50-1814 files not shown
+71-3920 files

LLVM/project df81098llvm/test/tools/llvm-profgen/X86 first-loadable-address.test, llvm/tools/llvm-profgen ProfiledBinary.cpp

[llvm-profgen] Preserve zero-valued first PT_LOAD address (#212258)

FirstLoadableAddress was initialized with if (!FirstLoadableAddress), so
a valid first PT_LOAD at vaddr 0 was treated as unset and overwritten by
a later segment. Track whether the first loadable segment has been seen
instead.

Assisted by GPT-5
DeltaFile
+59-0llvm/test/tools/llvm-profgen/X86/first-loadable-address.test
+4-1llvm/tools/llvm-profgen/ProfiledBinary.cpp
+63-12 files

LLVM/project 2b4f6c4clang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Add missing mqsad-pk-insts to gfx13 frontend feature map (#213124)

fillAMDGCNFeatureMap omitted mqsad-pk-insts for gfx1310/gfx13-generic,
so clang wrongly rejected __builtin_amdgcn_mqsad_pk_u16_u8 on those 
targets even though the backend enables the feature. Add it to the gfx13 case.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+23-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+14-7llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.pk.u16.u8.ll
+1-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+38-73 files

LLVM/project 5eb876fclang/include/clang/StaticAnalyzer/Core/BugReporter BugReporterVisitors.h, clang/lib/StaticAnalyzer/Checkers VAListChecker.cpp

[analyzer][NFC] Match the parameters order of getEndPath and finalizeVisitor with VisitNode (#212883)

Currently the ordering of the parameters in `getEndPath` and
`finalizeVisitor` functions does not match the declaration of the
`VisitNode` function. This PR resolves it by reordering the parameters
among these functions to be consistent.
DeltaFile
+8-8clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
+7-7clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+5-5clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
+2-2clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
+2-2clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+2-2clang/lib/StaticAnalyzer/Checkers/VAListChecker.cpp
+26-262 files not shown
+29-298 files

FreeBSD/ports 1b41b19databases/mongodb70 Makefile distinfo

databases/mongodb70: 7.0.39

Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-39-is-released/341747?u=r_k

Changelog:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.39---july-22--2026

Security:       a whole list of CVEs in the changelog
DeltaFile
+5-5databases/mongodb70/distinfo
+2-3databases/mongodb70/Makefile
+7-82 files

OPNSense/core b9f0e06src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms dialogFilterRule.xml, src/opnsense/mvc/app/library/OPNsense/Firewall FilterRule.php

Firewall: Rules: Add af-to (address family translation) to filter rules
DeltaFile
+46-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.php
+25-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml
+9-0src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php
+7-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+87-04 files

FreeBSD/ports 5745b5djapanese/font-kochi Makefile

japanese/font-kochi: Update MASTER_SITES and WWW

PR:             239097
Approved by:    hrs (maintainer, timeout 2 weeks)
Approved by:    fluffy (mentor)
Co-authored-by: Miyashita Touka <imagin8r at protonmail.com>
DeltaFile
+3-2japanese/font-kochi/Makefile
+3-21 files

LLVM/project 28896ffclang/test/Analysis dangling-ptr-deref.cpp lifetime-bound.cpp

[analyzer][NFC] Add test cases for the lifetime test suite (#212254)

During the development of the lifetime checkers I had many important
test cases saved locally and were never imported to the test files of
the checkers. This PR adds those missing test cases to the test files.
By adding these test cases it helps tracking the state of the lifetime
checkers and what improvements they need in order to have better
coverage and reduce the false positive rate.

*AI policy*: During the development I have consulted with claude sonnet
5 to list me test case scenarios it thinks are useful and then reviewed
its feedback and implemented/wrote those test cases by myself. Since
some of the test cases are edge cases I wanted to make sure the
implementation is on the right track.
DeltaFile
+99-1clang/test/Analysis/lifetime-bound.cpp
+59-0clang/test/Analysis/dangling-ptr-deref.cpp
+158-12 files

FreeBSD/ports e1c65a9japanese/ebview-gtk2 Makefile, japanese/ebview-gtk2/files patch-src_ebview.c patch-src_preference.c

japanese/ebview-gtk2: Fix crashes immediately after startup

Since japanese/ebview was removed in 2014, remove CONFLICTS.
Switch from REINPLACE_CMD to patchfile.

PR:             297153
Approved by:    fluffy (mentor)
Co-authored-by: mce
DeltaFile
+20-0japanese/ebview-gtk2/files/patch-src_preference.c
+6-9japanese/ebview-gtk2/Makefile
+11-0japanese/ebview-gtk2/files/patch-src_ebview.c
+37-93 files

FreeBSD/ports b419071security/globalprotect-openconnect Makefile

security/globalprotect-openconnect: Mark DEPRECATED

2.0.0, which fixes the vulnerability, was released in February 2024.
The latest release is 2.6.4.

PR:             296823
Approved by:    guru at unixarea.de (maintainer, timeout 2 weeks)
Approved by:    fluffy (mentor)
DeltaFile
+4-1security/globalprotect-openconnect/Makefile
+4-11 files

LLVM/project 18c3710compiler-rt/lib/ubsan ubsan_checks.inc ubsan_handlers.cpp, compiler-rt/test/cfi mfcall.cpp

[ubsan] Report specific CFI checks in UBSan summaries (#203341)

Instead of reporting generic `cfi-bad-type` in UBSan summaries for CFI
failures, report the specific CFI check kind (e.g., `cfi-vcall`,
`cfi-nvcall`, `cfi-icall`, `cfi-mfcall`, `cfi-derived-cast`,
`cfi-unrelated-cast`).

This is done by splitting CFIBadType into specific error types in
ubsan_checks.inc, and updating the handlers to report the appropriate
ErrorType based on the check kind. The suppression flag name for all of
them remains `cfi` to maintain backward compatibility.

Also replaces cfi-bad-type expectations in the existing tests.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+20-1compiler-rt/lib/ubsan/ubsan_handlers_cxx.cpp
+6-6compiler-rt/test/cfi/cross-dso/target_out_of_bounds.cpp
+10-2compiler-rt/lib/ubsan/ubsan_handlers.cpp
+5-5compiler-rt/test/cfi/mfcall.cpp
+6-1compiler-rt/lib/ubsan/ubsan_checks.inc
+3-3compiler-rt/test/cfi/cross-dso/icall/diag.cpp
+50-1814 files not shown
+71-3920 files

LLVM/project 9d10180llvm/lib/CodeGen RegAllocGreedy.cpp, llvm/test/CodeGen/AMDGPU greedy-wwm-copy-prologue-assert.mir

[RegAlloc] Avoid split past block-prologue interference (#209704)

`leaveIntvAtTop` skips the target-specific block prologue when
determining the insertion point.

If the block prologue itself contains an instruction that interferes
with the interval, we must leave the interval before the block,
otherwise we will hit an assertion in `splitLiveThroughBlock`.

---------

Signed-off-by: Lukas Sommer <lukas.sommer at amd.com>
DeltaFile
+105-0llvm/test/CodeGen/AMDGPU/greedy-wwm-copy-prologue-assert.mir
+8-1llvm/lib/CodeGen/RegAllocGreedy.cpp
+113-12 files

LLVM/project 99b3c76llvm/lib/Transforms/Utils ScalarEvolutionExpander.cpp, llvm/test/CodeGen/AMDGPU memset-param-combinations.ll

[Analysis] Optimise mul(const, (udiv %n, const)) during SCEV expansion (#212769)

We sometimes see SCEV expansions like this:

  %lshr = lshr i64 %n, 2
  %shl = shl i64 %lshr, 2

which originate from SCEV mul and udiv expressions:

  mul(4, udiv(%n, 4))

that both share the same multiplicand, divisor. The instcombine pass
normally canonicalises this into

  %and = and %n, -4

which is the final IR typically seen by the backend. In the case of SCEV
expansion during a pass like the loop vectoriser, instcombine does clean
this up. However, before this is cleaned up it will lead to

    [5 lines not shown]
DeltaFile
+46-42llvm/test/CodeGen/AMDGPU/memset-param-combinations.ll
+8-10llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
+16-0llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
+2-4llvm/test/Transforms/LoopVectorize/opaque-ptr.ll
+2-4llvm/test/Transforms/IndVarSimplify/ARM/code-size.ll
+3-3llvm/test/CodeGen/RISCV/branch-on-zero.ll
+77-635 files not shown
+82-7311 files

LLVM/project 21b0fc8clang/lib/AST/ByteCode Interp.cpp

[clang][bytecode][NFC] Remove redundant casts (#213210)
DeltaFile
+2-2clang/lib/AST/ByteCode/Interp.cpp
+2-21 files

LLVM/project a3ae1e0clang/lib/AST/ByteCode Interp.cpp

[clang][bytecode][NFC] Enforce internal linkage (#213208)

For a struct and a function.
DeltaFile
+3-1clang/lib/AST/ByteCode/Interp.cpp
+3-11 files

LLVM/project 2897ee1llvm/docs AMDGPUMemoryModel.md

[AMDGPU][Docs] Memory Model: Refactor location-order to cover reads (#213044)

This shouldn't change anything semantically, only make the spec
(a) closer to the Vulkan spec, which includes reads in their location-ordered
    relation: https://docs.vulkan.org/spec/latest/appendices/memorymodel.html#memory-model-location-ordered
(b) more uniform: this way, the may-see constraints are the same as the vanilla
    LLVM constraints, only with all occurrences of "happens-before" replaced by
    "location-ordered before".
DeltaFile
+7-3llvm/docs/AMDGPUMemoryModel.md
+7-31 files

LLVM/project 1f1fcdcllvm/docs LangRef.md LangRef.rst, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

repase now that #206434 is merged

Created using spr 1.3.7
DeltaFile
+45,574-45,285llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+24,053-23,916llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+0-33,109llvm/docs/LangRef.rst
+15,740-14,892llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+30,482-0llvm/docs/LangRef.md
+23,904-12llvm/test/CodeGen/RISCV/clmul.ll
+139,753-117,21423,221 files not shown
+1,384,297-824,41723,227 files

LLVM/project fb51709llvm/docs LangRef.md LangRef.rst, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+45,574-45,285llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+24,053-23,916llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+0-33,109llvm/docs/LangRef.rst
+15,740-14,892llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+30,482-0llvm/docs/LangRef.md
+23,904-12llvm/test/CodeGen/RISCV/clmul.ll
+139,753-117,21423,221 files not shown
+1,384,297-824,41723,227 files

FreeBSD/ports 4a787cdcad/OrcaSlicer/files patch-src_libslic3r_GCode.hpp

cad/OrcaSlicer: Fix 32-bit build

LayerResult's second field is typed size_t, so std::numeric_limits::max
should also use size_t and not something related to coordinates for the
layer_id.

Reported by:    pkg-fallout
Approved by:    arrowd (co-mentor)

(cherry picked from commit b403418f4721af9ec4b2158539536e19ee564150)
DeltaFile
+11-0cad/OrcaSlicer/files/patch-src_libslic3r_GCode.hpp
+11-01 files

LLVM/project 1e1225eclang/docs ReleaseNotes.md, clang/include/clang/Sema Sema.h

[Sema][Serialization] Emit unused local typedefs in a deterministic order (#209639)

Sema::UnusedLocalTypedefNameCandidates is populated while iterating a Scope's
DeclsInScope, which is a SmallPtrSet whose iteration order depends on pointer
values and is therefore not stable across runs. The candidates are serialized
into the AST file -- both to assign declaration IDs and to write the
UNUSED_LOCAL_TYPEDEF_NAME_CANDIDATES record -- and are also used to emit the
deferred -Wunused-local-typedef warnings, so neither the emitted PCH/AST file
nor the diagnostics were reproducible. With deterministic compilation caching
this surfaces as a "cache poisoned" error, because two builds of the same PCH
produce different bytes.

Sort the candidates by source location at the point they are consumed, via
Sema::getSortedUnusedLocalTypedefNameCandidates(), so that both the diagnostics
and the serialized declarations are deterministic.
DeltaFile
+212-0clang/test/SemaCXX/warn-unused-local-typedef-deterministic-order.cpp
+115-0clang/test/PCH/unused-local-typedef-determinism.cpp
+16-1clang/lib/Sema/Sema.cpp
+10-4clang/lib/Serialization/ASTWriter.cpp
+6-1clang/include/clang/Sema/Sema.h
+3-0clang/docs/ReleaseNotes.md
+362-66 files not shown
+368-1212 files

LLVM/project 5eb4272flang/lib/Optimizer/CodeGen CodeGen.cpp, flang/test/Fir convert-to-llvm-invalid.fir convert-to-llvm.fir

[flang][CodeGen] Replace fir.select* FIR-to-LLVM patterns with stubs that emit conversion errors (#212978)

`fir.select`, `fir.select_case`, `fir.select_rank`, and
`fir.select_type` are lowered to cf.* earlier in the pipeline
(`--fir-select-ops-conversion` and `--fir-polymorphic-op`). Their
FIR-to-LLVM conversion patterns are dead in a correct pipeline. Replace
them with a single templated stub
`SelectShouldHaveBeenConvertedStub<OP>` that emits `"'fir.<op>' op
should have already been converted"` and fails legalization, so running
`--fir-to-llvm-ir` standalone on stale IR reports a clear diagnostic
instead of "unable to legalize".

`Fir/convert-to-llvm.fir`'s six select* test blocks are removed (the
lowering no longer runs; CF-level coverage lives in
`Fir/SelectOpsConversion/`). `Fir/convert-to-llvm-invalid.fir` gains a
stub-error test per op. `Fir/Todo/select_case_with_character.fir` is
retargeted to check the equivalent diagnostic now emitted by
`--fir-select-ops-conversion`.


    [6 lines not shown]
DeltaFile
+0-311flang/test/Fir/convert-to-llvm.fir
+19-266flang/lib/Optimizer/CodeGen/CodeGen.cpp
+41-4flang/test/Fir/convert-to-llvm-invalid.fir
+1-1flang/test/Fir/Todo/select_case_with_character.fir
+61-5824 files

FreeNAS/freenas 130ec07src/middlewared/middlewared/plugins replication.py zettarepl.py, tests/api2 test_replication.py

Allow running disabled replication tasks

(cherry picked from commit 4ab455e78b755250d05c5a7547acad9f76b98c1a)
DeltaFile
+8-4tests/api2/test_replication.py
+4-4src/middlewared/middlewared/plugins/zettarepl.py
+0-3src/middlewared/middlewared/plugins/replication.py
+12-113 files

LLVM/project bcf2031compiler-rt/test/cfi target_uninstrumented.cpp simple-fail.cpp, compiler-rt/test/cfi/cross-dso target_out_of_bounds.cpp

[ubsan] Test CFI summaries globally (#206434)

Always enable report_error_type=1 and print_summary=1 for CFI tests, and
update existing tests to check for cfi-bad-type. This allows us to
verify summary output comprehensively across the test suite.

This is a prerequisite for the change to the UBSan summary for CFI in
https://github.com/llvm/llvm-project/pull/203341.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+6-2compiler-rt/test/cfi/lit.cfg.py
+6-0compiler-rt/test/cfi/cross-dso/target_out_of_bounds.cpp
+5-0compiler-rt/test/cfi/mfcall.cpp
+3-0compiler-rt/test/cfi/cross-dso/icall/diag.cpp
+2-0compiler-rt/test/cfi/target_uninstrumented.cpp
+2-0compiler-rt/test/cfi/simple-fail.cpp
+24-212 files not shown
+41-218 files

LLVM/project f9fcc19clang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Add missing mqsad-pk-insts to gfx13 frontend feature map

fillAMDGCNFeatureMap omitted mqsad-pk-insts for gfx1310/gfx13-generic, so
clang wrongly rejected __builtin_amdgcn_mqsad_pk_u16_u8 on those targets
even though the backend enables the feature. Add it to the gfx13 case.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+23-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+14-7llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.pk.u16.u8.ll
+1-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+38-73 files

OpenBSD/ports Kimc8algraphics/sane-airscan Makefile distinfo

   Update to sane-airscan-0.99.38.
VersionDeltaFile
1.9+2-2graphics/sane-airscan/distinfo
1.12+1-1graphics/sane-airscan/Makefile
+3-32 files

OpenBSD/ports at8pBVHproductivity/libphonenumber Makefile distinfo

   Update to libphonenumber-9.0.36.
VersionDeltaFile
1.93+2-2productivity/libphonenumber/distinfo
1.104+1-1productivity/libphonenumber/Makefile
+3-32 files

FreeBSD/ports 9e32648textproc/diff-so-fancy Makefile distinfo

textproc/diff-so-fancy: Update 1.4.10 => 1.4.12

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3textproc/diff-so-fancy/distinfo
+1-1textproc/diff-so-fancy/Makefile
+4-42 files