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

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

FreeBSD/ports 3a45cbdnet-mgmt/librenms Makefile, net-mgmt/librenms/files librenms.in

net-mgmt/librenms: start service in WWWDIR

The latest release uses relative paths for some includes
Our default path is /
That craps out the code like this:

Error Failed opening required 'includes/discovery/sensors/cisco-entity-sensor.inc.php'

re: https://github.com/librenms/librenms/issues/18794

PR:             https://github.com/librenms/librenms/issues/18794
DeltaFile
+16-16net-mgmt/librenms/Makefile
+2-0net-mgmt/librenms/files/librenms.in
+18-162 files

LLVM/project b931e9cllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Address comments
DeltaFile
+5-5llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-51 files

LLVM/project 8e00be6llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Update for inferFastMathValueFlagsBinOp removal
DeltaFile
+1-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+1-11 files

LLVM/project f3a8554llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fma.ll

InstCombine: Implement SimplifyDemandedFPClass for fma

This can't do much filtering on the sources, except for nans.
We can also attempt to introduce ninf/nnan.
DeltaFile
+65-14llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+16-31llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+81-452 files

LLVM/project ffe0e46llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fma.ll

InstCombine: Add baseline fma tests for SimplifyDemandedFPClass
DeltaFile
+316-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+316-01 files

LLVM/project ef48383llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

Can't prove -0 for fma
DeltaFile
+24-24llvm/test/Transforms/Attributor/nofpclass-fma.ll
+21-6llvm/lib/Support/KnownFPClass.cpp
+45-302 files

LLVM/project f980e41llvm/lib/Analysis ValueTracking.cpp, llvm/lib/Support KnownFPClass.cpp

ValueTracking: Improve nan tracking for fma square special case

In the square multiply case, we can infer if the add of opposite
sign infinities can occur.
DeltaFile
+11-1llvm/lib/Support/KnownFPClass.cpp
+4-0llvm/lib/Analysis/ValueTracking.cpp
+2-2llvm/test/Transforms/Attributor/nofpclass-fma.ll
+17-33 files

LLVM/project 2f3996bllvm/lib/Analysis ValueTracking.cpp

Fix regression
DeltaFile
+1-5llvm/lib/Analysis/ValueTracking.cpp
+1-51 files

LLVM/project 675078ellvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Improve handling for fma/fmuladd

The handling for fma was very basic and only handled the
repeated input case. Re-use the fmul and fadd handling for more
accurate sign bit and nan handling.
DeltaFile
+40-40llvm/test/Transforms/Attributor/nofpclass-fma.ll
+34-12llvm/lib/Analysis/ValueTracking.cpp
+13-0llvm/lib/Support/KnownFPClass.cpp
+11-0llvm/include/llvm/Support/KnownFPClass.h
+98-524 files