LLVM/project 0acc79dmlir/include/mlir/Dialect/XeGPU/IR XeGPUOps.td XeGPUTypes.td

[mlir][xegpu] Allow index type in ConvertLayoutOp (#175671)

Allow index type in ConvertLayoutOp
DeltaFile
+12-12mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+5-3mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
+17-152 files

LLVM/project 5599d83llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fptrunc in SimplifyDemandedFPClass

Also handle llvm.fptrunc.round since it's the same.
DeltaFile
+15-30llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
+15-28llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
+41-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+14-0llvm/lib/Support/KnownFPClass.cpp
+1-9llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+89-676 files

LLVM/project 05135bcllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-minimumnum.ll simplify-demanded-fpclass-maximumnum.ll

InstCombine: Handle multiple uses for min/max in SimplifyDemandedFPClass
DeltaFile
+127-91llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+4-4llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+4-4llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+4-4llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+4-4llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+143-1075 files

LLVM/project 196433ellvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-minimum.ll simplify-demanded-fpclass-minimumnum.ll

InstCombine: Improve SimplifyDemandedFPClass min/max handling (#175382)

Refine handling of minimum/maximum and minimumnum/maximumnum. The
previous folds to input were based on sign bit checks. This was too
conservative with 0s. This can now consider -0 as less than or equal
to +0 as appropriate, account for nsz. It additionally can handle
cases like one half is known positive normal and the other subnormal.
DeltaFile
+32-61llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+23-58llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+22-52llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+23-46llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+22-44llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+122-2615 files

LLVM/project 82372b2llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

InstCombine: Infer fast math flags for sqrt
DeltaFile
+60-5llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+35-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+95-92 files

LLVM/project 403b88dllvm/lib/Support Error.cpp

[NFC][LLVM][Support] Namespace cleanup in Error.cpp (#175838)

- Fix indentation of code within anonymous namespace.
- Make `getErrorErrorCat` static.
- Use namespace qualifier to define standalone functions in `llvm` namespace.
DeltaFile
+35-42llvm/lib/Support/Error.cpp
+35-421 files

LLVM/project 96ceb80llvm/unittests/Target/AArch64 AArch64SelectionDAGTest.cpp

Improve SelectionDAG::ComputeNumSignBits test coverage for ISD::ABDS (#175321)

fixes #175160
DeltaFile
+51-0llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
+51-01 files

LLVM/project 074740dmlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp XeGPUUnroll.cpp

[MLIR][XeGPU] bug fix: removing temporary slice layout at the pass end (#172589)

Removing temporary slice layout (besides the regular layout) at the end
of wg distribution and blocking pass.
The PR also drop sg_data/inst_data from anchor layouts in every
wg-to-sg/blocking/unrolling pattern.

---------

Signed-off-by: Dmitry Chigarev <dmitry.chigarev at intel.com>
Co-authored-by: Dmitry Chigarev <dmitry.chigarev at intel.com>
DeltaFile
+36-0mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+8-15mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+9-6mlir/lib/Dialect/XeGPU/Transforms/XeGPUUnroll.cpp
+9-0mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+3-3mlir/test/Dialect/XeGPU/xegpu-blocking.mlir
+2-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUBlocking.cpp
+67-261 files not shown
+69-287 files

LLVM/project ad6d76cllvm/lib/Target/AMDGPU SIRegisterInfo.td, llvm/test/CodeGen/AMDGPU fmamk_fmaak-t16.mir

[AMDGPU] Make VGPR_16_Lo128 allocatable

Allows allocation of V_FMAMK_F16/V_FMAAK_F16 registers in
real true16 mode.
DeltaFile
+12-7llvm/test/CodeGen/AMDGPU/fmamk_fmaak-t16.mir
+1-1llvm/lib/Target/AMDGPU/SIRegisterInfo.td
+13-82 files

LLVM/project 4e84513llvm/test/CodeGen/AMDGPU fmamk_fmaak-t16.mir

[AMDGPU] Add test for v_fmamk_f16/v_fmaak_f16 in real-true16. NFC (#173307)

This is to display a bug in real true16 mode that we do not have
an allocatable 16-bit VGPR class and these instructions do not
have VOP3 forms for allocatable VGPR_16 to be used. To use these
instructions 'VGPR_16_Lo128' must be allocable.
DeltaFile
+31-0llvm/test/CodeGen/AMDGPU/fmamk_fmaak-t16.mir
+31-01 files

LLVM/project 62a9aadllvm/lib/Target/AMDGPU AMDGPUUniformIntrinsicCombine.cpp, llvm/test/CodeGen/AMDGPU amdgpu-uniform-intrinsic-combine.ll

[AMDGPU] Add optimization for llvm.amdgcn.wave.shuffle in uniform cases (#174795)

When the llvm.amdgcn.wave.shuffle intrinsic is called with a uniform
Index operand, it is effectively the same as the llvm.amdgcn.readlane
intrinsic. This change handles this situation and replaces it with the
readlane intrinsic

---------

Signed-off-by: Domenic Nutile <domenic.nutile at gmail.com>
DeltaFile
+119-0llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine.ll
+22-0llvm/lib/Target/AMDGPU/AMDGPUUniformIntrinsicCombine.cpp
+141-02 files

FreeBSD/ports 4691e36net/wifi-firmware-kmod Makefile.inc

net/wifi-firmware-kmod: enable riscv64 for wireless firmware

In [1] we got a report that iwlwifi(4) works on riscv64, so
start enabling firmware distribution for that architecture.

Given we no longer build anything (no more .ko files) this
should not be a problem.

[1] https://mail-archive.freebsd.org/cgi/getmsg.cgi?fetch=5947+0+archive/2026/freebsd-wireless/20260112.freebsd-wireless

Sponsored by:   The FreeBSD Foundation
Reviewed by:    jrm
Differential Revision: https://reviews.freebsd.org/D54689
DeltaFile
+1-1net/wifi-firmware-kmod/Makefile.inc
+1-11 files

LLVM/project 6d8f876clang/include/clang/Basic OpenCLExtensions.def, clang/lib/Headers opencl-c.h opencl-c-base.h

Revert "[OpenCL] Set KHR extensions minimum version to OpenCL 1.0" (#175993)

Reverts llvm/llvm-project#175120

llvm-project/amd/device-libs/opencl/src/image/imwrap.cl:461:1: error: no
matching function for call to 'get_image_height'
  461 | GD2GEN(_2Dad)
      | ^~~~~~~~~~~~~
 
llvm-project/amd/device-libs/opencl/src/image/imwrap.cl:460:1: error: no
matching function for call to 'get_image_width'
  460 | GD2GEN(_2Dd)
      | ^~~~~~~~~~~~
      
"Depth images are required with other image support for OpenCL 2.0."
DeltaFile
+85-134clang/lib/Headers/opencl-c.h
+13-177clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
+51-101clang/test/Headers/opencl-c-header.cl
+20-20clang/test/SemaOpenCL/extension-version.cl
+21-19clang/include/clang/Basic/OpenCLExtensions.def
+0-7clang/lib/Headers/opencl-c-base.h
+190-4582 files not shown
+193-4618 files

LLVM/project b59a3dfllvm/test/Transforms/LoopVectorize vplan-printing-reductions.ll

[VPlan] Add printing test for UMax reduction (NFC).

Currently compute-reduction-result prints (icmp) instead of the correct
min/max kind.
DeltaFile
+52-0llvm/test/Transforms/LoopVectorize/vplan-printing-reductions.ll
+52-01 files

OpenBSD/src QpJaxkBlib/libcrypto/stack stack.c

   stack.c: avoid arithmetic on pointers to void

   In stack.c r1.34 I converted one 'char *' too many to 'void *', thereby
   relying on a gcc/clang extension which interprets the fictional void
   type as a type of size 1 (that's what the stack code wants, fortunately).
   As pointed out in the link below, -Wpointer-arith would have caught this:
   https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html

   MSVC flags this as follows:

   D:\a\portable\portable\crypto\stack\stack.c(211,23): error C2036: 'const void *': unknown size [D:\a\portable\portable\build\crypto\crypto_obj.vcxproj].

   Pull in workaround from the portable repo which undoes the char * -> void *
   conversion.

   ok jsing millert
VersionDeltaFile
1.35+2-2lib/libcrypto/stack/stack.c
+2-21 files

FreeBSD/ports f1ff9a7devel/llvm17/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm17: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm17/work-default/llvm-project-17.0.6.src/llvm/tools/sancov/sancov.cpp
    /wrkdirs/usr/ports/devel/llvm17/work-default/llvm-project-17.0.6.src/llvm/tools/sancov/sancov.cpp:521:42: error: chosen constructor is explicit in copy-initialization
      521 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

In this case, `ClIgnoreList` is an instance of `cl::opt`, not a
`std::string` as expected. Use `getValue()` to get the actual
`std::string` value.

    [6 lines not shown]
DeltaFile
+11-0devel/llvm17/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 5d4b111devel/llvm16/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm16: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm16/work-default/llvm-project-16.0.6.src/llvm/tools/sancov/sancov.cpp:521:42: error: chosen constructor is explicit in copy-initialization
      521 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

In this case, `ClIgnorelist` is an instance of `cl::opt`, not a
`std::string` as expected. Use `getValue()` to get the actual
`std::string` value.


    [5 lines not shown]
DeltaFile
+11-0devel/llvm16/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 7a0510adevel/llvm15/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm15: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm15/work-default/llvm-project-15.0.7.src/llvm/tools/sancov/sancov.cpp:532:44: error: chosen constructor is explicit in copy-initialization
      532 |       return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                            ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^
    /wrkdirs/usr/ports/devel/llvm15/work-default/llvm-project-15.0.7.src/llvm/tools/sancov/sancov.cpp:535:42: error: chosen constructor is explicit in copy-initialization
      535 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {

    [14 lines not shown]
DeltaFile
+15-0devel/llvm15/files/patch-llvm_tools_sancov_sancov.cpp
+15-01 files

FreeBSD/ports 1896983devel/llvm14/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm14: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/tools/sancov/sancov.cpp:14:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h:19:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Object/ELFObjectFile.h:37:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Support/ScopedPrinter.h:19:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Support/JSON.h:49:
    /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/ADT/DenseMap.h:129:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      129 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^

    [13 lines not shown]
DeltaFile
+11-0devel/llvm14/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 9e9915adevel/llvm13/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm13: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/tools/sancov/sancov.cpp:16:
    In file included from /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/include/llvm/MC/MCContext.h:12:
    /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/include/llvm/ADT/DenseMap.h:128:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      128 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

    [10 lines not shown]
DeltaFile
+11-0devel/llvm13/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 1719f56devel/llvm12/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm12: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/tools/sancov/sancov.cpp:16:
    In file included from /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/include/llvm/MC/MCContext.h:12:
    /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/include/llvm/ADT/DenseMap.h:128:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      128 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

    [10 lines not shown]
DeltaFile
+11-0devel/llvm12/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

LLVM/project f417676llvm/test/CodeGen/AMDGPU llvm.amdgcn.raw.atomic.buffer.load.ll llvm.amdgcn.raw.ptr.atomic.buffer.load.ll, llvm/test/CodeGen/AMDGPU/GlobalISel icmp.ll fcmp.ll

[AMDGPU] Add regbankselect rules for G_ICMP/G_FCMP (#172048)

- Legalize G_ICMP for S16, S32, S64, Ptr32 and Ptr64 operands.
- Legalize G_FCMP for S16, S32 and S64 operands.
DeltaFile
+1,516-0llvm/test/CodeGen/AMDGPU/GlobalISel/icmp.ll
+1,241-0llvm/test/CodeGen/AMDGPU/GlobalISel/fcmp.ll
+312-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.atomic.buffer.load.ll
+312-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.atomic.buffer.load.ll
+63-24llvm/test/CodeGen/AMDGPU/GlobalISel/addo.ll
+63-24llvm/test/CodeGen/AMDGPU/GlobalISel/subo.ll
+3,507-482 files not shown
+3,594-958 files

FreeBSD/ports a200165devel/llvm14/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm14: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/tools/sancov/sancov.cpp:14:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h:19:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Object/ELFObjectFile.h:37:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Support/ScopedPrinter.h:19:
    In file included from /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Support/JSON.h:49:
    /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/ADT/DenseMap.h:129:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      129 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^

    [11 lines not shown]
DeltaFile
+11-0devel/llvm14/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports e77e39ddevel/llvm15/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm15: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm15/work-default/llvm-project-15.0.7.src/llvm/tools/sancov/sancov.cpp:532:44: error: chosen constructor is explicit in copy-initialization
      532 |       return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                            ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^
    /wrkdirs/usr/ports/devel/llvm15/work-default/llvm-project-15.0.7.src/llvm/tools/sancov/sancov.cpp:535:42: error: chosen constructor is explicit in copy-initialization
      535 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {

    [12 lines not shown]
DeltaFile
+15-0devel/llvm15/files/patch-llvm_tools_sancov_sancov.cpp
+15-01 files

FreeBSD/ports 39d6b5adevel/llvm17/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm17: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm17/work-default/llvm-project-17.0.6.src/llvm/tools/sancov/sancov.cpp
    /wrkdirs/usr/ports/devel/llvm17/work-default/llvm-project-17.0.6.src/llvm/tools/sancov/sancov.cpp:521:42: error: chosen constructor is explicit in copy-initialization
      521 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

In this case, `ClIgnoreList` is an instance of `cl::opt`, not a
`std::string` as expected. Use `getValue()` to get the actual
`std::string` value.

    [4 lines not shown]
DeltaFile
+11-0devel/llvm17/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 347be1adevel/llvm16/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm16: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    /wrkdirs/usr/ports/devel/llvm16/work-default/llvm-project-16.0.6.src/llvm/tools/sancov/sancov.cpp:521:42: error: chosen constructor is explicit in copy-initialization
      521 |     return SpecialCaseList::createOrDie({{ClIgnorelist}},
          |                                          ^~~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

In this case, `ClIgnorelist` is an instance of `cl::opt`, not a
`std::string` as expected. Use `getValue()` to get the actual
`std::string` value.


    [3 lines not shown]
DeltaFile
+11-0devel/llvm16/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports d309713devel/llvm13/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm13: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/tools/sancov/sancov.cpp:16:
    In file included from /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/include/llvm/MC/MCContext.h:12:
    /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/include/llvm/ADT/DenseMap.h:128:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      128 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

    [8 lines not shown]
DeltaFile
+11-0devel/llvm13/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports 525f740devel/llvm12/files patch-llvm_tools_sancov_sancov.cpp

devel/llvm12: fix build with clang 21

Recent versions of clang complain about explicit copy constructors,
leading to errors similar to:

    In file included from /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/tools/sancov/sancov.cpp:16:
    In file included from /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/include/llvm/MC/MCContext.h:12:
    /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/include/llvm/ADT/DenseMap.h:128:16: warning: variable 'NumEntries' set but not used [-Wunused-but-set-variable]
      128 |       unsigned NumEntries = getNumEntries();
          |                ^
    /wrkdirs/usr/ports/devel/llvm12/work/llvm-project-12.0.1.src/llvm/tools/sancov/sancov.cpp:512:42: error: chosen constructor is explicit in copy-initialization
      512 |     return SpecialCaseList::createOrDie({{ClBlacklist}},
          |                                          ^~~~~~~~~~~~~
    /usr/include/c++/v1/string:1153:64: note: explicit constructor declared here
     1153 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t) {
          |                                                                ^
    /usr/include/c++/v1/__vector/vector.h:276:91: note: passing argument to parameter '__il' here
      276 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI vector(initializer_list<value_type> __il) {
          |                                                                                           ^

    [8 lines not shown]
DeltaFile
+11-0devel/llvm12/files/patch-llvm_tools_sancov_sancov.cpp
+11-01 files

FreeBSD/ports b8de182security/snowflake-tor Makefile distinfo, security/snowflake-tor/files patch-go.sum patch-go.mod

security/snowflake-tor: Fix build port

While here make small optimizations.

PR:             291387
Tested by:      leres
Approved by:    egypcio (maintainer, timeout)
NFH:            2026Q1
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>

(cherry picked from commit e6588e0017e2c180100429cb834afa6f3af57bd6)
DeltaFile
+0-352security/snowflake-tor/files/patch-go.sum
+0-147security/snowflake-tor/files/patch-go.mod
+12-36security/snowflake-tor/Makefile
+1-19security/snowflake-tor/distinfo
+13-5544 files

FreeBSD/ports e6588e0security/snowflake-tor Makefile distinfo, security/snowflake-tor/files patch-go.sum patch-go.mod

security/snowflake-tor: Fix build port

While here make small optimizations.

PR:             291387
Tested by:      leres
Approved by:    egypcio (maintainer, timeout)
NFH:            2026Q1
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+0-352security/snowflake-tor/files/patch-go.sum
+0-147security/snowflake-tor/files/patch-go.mod
+12-36security/snowflake-tor/Makefile
+1-19security/snowflake-tor/distinfo
+13-5544 files