LLVM/project 16dae0f — llvm/include/llvm/Option LibraryOptions.td, llvm/include/llvm/Passes PassBuilder.h

[Passes] Port -print-pipeline-passes to PassesOptions (#230220)

-print-pipeline-passes takes an optional value (=text or =tree). Add
FlagOrEnumField, an EnumField whose bare option assigns a given
enumerator and never consumes the next argument, as cl::ValueOptional
does. BoolField and OptionalBoolField use the same BareValue.

clang, flang, LTO, llc, and opt read the format through
PassBuilder::getPrintPipelinePasses() instead of the exported cl::opt.

Aided by Opus 5.5
DeltaFile
+3-27llvm/lib/Passes/PassBuilder.cpp
+19-10llvm/unittests/Option/LibraryOptionsTest.cpp
+10-17llvm/include/llvm/Passes/PassBuilder.h
+19-2llvm/include/llvm/Option/LibraryOptions.td
+6-2llvm/utils/TableGen/Basic/OptionParserEmitter.cpp
+7-0llvm/lib/Passes/PassesOptions.td
+64-589 files not shown
+82-6815 files

OPNSense/src 86ceb5a — sys/dev/pci pci_pci.c

pcib: Only apply ARI translation to a bridge's own secondary bus

ARI changes RID interpretation only for the device on a downstream
port's secondary bus.  pcib_xlate_ari() applied that translation to
every config access through an ARI-enabled bridge, including cycles
forwarded to a subordinate bus.

A non-zero slot on a subordinate bus then panics an INVARIANTS kernel
and is misrouted otherwise.  Translate only when the access targets
this bridge's secondary bus.

Reviewed by:    kib, jhb
Fixes:          55d3ea1731d1 ("Add support for PCIe ARI")
Sponsored by:   AMD
Differential Revision:  https://reviews.freebsd.org/D60033
(cherry picked from commit 10409ee40baf593b810cd0140f3c2f0d737c1a65)
DeltaFile
+2-1sys/dev/pci/pci_pci.c
+2-11 files

OPNSense/src 06503b4 — sys/opencrypto ktls_ocf.c

ktls CBC decrypt: Avoid creating zero length iovec entries

If an mbuf's length in the chain for an encrypted TLS record exactly
matches the remaining length of header bytes to skip, skip the mbuf
entirely rather than adding a zero-length iovec entry.

Sponsored by:   Chelsio Communications

(cherry picked from commit 1756d1cab3ce28085eec94a45c557e1af265ccd0)
DeltaFile
+1-1sys/opencrypto/ktls_ocf.c
+1-11 files

OPNSense/src 89187fb — sys/net/route fib_algo.c

route/fib_algo: Respect immediate_sync in fd_ref_nhop

Now fd_ref_nhop() returns zero for cross family routes,
Do not schedule nhop references and try to rebuild it immediately
for connected and static routes.

PR:     298733
Fixes:  633438224304 ("route/fib_algo: Fix nexthop index ...")
(cherry picked from commit 3d030136ad1906e6d463673a8d2ef313eb054fb3)
DeltaFile
+4-2sys/net/route/fib_algo.c
+4-21 files

LLVM/project 8c4c52b — llvm/lib/Target/AMDGPU GCNPreRAAntiHints.h GCNPreRAAntiHints.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.mfma.scale.f32.32x32x64.f8f6f4.ll llvm.amdgcn.mfma.anti-hints.gfx942.mir

[AMDGPU] Insert MFMA anti-hints in GCNPreRAOptimizations (#218075)

This PR adds rule-based anti-hints in the GCNPreRAOptimizations phase so
that
the register allocator prefers registers that avoid hazard nops.
Instructions
are classified into different classes and hazard windows are computed
from the
waitstate info. The rules are built to describe the hazardous situations
and
their hazard windows. Added an AntiHintEngine that uses these rules to
insert
anti-hint relations between vregs, which the register allocator later
uses to
prefer allocations that avoid the corresponding hazardous physical
registers.
## Stack
PR **4/4**. Depends on #218074. Next #226397
DeltaFile
+1,232-0llvm/test/CodeGen/AMDGPU/anti-hints-mfma-waw.mir
+559-0llvm/test/CodeGen/AMDGPU/anti-hints-mfma-war.mir
+545-0llvm/lib/Target/AMDGPU/GCNPreRAAntiHints.cpp
+135-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.anti-hints.gfx942.mir
+124-0llvm/lib/Target/AMDGPU/GCNPreRAAntiHints.h
+60-58llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.scale.f32.32x32x64.f8f6f4.ll
+2,655-587 files not shown
+2,735-11813 files

OPNSense/src 60a50f0 — sys/net/route fib_algo.c

route/fib_algo: Fix FIB_ALGO without ROUTE_MPATH option

The ROUTE_MPATH compile option has been removed from CURRENT
branch. Therefore, use the ROUTE_MPATH macro for nhgrp headers.

PR:     299210
Fixes:  891bda143f6b ("route/fib_algo: Fix nexthop index ...")
Differential Revision:  https://reviews.freebsd.org/D59552

(cherry picked from commit 63343822430453f4add20bcbfa134c99132361df)
DeltaFile
+2-1sys/net/route/fib_algo.c
+2-11 files

OPNSense/src 8c18f15 — sys/dev/usb/net usb_ethernet.c, sys/net80211 ieee80211_freebsd.c

SYSCTL(9): Retire SYSCTL_NODE_CHILDREN()

It does not provide value over the pre-existing SYSCTL_STATIC_CHILDREN()
macro, which is widely used in the tree, whereas SYSCTL_NODE_CHILDREN()
is not.

Reviewed by:    markj
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D60009

(cherry picked from commit 4672ad1f16092c146261b4de485ec5eb5e8d127b)
DeltaFile
+0-3sys/sys/sysctl.h
+1-1sys/net80211/ieee80211_freebsd.c
+1-1sys/dev/usb/net/usb_ethernet.c
+2-53 files

LLVM/project 18b3943 — flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/lib/Semantics check-omp-structure.cpp

Reject AFFINITY strides and nested vector subscripts

OpenMP allows a stride expression in an array section only where a clause
explicitly permits one, and AFFINITY does not. Semantics accepted positive
strides and lowering only reported a non-fatal error, so compilation
succeeded or crashed on the bounds. Report a stride in the last part
reference of an AFFINITY locator as a semantic error, including an explicit
unit stride. DEPEND and REDUCTION fall under the same rule but currently
accept strides; tightening them is left to a separate change.

The vector-subscript TODO for AFFINITY only checked the last part
reference, so a(v)%field(1) reached an assertion. Check every part
reference instead.
DeltaFile
+30-3flang/test/Semantics/OpenMP/affinity-invalid.f90
+23-0flang/test/Lower/OpenMP/Todo/affinity-vector-subscript.f90
+10-1flang/lib/Semantics/check-omp-structure.cpp
+1-4flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+64-84 files

OPNSense/src 309914e — sys/dev/vnic thunder_bgx_fdt.c

vnic: Add missing #include

Reported by:    bz, olivier
Fixes:          6dc813301a17 ("sys: Use is_pci_device instead of direct comparisons to devclasses")
Sponsored by:   Chelsio Communications
(cherry picked from commit 8c9dc47b5fcaf58a89b1511118b78a65737b20cc)
DeltaFile
+1-0sys/dev/vnic/thunder_bgx_fdt.c
+1-01 files

LLVM/project 15e2ad9 — llvm/cmake/modules AddLLVM.cmake

[cmake] Limit `/Zc:dllexportInlines-` flag to C/C++ (#227791)

This adjusts the way the `/Zc:dllexportInlines-` flag is passed so it
only takes effect for C and C++ targets built with clang-cl. These
changes are needed to prevent downstream consumers like Swift from
breaking due to being passed the flag.

The effort to build LLVM as a dylib is tracked in #109483.
DeltaFile
+8-7llvm/cmake/modules/AddLLVM.cmake
+8-71 files

LLVM/project 489ca27 — llvm/test/tools/llvm-ar error-opening-permission.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-0llvm/test/tools/llvm-ar/error-opening-permission.test
+1-01 files

LLVM/project e6a2025 — clang-tools-extra/clangd/test/plugins CMakeLists.txt

[clangd] Clear LLVM_LINK_COMPONENTS for test plugin modules (#230359)

clang-tools-extra/clangd/CMakeLists.txt sets directory-scoped
LLVM_LINK_COMPONENTS (including Support), which is inherited by
clang-tools-extra/clangd/test/plugins/CMakeLists.txt.

When building ClangdFeatureModuleExample and
ClangdStandaloneTweakExample (added in #226995), llvm_add_library
statically links libLLVMSupport.a into the plugin shared libraries
unless LLVM_LINK_COMPONENTS is cleared before creating the targets.
Loading these plugins into clangd then triggers an ASan ODR violation on
llvm::vfs::FileSystem::ID because both clangd and the plugin module
contain their own copy of VirtualFileSystem.cpp.o.

Clear LLVM_LINK_COMPONENTS before calling llvm_add_library so the
plugins resolve LLVM symbols from the clangd executable at load time,
and remove the dead post-target LLVM_LINK_COMPONENTS block.

Fixing https://lab.llvm.org/buildbot/#/builders/52/builds/20707

Assisted-by: Gemini
DeltaFile
+2-5clang-tools-extra/clangd/test/plugins/CMakeLists.txt
+2-51 files

LLVM/project 6c218b6 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPReductionUtils.h SLPReductionUtils.cpp

[SLP][modularisation][NFC] Move getReductionInstr/getAggregateSize to SLPReductionUtils

Move the BoUpSLP-independent helpers getReductionInstr and getAggregateSize
out of SLPVectorizer.cpp into the self-contained
SLPVectorizer/SLPReductionUtils.{h,cpp} module.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+0-79llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+77-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPReductionUtils.cpp
+15-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPReductionUtils.h
+92-793 files

LLVM/project da46d2a — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.h SLPUtils.cpp

[SLP][modularisation][NFC] Move isFirstInsertElement/getDebugLocFromPHI to SLPUtils

Move the BoUpSLP-independent helpers isFirstInsertElement and
getDebugLocFromPHI out of SLPVectorizer.cpp into the self-contained
SLPVectorizer/SLPUtils.{h,cpp} module.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+34-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+0-33llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+11-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+45-333 files

LLVM/project af1b1d7 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.h SLPUtils.cpp

[SLP][modularisation][NFC] Move loop trip-count helpers to SLPUtils

Move the BoUpSLP-independent helpers findInnermostNonInvariantLoop and
getLoopTripCount out of SLPVectorizer.cpp into the self-contained
SLPVectorizer/SLPUtils.{h,cpp} module. getLoopTripCount reads the file-local
LoopAwareTripCount cl::opt, which stays static in SLPVectorizer.cpp and is
passed to the moved helper as an explicit parameter. NFC.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+2-33llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+32-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+11-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+45-333 files

HardenedBSD/ports 62a9d8d — security/aws-c-auth pkg-plist Makefile

security/aws-c-auth: Update to 1.0.1

Use PLIST_SUB for the library versions, as in devel/aws-c-common.

ChangeLog: https://github.com/awslabs/aws-c-auth/releases/tag/v1.0.1
DeltaFile
+3-3security/aws-c-auth/distinfo
+4-1security/aws-c-auth/Makefile
+2-2security/aws-c-auth/pkg-plist
+9-63 files

FreeBSD/ports aee25a1 — devel/aws-crt-cpp Makefile distinfo

devel/aws-crt-cpp: Update to 0.43.9

ChangeLog: https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.43.9
DeltaFile
+3-3devel/aws-crt-cpp/distinfo
+2-1devel/aws-crt-cpp/Makefile
+5-42 files

FreeBSD/ports 210aabf — devel/aws-c-s3 Makefile distinfo

devel/aws-c-s3: Update to 1.3.1

ChangeLog: https://github.com/awslabs/aws-c-s3/releases/tag/v1.3.1
DeltaFile
+3-3devel/aws-c-s3/distinfo
+1-1devel/aws-c-s3/Makefile
+4-42 files

HardenedBSD/ports 210aabf — devel/aws-c-s3 Makefile distinfo

devel/aws-c-s3: Update to 1.3.1

ChangeLog: https://github.com/awslabs/aws-c-s3/releases/tag/v1.3.1
DeltaFile
+3-3devel/aws-c-s3/distinfo
+1-1devel/aws-c-s3/Makefile
+4-42 files

FreeBSD/ports 62a9d8d — security/aws-c-auth pkg-plist Makefile

security/aws-c-auth: Update to 1.0.1

Use PLIST_SUB for the library versions, as in devel/aws-c-common.

ChangeLog: https://github.com/awslabs/aws-c-auth/releases/tag/v1.0.1
DeltaFile
+3-3security/aws-c-auth/distinfo
+4-1security/aws-c-auth/Makefile
+2-2security/aws-c-auth/pkg-plist
+9-63 files

HardenedBSD/ports aee25a1 — devel/aws-crt-cpp Makefile distinfo

devel/aws-crt-cpp: Update to 0.43.9

ChangeLog: https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.43.9
DeltaFile
+3-3devel/aws-crt-cpp/distinfo
+2-1devel/aws-crt-cpp/Makefile
+5-42 files

HardenedBSD/ports 3f4f9cc — devel/aws-c-common Makefile distinfo

devel/aws-c-common: Update to 1.0.3

ChangeLog: https://github.com/awslabs/aws-c-common/releases/tag/v1.0.3
DeltaFile
+3-3devel/aws-c-common/distinfo
+1-1devel/aws-c-common/Makefile
+4-42 files

FreeBSD/ports 3f4f9cc — devel/aws-c-common Makefile distinfo

devel/aws-c-common: Update to 1.0.3

ChangeLog: https://github.com/awslabs/aws-c-common/releases/tag/v1.0.3
DeltaFile
+3-3devel/aws-c-common/distinfo
+1-1devel/aws-c-common/Makefile
+4-42 files

FreeBSD/ports 11185dc — devel/aws-c-io Makefile distinfo

devel/aws-c-io: Update to 1.1.0

Use PLIST_SUB for the library versions, as in devel/aws-c-common.

ChangeLog: https://github.com/awslabs/aws-c-io/releases/tag/v1.1.0
DeltaFile
+7-2devel/aws-c-io/pkg-plist
+3-3devel/aws-c-io/distinfo
+4-1devel/aws-c-io/Makefile
+14-63 files

HardenedBSD/ports 11185dc — devel/aws-c-io Makefile distinfo

devel/aws-c-io: Update to 1.1.0

Use PLIST_SUB for the library versions, as in devel/aws-c-common.

ChangeLog: https://github.com/awslabs/aws-c-io/releases/tag/v1.1.0
DeltaFile
+7-2devel/aws-c-io/pkg-plist
+3-3devel/aws-c-io/distinfo
+4-1devel/aws-c-io/Makefile
+14-63 files

OPNSense/core c353e1a — src/opnsense/mvc/app/library/OPNsense/Firewall FilterRule.php

System: Gateways - reverted logic in previous, which should complete https://github.com/opnsense/core/issues/10978
DeltaFile
+1-1src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php
+1-11 files

LLVM/project 134716f — clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen array-to-pointer-decay.cpp

[CIR] Fix array-to-pointer decay (#230276)

Fixes #229654
DeltaFile
+30-0clang/test/CIR/CodeGen/array-to-pointer-decay.cpp
+4-9clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+34-92 files

OpenBSD/ports 6jM9iX8 — games/pokerth Makefile

   redo "legacy" handling; FLAVOR must be set _before_ pulling in bsd.port.arch.mk
VersionDeltaFile
1.66.2.1+2-7games/pokerth/Makefile
+2-71 files

OpenBSD/ports pBJl6Kb — games/pokerth Makefile

   redo "legacy" handling; FLAVOR must be set _before_ pulling in bsd.port.arch.mk
VersionDeltaFile
1.67+2-7games/pokerth/Makefile
+2-71 files

LLVM/project c0a1a2c — llvm/lib/Target/AMDGPU AMDGPULowerIntrinsics.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.wmma.f8f6f4.gfx1250.ll

[AMDGPU] Promote wmma_f32_16x16x128_f8f6f4 to scaled version on gfx1250-strict (#230253)

Added scale factor is 0 which does not change the result. "0" is a
special value that maps to the exponent "1.0" when passed as a constant.
DeltaFile
+37-0llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
+35-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.f8f6f4.gfx1250.ll
+72-02 files