LLVM/project ef4f874clang/lib/StaticAnalyzer/Core BugSuppression.cpp, clang/test/Analysis/clang-suppress friends.cpp

[analyzer] Fix [[clang::suppress]] for friend function templates with namespace-scope forward-declarations (#187043)

When a friend function template is defined inline inside a
[[clang::suppress]]-annotated class but was forward-declared at
namespace scope, the instantiation's lexical DeclContext was the
namespace (from the forward-declaration), not the class.
The lexical parent chain walk in BugSuppression::isSuppressed therefore
never reached the class and suppression did not apply.

Fix by extending preferTemplateDefinitionForTemplateSpecializations to
handle FunctionDecl instances: calling getTemplateInstantiationPattern()
that maps the instantiation back to the primary template FunctionDecl,
whose lexical DC is the class where the friend was defined inline.

So the existing parent-chain walk then finds the suppression attribute.

Assisted-By: claude
DeltaFile
+18-1clang/lib/StaticAnalyzer/Core/BugSuppression.cpp
+4-8clang/test/Analysis/clang-suppress/friends.cpp
+22-92 files

LLVM/project da92bc0mlir/include/mlir/Dialect/OpenACC/Transforms Passes.td, mlir/lib/Dialect/OpenACC/Transforms ACCBindRoutine.cpp CMakeLists.txt

[mlir][acc] Support call target handling for bind(name) (#187390)

The OpenACC `routine` directive may specify a `bind(name)` clause to
associate the routine with a different symbol for device code. This pass
`ACCBindRoutine` finds calls inside offload regions that target such
routines and rewrites the callee to the bound symbol.

---------

Co-authored-by: Delaram Talaashrafi <dtalaashrafi at nvidia.com>
DeltaFile
+152-0mlir/lib/Dialect/OpenACC/Transforms/ACCBindRoutine.cpp
+91-0mlir/test/Dialect/OpenACC/acc-bind-routine.mlir
+11-0mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+1-0mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
+255-04 files

OPNSense/core faf1562src/etc/inc/plugins.inc.d kea.inc

kea: another one
DeltaFile
+3-7src/etc/inc/plugins.inc.d/kea.inc
+3-71 files

FreeBSD/ports e5e62a8lang/gcc16-devel distinfo Makefile

lang/gcc16-devel: Update to 16.0.1.s20260315
DeltaFile
+3-3lang/gcc16-devel/distinfo
+1-1lang/gcc16-devel/Makefile
+4-42 files

FreeBSD/ports fcca964lang/gcc15-devel distinfo Makefile

lang/gcc15-devel: Update to 15.2.1.s20260314
DeltaFile
+3-3lang/gcc15-devel/distinfo
+1-1lang/gcc15-devel/Makefile
+4-42 files

FreeBSD/ports 6320bf0lang/gcc14-devel distinfo Makefile

lang/gcc14-devel: Update to 14.3.1.s20260313
DeltaFile
+3-3lang/gcc14-devel/distinfo
+1-1lang/gcc14-devel/Makefile
+4-42 files

LLVM/project 401e000llvm/lib/Target/AArch64/GISel AArch64RegisterBankInfo.cpp, llvm/test/CodeGen/AArch64 arm64-int-neon.ll

[AArch64][GlobalISel] Remove fallback for scalar usqadd/suqadd intrinsics

Previously, GlobalISel was failing to select these intrinsics when given scalar operands, as RegBankSelect would place these on GPR banks. Fixing this enables GlobalISel to lower correctly, as in Instruction Selection the intrinsic matches the SIMD patterns.
DeltaFile
+1-5llvm/test/CodeGen/AArch64/arm64-int-neon.ll
+2-0llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+3-52 files

FreeBSD/ports bf569aalang/gcc13-devel distinfo Makefile

lang/gcc13-devel: Update to 13.4.1.s20260312
DeltaFile
+3-3lang/gcc13-devel/distinfo
+1-1lang/gcc13-devel/Makefile
+4-42 files

OPNSense/core ef7aea0src/etc/inc/plugins.inc.d kea.inc

kea: style
DeltaFile
+6-4src/etc/inc/plugins.inc.d/kea.inc
+6-41 files

OPNSense/core 1f8eeddsrc/opnsense/mvc/app/views/OPNsense/Kea dhcpv4.volt

kea: indent and whitespace
DeltaFile
+4-6src/opnsense/mvc/app/views/OPNsense/Kea/dhcpv4.volt
+4-61 files

LLVM/project 7a72913llvm/test/CodeGen/AMDGPU fptosi-sat-vector.ll fptoui-sat-vector.ll, llvm/test/CodeGen/X86 bit-manip-i512.ll i128-udiv.ll

Merge branch 'main' into users/kasuga-fj/da-exact-siv-add-nsw-check
DeltaFile
+2,986-1llvm/test/CodeGen/X86/bit-manip-i512.ll
+2,859-7llvm/test/CodeGen/X86/i128-udiv.ll
+1,554-0llvm/test/CodeGen/X86/bit-manip-i128.ll
+1,492-0llvm/test/CodeGen/X86/bit-manip-i256.ll
+1,189-280llvm/test/CodeGen/AMDGPU/fptosi-sat-vector.ll
+1,060-248llvm/test/CodeGen/AMDGPU/fptoui-sat-vector.ll
+11,140-5361,084 files not shown
+46,844-20,3501,090 files

OPNSense/core 31f9b9esrc/opnsense/mvc/app/models/OPNsense/Firewall Alias.php

Firewall: Aliases: Add target to getAliasSource() (#9985)

(cherry picked from commit 8b1a5839554295b00163dc0358f0c4d994674cf6)
DeltaFile
+1-0src/opnsense/mvc/app/models/OPNsense/Firewall/Alias.php
+1-01 files

OPNSense/core 1ea4e40src/opnsense/mvc/app/library/OPNsense/Firewall DNatRule.php

Firewall: NAT: One-to-One NAT: add missing log statement (#9986)

(cherry picked from commit e4cd70506d05c42da66aa0ee2a2cab976d3ee8cb)
DeltaFile
+1-0src/opnsense/mvc/app/library/OPNsense/Firewall/DNatRule.php
+1-01 files

OPNSense/core 95504d4src/opnsense/mvc/app/models/OPNsense/Firewall DNat.xml

firewall: destination NAT register rule as last option

(cherry picked from commit ec4a343250691151d2c13574ebfdc6c3b67a5a90)
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Firewall/DNat.xml
+1-11 files

OPNSense/core 3ef5796src/opnsense/mvc/app/models/OPNsense/Kea/FieldTypes KeaOptionDataField.php

Some minor cleanups to reduce some single use variables
DeltaFile
+6-12src/opnsense/mvc/app/models/OPNsense/Kea/FieldTypes/KeaOptionDataField.php
+6-121 files

LLVM/project 44e306eclang/lib/Driver/ToolChains Clang.cpp Cuda.cpp, clang/test/Driver openmp-offload-gpu.c amdgpu-toolchain.c

[Clang] Correctly link and handle PGO options on the GPU (#185761)

Summary:
Currently, the GPU targets ignore the standard profiling arguments. This
PR changes the behavior to use the standard handling, which links the in
the now-present `libclang_rt.profile.a` if the user built with the
compiler-rt support enabled. If it is not present this is a linker error
and we can always suppress with `-Xarch_host` and `-Xarch_device`.
Hopefully this doesn't cause some people pain if they're used to doing
`-fprofile-generate` on a CPU unguarded since it was a stange mix of a
no-op and not a no-op on the GPU until now.
DeltaFile
+18-0clang/test/Driver/openmp-offload-gpu.c
+15-1clang/lib/Driver/ToolChains/Clang.cpp
+6-0clang/test/Driver/amdgpu-toolchain.c
+6-0clang/test/Driver/cuda-cross-compiling.c
+2-0clang/lib/Driver/ToolChains/Cuda.cpp
+2-0clang/lib/Driver/ToolChains/AMDGPU.cpp
+49-12 files not shown
+49-18 files

LLVM/project b227fabllvm/include/llvm/Transforms/Vectorize LoopVectorizationLegality.h, llvm/lib/Transforms/Vectorize VPlan.h LoopVectorize.cpp

[NFC][LV] Introduce enums for uncountable exit detail and style (#184808)

Recursively splitting out some work from #183318; this covers
the enums for early exit loop type (none, readonly, readwrite)
and the style used (just readonly and
masked-handle-ee-in-scalar-tail for now) and refactoring for
basic use of those enums.
DeltaFile
+21-8llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
+16-0llvm/lib/Transforms/Vectorize/VPlan.h
+13-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+9-5llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+5-6llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+5-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+69-223 files not shown
+80-289 files

OPNSense/core 6bbed7fsrc/opnsense/scripts/syslog generate_certs.php

system: style fix in syslog cert script

(cherry picked from commit a7e186453a9887ad1e0041b672c003407017e2eb)
DeltaFile
+1-1src/opnsense/scripts/syslog/generate_certs.php
+1-11 files

LLVM/project bed9fa2libc/include/llvm-libc-types struct_semid_ds.h, libc/include/sys sem.yaml

[libc][sys/sem] Add sys v sem headers and syscall wrapper implementation (#185914)

Fix #182161
Based on the last PR #182700 implementing sys/ipc.
DeltaFile
+171-0libc/test/integration/src/sys/sem/sem_test.cpp
+101-0libc/src/sys/sem/linux/semctl.cpp
+84-0libc/include/sys/sem.yaml
+72-0libc/test/src/sys/sem/linux/sem_test.cpp
+46-0libc/src/sys/sem/linux/CMakeLists.txt
+33-0libc/include/llvm-libc-types/struct_semid_ds.h
+507-031 files not shown
+993-037 files

OPNSense/core ce1c30fsrc/opnsense/www/js/widgets Firewall.js, src/opnsense/www/js/widgets/Metadata Core.xml

dashboard: firewall: add semantic groups coloring option (#9907)

* firewall.js should keep coloring after reload, use sematic groups block = red

* fixes for review, hash simplification, color palette, action matching

* action is string, include interface, add default color

* Use color schema for chart colors, vary by shades

* fix blocks

* make color schema configurable for widet, defaults to contrast uses Classic10

* changed from select_multi to select, contrast mode matches the old behavior

* use options.colorscheme, fix color cycling bug

* Update src/opnsense/www/js/widgets/Firewall.js

    [15 lines not shown]
DeltaFile
+82-12src/opnsense/www/js/widgets/Firewall.js
+3-0src/opnsense/www/js/widgets/Metadata/Core.xml
+85-122 files

OPNSense/core 3da1ebesrc/opnsense/mvc/app/controllers/OPNsense/Unbound/forms dnsbl.xml, src/opnsense/mvc/app/views/OPNsense/Interface overview.volt

bootgrid: introduce 'expand' formatter to cap lists of data

(cherry picked from commit 06c79f28747c7a180bfcbbde78e467512f3a1ec5)
DeltaFile
+2-51src/opnsense/mvc/app/views/OPNsense/Interface/overview.volt
+47-0src/opnsense/www/js/opnsense_bootgrid.js
+9-0src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms/dnsbl.xml
+2-1src/opnsense/mvc/app/views/layouts/default.volt
+60-524 files

OPNSense/core 0ab8873src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms dnsbl.xml, src/opnsense/mvc/app/views/OPNsense/Unbound dnsbl.volt

bootgrid: use expand formatter for blocklist URLs and dnsbl types as well (https://github.com/opnsense/core/issues/9796)

While here, the fetched value should use the formatter value first,
falling back to the actual cell value if it isn't there.

(cherry picked from commit 59ad7be9d2d2e20678a8cec644831f971d79a9c7)
DeltaFile
+0-8src/opnsense/mvc/app/views/OPNsense/Unbound/dnsbl.volt
+5-2src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms/dnsbl.xml
+3-1src/opnsense/www/js/opnsense_bootgrid.js
+8-113 files

OPNSense/core 88b6442src/opnsense/www/js opnsense_bootgrid.js

bootgrid: require selection to be enabled for delete-selected

Logically, multiSelect should be enabled here as well, but leave this
out for now as it may be too wide.

(cherry picked from commit 3069c256806065fc18e4492b0319878d872cd34d)
DeltaFile
+3-0src/opnsense/www/js/opnsense_bootgrid.js
+3-01 files

OPNSense/core fd5d552src/opnsense/mvc/app/views/OPNsense/Interface overview.volt, src/opnsense/www/js opnsense_bootgrid.js

interfaces: overview: clean up UI code and fix CARP badge alignment

(cherry picked from commit 8405980833a2b4f856c4ef6931d38123391f2b71)
(cherry picked from commit 75e600a13805f85a1112f8935ffac3f098c2233a)
DeltaFile
+130-133src/opnsense/mvc/app/views/OPNsense/Interface/overview.volt
+5-4src/opnsense/www/js/opnsense_bootgrid.js
+135-1372 files

LLVM/project 0e72624offload CMakeLists.txt, offload/cmake OpenMPTesting.cmake

[offload] - Remove standalone build in favor of 'runtimes' (#170693)

Summary:
Follow up on removal of OPENMP_STANDALONE_BUILD in openmp (#149878).
This
build method is redundant and can be accomplished via runtimes.

Removes support for:
`cmake -S <llvm-project>/offload ...`

 Switches over to:
`make -S <llvm-project>/runtimes -DLLVM_ENABLE_RUNTIMES=openmp;offload
...`

Libomptarget has a dependency on libomp.so and requires the omp cmake
target to exist at build time, which is why both runtimes are listed.

Updates cmake compiler logic in offload/CMakeLists.txt to mirror openmp
changes:

    [5 lines not shown]
DeltaFile
+42-140offload/CMakeLists.txt
+40-134offload/cmake/OpenMPTesting.cmake
+10-26offload/cmake/Modules/LibomptargetGetDependencies.cmake
+3-5offload/libomptarget/CMakeLists.txt
+1-1offload/test/CMakeLists.txt
+96-3065 files

LLVM/project 5109201llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize epilog-vectorization-reductions.ll

Revert "[LV] Simplify and unify resume value handling for epilogue vec. (#185…"

This reverts commit 013f2542a2b7a88a53dbc50f329cd90f054f7784.
DeltaFile
+196-62llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+4-102llvm/test/Transforms/LoopVectorize/AArch64/epilog-vectorization-widen-inductions.ll
+4-95llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
+14-14llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
+14-14llvm/test/Transforms/LoopVectorize/AArch64/intrinsiccost.ll
+8-6llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-cost.ll
+240-29328 files not shown
+330-36234 files

LLVM/project a7443c0clang/test/OpenMP target_teams_distribute_parallel_for_simd_schedule_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp, libc/AOR_v20.02/math/test/traces sincosf.txt exp.txt

Rebase

Created using spr 1.3.7
DeltaFile
+0-31,999libc/AOR_v20.02/math/test/traces/sincosf.txt
+0-16,000libc/AOR_v20.02/math/test/traces/exp.txt
+5,294-4,814clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+5,238-4,758clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+4,350-4,098clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
+4,004-3,524clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
+18,886-65,1935,966 files not shown
+359,070-284,9345,972 files

NetBSD/src eldgfIKsys/arch/mac68k/conf files.mac68k, sys/arch/mac68k/include vectors.h

   Use the common m68k vec_init() routine.
VersionDeltaFile
1.1+48-0sys/arch/mac68k/include/vectors.h
1.198+3-34sys/arch/mac68k/mac68k/locore.s
1.137+2-1sys/arch/mac68k/conf/files.mac68k
+53-353 files

LLVM/project e8556ffllvm/test/Transforms/LoopVectorize/AArch64 maxbandwidth-regpressure.ll

[NFC] Remove fractional part of costs in maxbandwidth-regpressure.ll (#187498)

This test is failing on the llvm-clang-x-aarch64 buildbot due to what
looks like a difference in rounding behaviour when printing estimated
cost per lane. Solve this by removing the fractional part, which is what
we've done in the past when this has happened (e.g. commit aeb88f677).
DeltaFile
+17-17llvm/test/Transforms/LoopVectorize/AArch64/maxbandwidth-regpressure.ll
+17-171 files

NetBSD/src BiidLcjsys/arch/m68k/m68k vectors.c

   Some platforms need to declare the vector table in a particular way
   for their own reasons.  mac68k falls into this category; it needs
   be at address $0000.0000 and immediately preceed the Mac ROM variable
   storage area.

   Provide a hook for this to allow such platforms to use the shared
   vector table initialization and manipulation routines.
VersionDeltaFile
1.7+16-4sys/arch/m68k/m68k/vectors.c
+16-41 files