LLVM/project dd145ebopenmp CMakeLists.txt

[openmp][flang] To add a cmake option to build OPENMP Fortran modules only without building the libomp lib (#195576)

PR #192687 Introduces a dependency to the Fortran intrinsic module when
building `openmp` Fortran modules, which requires a Flang enabled llvm
build in order to build `openmp` Fortran modules.

This PR is to add a cmake option `LIBOMP_FORTRAN_MODULES_ONLY` to allow
users to build 'openmp` Fortran modules only for Flang without building
the libomp runtime library.
This will allow libomp.a/so build still be independent from the Flang
build as before.

E.g. To build `openmp` Fortran modules only for Flang, one would need to
use the following options.
```
cmake \
...
  -DLIBOMP_FORTRAN_MODULES_ONLY=ON \
  -DLLVM_ENABLE_PROJECTS="flang" \
  -DLLVM_ENABLE_RUNTIMES="openmp" \
  ...
DeltaFile
+9-1openmp/CMakeLists.txt
+9-11 files

FreeBSD/ports 8c4d649www/apache24 Makefile Makefile.options

www/apache24: Add GDBM option

This adds a GDBM option which defaults to on and makes the libgdm
dependency conditional on that option.

Clean up removed TLS module

PR:              291447
Differential Revision:  https://reviews.freebsd.org/D56843
MFH:            2026Q2

(cherry picked from commit 0527e6e893b978cc44b770424df0cd53f392e799)
DeltaFile
+7-5www/apache24/Makefile
+3-1www/apache24/Makefile.options
+0-2www/apache24/Makefile.options.desc
+10-83 files

LLVM/project 7062413llvm/lib/Target/Hexagon HexagonISelLoweringHVX.cpp, llvm/test/CodeGen/Hexagon/autohvx masked-vmem-multi.ll

[Hexagon] Correctly split masked loads/stores after widening (#190689)

Non-power of 2 masked loads and stores are first widened to a power of 2
size. If the original vector was larger than the single HVX register
size, they become multiples of the double HVX register size (e.g.
v64f32, v128f32). Since double vector types are legal but do not support
masked operations, they are split during custom lowering.

MemoryVT is not changed during widening and the original code assumed
that MemoryVT is the same as the operand type and always equal to the
double HVX register size.

For example, @llvm.masked.store.v80f32.p0 is first widened to v128f32,
then split into two v64f32 (MemoryVT = v64f32 and v16f32). The first
half was lowered correctly but the second one could not be split due to
the unexpected v16f32 MemoryVT.
DeltaFile
+64-34llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
+69-0llvm/test/CodeGen/Hexagon/autohvx/masked-vmem-multi.ll
+133-342 files

FreeBSD/ports 0527e6ewww/apache24 Makefile Makefile.options

www/apache24: Add GDBM option

This adds a GDBM option which defaults to on and makes the libgdm
dependency conditional on that option.

Clean up removed TLS module

PR:              291447
Differential Revision:  https://reviews.freebsd.org/D56843
MFH:            2026Q2
DeltaFile
+7-5www/apache24/Makefile
+3-1www/apache24/Makefile.options
+0-2www/apache24/Makefile.options.desc
+10-83 files

LLVM/project 47a1497llvm/include/llvm/FileCheck FileCheck.h, llvm/lib/FileCheck FileCheck.cpp FileCheckImpl.h

[FileCheck][NFC] Complete FileCheckDiag class hierarchy (#195571)

This patch depends on PR #195569 and finishes its effort to decouple the
`-dump-input` presentation layer (in
`llvm/utils/FileCheck/FileCheck.cpp`) and the FileCheck library's
diagnostic emission (in `llvm/lib/FileCheck/FileCheck.cpp`).

The focus of this patch is finally eliminating `enum MatchType` and
completing the `FileCheckDiag` class hierarchy. That enables the
following improvements.

Replace MatchTy and InputRange
==============================

`-dump-input` needs some means to determine (1) whether some notes
should be filtered in by `-dump-input-filter=error`, and (2) where to
place some notes in the input dump. Without this patch series, the
FileCheck library provides that information by copying the following
from a match result to any note that does not have its own versions: (1)

    [46 lines not shown]
DeltaFile
+225-75llvm/include/llvm/FileCheck/FileCheck.h
+93-69llvm/utils/FileCheck/FileCheck.cpp
+41-41llvm/lib/FileCheck/FileCheck.cpp
+14-13llvm/unittests/FileCheck/FileCheckTest.cpp
+1-3llvm/lib/FileCheck/FileCheckImpl.h
+374-2015 files

LLVM/project ef2b062lldb/packages/Python/lldbsuite/test lldbarm64e.py, lldb/test/API/commands/expression/ptrauth TestPtrAuthExpressions.py

[lldb] Centralize arm64e testing logic (#195961)

`build_arm64e` was defined in several test files and most of the
implementations needed to be adjusted for correctness. Instead of fixing
them individually, I introduce an "Arm64eBaseTest" class and override
its `build` method. The base class is decorated so that these tests will
be skipped if arm64e is unsupported.
DeltaFile
+7-17lldb/test/API/commands/expression/ptrauth-objc/TestPtrAuthObjectiveC.py
+6-15lldb/test/API/commands/expression/ptrauth/TestPtrAuthExpressions.py
+5-12lldb/test/API/commands/expression/ptrauth-vtable/TestPtrAuthVTableExpressions.py
+4-10lldb/test/API/commands/expression/ptrauth-auth-traps/TestPtrAuthAuthTraps.py
+3-9lldb/test/API/lang/c/ptrauth/TestPtrAuth.py
+11-0lldb/packages/Python/lldbsuite/test/lldbarm64e.py
+36-636 files

LLVM/project f612505llvm/lib/Transforms/Scalar NaryReassociate.cpp, llvm/test/Transforms/NaryReassociate/AMDGPU nary-add-uniform.ll

review: address suggestions
DeltaFile
+18-19llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+4-2llvm/test/Transforms/NaryReassociate/AMDGPU/nary-add-uniform.ll
+22-212 files

FreeNAS/freenas 55330d4tests/sharing_protocols/nfs test_nfs_dacl_readdir.py

Fix
DeltaFile
+3-2tests/sharing_protocols/nfs/test_nfs_dacl_readdir.py
+3-21 files

LLVM/project b92afabopenmp/device/src Reduction.cpp

remove namespace
DeltaFile
+0-4openmp/device/src/Reduction.cpp
+0-41 files

FreeBSD/ports 309dee4misc/ollama distinfo Makefile

misc/ollama: update 0.23.0 → 0.23.1
DeltaFile
+11-11misc/ollama/distinfo
+6-6misc/ollama/Makefile
+17-172 files

LLVM/project b7c4499llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.cluster.load.async.to.lds.ll

AMDGPU/GlobalISel: RegBankLegalize rules for cluster_load_async_to_lds (#195956)
DeltaFile
+23-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cluster.load.async.to.lds.ll
+6-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+29-12 files

LLVM/project a7b6c02offload/test/offloading multiple_reductions.cpp

[OpenMP][offload] Add enhanced cross-team reduction test (#195940)

Tests different patterns of OpenMP cross-team reductions, for multiple
data types.
If run with `LIBOMPTARGET_INFO=16`, shows current register spilling due
to dispatch jump chains (which grow for every reduction in the same
translation unit) for indirect function calls in the reduction runtime.
DeltaFile
+129-0offload/test/offloading/multiple_reductions.cpp
+129-01 files

LLVM/project 7f4a5e3llvm/unittests/Target/AMDGPU GCNRegPressureTest.cpp AMDGPUUnitTests.cpp

[AMDGPU] Pre-commit unit test for RP tracking reset/advance behavior

This adds a new AMDGPU unit test file for testing the behavior of
`GCNRPTracker` and its related classes. The two test showcase confusing
return value and behavioral semantics for variants of the advance and
reset functions, which will be clarified in a follow up commit.

This also moves some common test helpers from other AMDGPU unit tests to
the `AMDGPUUnitTests` TU to avoid repetition between unit tests.
DeltaFile
+195-0llvm/unittests/Target/AMDGPU/GCNRegPressureTest.cpp
+35-9llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.cpp
+1-29llvm/unittests/Target/AMDGPU/LiveRegUnits.cpp
+7-1llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.h
+1-0llvm/unittests/Target/AMDGPU/CMakeLists.txt
+239-395 files

LLVM/project 368f64bllvm/utils/gn/secondary/clang/unittests/CIR BUILD.gn

[gn build] Port 9527c104472e (#196091)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/CIR/BUILD.gn
+1-01 files

OPNSense/core daf8621src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms dialogConnection.xml, src/opnsense/mvc/app/views/OPNsense/IPsec connections.volt

ipsec: restyle the connections page

Introduce the base apply button to the page and improve
UX and UI:

1. Local/remote now show ID
2. Tabbed dialog with cancel button and better save/cancel
   placement
3. Better grid spacing in tabbed dialog
4. Apply now closes the tabbed dialog, but save does not
5. Avoid grid flapping in tabbed dialog

Co-authored-by: Stephan de Wit <stephan.de.wit at deciso.com>
Discussed-with: @Monviech
DeltaFile
+147-154src/opnsense/mvc/app/views/OPNsense/IPsec/connections.volt
+9-0src/opnsense/mvc/app/controllers/OPNsense/IPsec/forms/dialogConnection.xml
+156-1542 files

LLVM/project c25e60eclang/unittests/CIR ControlFlowTest.cpp, flang/test/Analysis/AliasAnalysis alias-analysis-absent.fir

Merge branch 'filecheck-diag-result-vs-note' into filecheck-diag-class-hierarchy
DeltaFile
+458-0clang/unittests/CIR/ControlFlowTest.cpp
+442-0llvm/docs/AMDGPU/DeveloperGuideline.rst
+60-0flang/test/Analysis/AliasAnalysis/alias-analysis-absent.fir
+60-0mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
+58-0mlir/test/Dialect/Tosa/canonicalize.mlir
+30-0llvm/unittests/Target/SPIRV/SPIRVGlobalRegistryTests.cpp
+1,108-011 files not shown
+1,148-2617 files

LLVM/project 05fc6f5clang/unittests/CIR ControlFlowTest.cpp, flang/test/Analysis/AliasAnalysis alias-analysis-absent.fir

Merge branch 'main' into filecheck-diag-result-vs-note
DeltaFile
+458-0clang/unittests/CIR/ControlFlowTest.cpp
+442-0llvm/docs/AMDGPU/DeveloperGuideline.rst
+60-0flang/test/Analysis/AliasAnalysis/alias-analysis-absent.fir
+60-0mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
+58-0mlir/test/Dialect/Tosa/canonicalize.mlir
+30-0llvm/unittests/Target/SPIRV/SPIRVGlobalRegistryTests.cpp
+1,108-011 files not shown
+1,148-2617 files

LLVM/project 3a85bd7clang/docs ReleaseNotes.rst, clang/lib/StaticAnalyzer/Checkers VAListChecker.cpp

[analyzer] Fix security.VAList false positives with C23 va_start (#192024)

The `security.VAList` checker only recognized `__builtin_va_start` when
matching `va_start` calls.
In C23, `va_start` was changed to expand to `__builtin_c23_va_start`
instead, causing the checker to never see the initialization. This
resulted in false positives for every use of `va_arg`, `va_end`,
`va_copy`, and functions like `vsnprintf` on any `va_list` initialized
with the C23 `va_start`.

Add a CallDescription for `__builtin_c23_va_start` and match it
alongside the existing `__builtin_va_start`.

---------

Signed-off-by: Björn Svensson <bjorn.a.svensson at est.tech>
DeltaFile
+27-0clang/test/Analysis/valist-uninitialized.c
+12-6clang/lib/StaticAnalyzer/Checkers/VAListChecker.cpp
+18-0clang/test/Analysis/Inputs/system-header-simulator-for-valist-c23.h
+6-0clang/docs/ReleaseNotes.rst
+6-0clang/test/Analysis/valist-unterminated.c
+69-65 files

LLVM/project 29180d1clang/test/Driver hip-spirv-linker-crash.c

[review] Improve test.
DeltaFile
+6-11clang/test/Driver/hip-spirv-linker-crash.c
+6-111 files

FreeNAS/freenas 3df6db1src/middlewared/middlewared/plugins/failover_ event.py, src/middlewared/middlewared/plugins/iscsi_ lio.py alua.py

Add middleware support for LIO ALUA HA

Wire up the middleware side of LIO ALUA high-availability: load
lio_ha.ko with per-node addresses on service start, manage ALUA
state across failover events, clean up STANDBY configfs on pool
export, and add pre-flight validation that targets have static
initiator ACLs before ALUA can be enabled.

For each target, create a portal-less phantom TPG carrying the peer
node's controller group so that a single RTPG response from any
connected port lists both ALUA groups.  Write tpgt_N/rtpi explicitly
before enable so that relative target port IDs in RTPG match the
tag formula (portal.tag on Node A, portal.tag + 32000 on Node B)
rather than being auto-assigned sequentially by the kernel.

ALUA group states are driven by role and ha_state:

  MASTER  + synced        local=OPTIMIZED     remote=NONOPTIMIZED
  MASTER  + connected     local=OPTIMIZED     remote=TRANSITIONING

    [4 lines not shown]
DeltaFile
+480-128src/middlewared/middlewared/utils/lio/config.py
+179-1src/middlewared/middlewared/plugins/iscsi_/lio.py
+62-9src/middlewared/middlewared/plugins/iscsi_/alua.py
+33-21src/middlewared/middlewared/plugins/failover_/event.py
+34-19src/middlewared/middlewared/plugins/iscsi_/iscsi_global.py
+38-0src/middlewared/middlewared/utils/iscsi/constants.py
+826-1784 files not shown
+883-17910 files

OpenBSD/src 7L2cYZGlib/libssl d1_both.c dtls_local.h

   Get rid of struct dtls1_retransmit_state.

   In order to retransmit DTLS messages we potentially need to use the
   record protection from a previous epoch. However, DTLS currently also
   saves and restores the session, which is unnecessary - all of the
   record protection and keys are handled in the TLS record layer.

   Remove the rather useless dtls1_retransmit_state struct and just
   keep the epoch - keeping pointers hanging around to sessions is pretty
   nasty and unnecessary.

   ok kenjiro@ tb@
VersionDeltaFile
1.93+8-19lib/libssl/d1_both.c
1.4+2-7lib/libssl/dtls_local.h
+10-262 files

LLVM/project 6bcc877clang/lib/ScalableStaticAnalysisFramework/Analyses/CallGraph CallGraphExtractor.cpp, clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

[clang][ssaf] Rework addEntity to take NamedDecl (#194448)

This patch changes `addEntity` to take a `NamedDecl` to be able to
calculate the linkage for the entity.
It will try to get an `EntityName` and then try to get a Linkage for it.

Bundling the EntityName creation and then setting the linkage makes this
API safer as nobody can forget to set the linkage this way.

Assisted-By: claude
DeltaFile
+87-17clang/unittests/ScalableStaticAnalysisFramework/TUSummaryBuilderTest.cpp
+46-37clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+58-0clang/lib/ScalableStaticAnalysisFramework/Core/TUSummary/TUSummaryExtractor.cpp
+13-18clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+14-16clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+7-10clang/lib/ScalableStaticAnalysisFramework/Analyses/CallGraph/CallGraphExtractor.cpp
+225-9810 files not shown
+270-13016 files

LLVM/project e5dc9adllvm/include/llvm/FileCheck FileCheck.h, llvm/lib/FileCheck FileCheck.cpp

[FileCheck][NFC] Introduce MatchResultDiag and MatchNoteDiag (#195569)

This patch depends on PR #195568 and continues its effort to decouple
the `-dump-input` presentation layer (in
`llvm/utils/FileCheck/FileCheck.cpp`) and the FileCheck library's
diagnostic emission (in `llvm/lib/FileCheck/FileCheck.cpp`).

Similar to compiler errors/warnings/remarks vs. notes, the
`FileCheckDiag` series emitted by the FileCheck library contains match
results, each of which might be followed by a series of associated notes
before the next match result. Without this patch series, that
association is not formally modeled by `FileCheckDiag` or clearly
documented, and `-dump-input` is not able to easily reason about it.

This patch improves the situation by introducing two `FileCheckDiag`
derived classes: `MatchResultDiag` and `MatchNoteDiag`. It extends
`FileCheckDiagList` to directly associate each `MatchNoteDiag` with its
`MatchResultDiag`. Thus:
- `FileCheckDiagList::adjustPrevDiags` no longer has to determine that

    [8 lines not shown]
DeltaFile
+117-32llvm/include/llvm/FileCheck/FileCheck.h
+60-41llvm/utils/FileCheck/FileCheck.cpp
+18-30llvm/lib/FileCheck/FileCheck.cpp
+22-10llvm/unittests/FileCheck/FileCheckTest.cpp
+217-1134 files

OpenBSD/src 1jXOor1lib/libssl tls_key_share.c

   Avoid use of uninitialised decode_error variable.

   Pull initialisation of decode_error and invalid_key up to
   tls_key_share_{client,server}_peer_public(), which are the entry points
   for the key share code. The entry point was previously
   tls_key_share_peer_public(), however with the introduction of MLKEM this
   was split into separate client and server functions, without the
   initialisation being included. Also initialise decode_error and
   invalid_params on entry to tls_key_share_peer_params().

   Code that reaches tls_key_share_client_peer_public_mlkem768x25519() could
   previously result in code branching based on decode_error, which is
   uninitialised stack based memory.

   Thanks to Guido Vranken of Aisle Research for reporting this issue.

   With and ok tb@
VersionDeltaFile
1.11+14-10lib/libssl/tls_key_share.c
+14-101 files

OPNSense/core 1d404f9src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt nat_rule.volt, src/opnsense/mvc/app/views/OPNsense/Unbound acl.volt dot.volt

ui: apply message unification progress #10230

Co-authored-by: Stephan de Wit <stephan.de.wit at deciso.com>
DeltaFile
+16-9src/opnsense/www/js/opnsense_bootgrid.js
+1-6src/opnsense/mvc/app/views/OPNsense/Unbound/acl.volt
+5-1src/opnsense/www/js/opnsense_ui.js
+3-2src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+3-1src/opnsense/mvc/app/views/OPNsense/Unbound/dot.volt
+2-2src/opnsense/mvc/app/views/OPNsense/Firewall/nat_rule.volt
+30-213 files not shown
+33-259 files

LLVM/project a480439clang/test/Driver hip-spirv-linker-crash.c

[review] improve checks.
DeltaFile
+4-0clang/test/Driver/hip-spirv-linker-crash.c
+4-01 files

OpenBSD/ports pmSwnRpmail/sendmail distinfo Makefile, mail/sendmail/pkg PLIST-main

   Update to sendmail-8.19.0.1.
VersionDeltaFile
1.38+2-2mail/sendmail/distinfo
1.68+1-1mail/sendmail/Makefile
1.18+0-1mail/sendmail/pkg/PLIST-main
+3-43 files

OpenBSD/ports jqA1nnjprint/cups distinfo Makefile

   Update to cups-2.4.19.
VersionDeltaFile
1.74+2-2print/cups/distinfo
1.303+1-1print/cups/Makefile
+3-32 files

OPNSense/core 9fb87d5src/opnsense/mvc/app/views/OPNsense/Unbound stats.volt dot.volt

unbound: statistics page flexbox and other minor style things
DeltaFile
+46-35src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt
+2-2src/opnsense/mvc/app/views/OPNsense/Unbound/dot.volt
+3-1src/opnsense/mvc/app/views/OPNsense/Unbound/dnsbl.volt
+2-1src/opnsense/mvc/app/views/OPNsense/Unbound/overrides.volt
+2-1src/opnsense/mvc/app/views/OPNsense/Unbound/general.volt
+2-1src/opnsense/mvc/app/views/OPNsense/Unbound/advanced.volt
+57-411 files not shown
+59-427 files

LLVM/project caee04cllvm/lib/Target/SPIRV SPIRVUtils.h SPIRVTargetObjectFile.h

[NFC][SPIR-V] Remove unused helpers (#195804)
DeltaFile
+0-9llvm/lib/Target/SPIRV/SPIRVUtils.h
+0-3llvm/lib/Target/SPIRV/SPIRVTargetObjectFile.h
+0-122 files