LLVM/project 35ceec6libc/config config.json, libc/src/__support CMakeLists.txt

[libc] Finetune libc.src.__support.OSUtil.osutil dependency. (#189501)

Several key targets unconditionally depend on `OSUtil.osutil` target,
causing errors when it is unnecessarily linked, or not available. This
PR fine-tuning the dependency on `OSUtil.osutil` to cleanly decouple
those targets, and gracefully skip targets that need `osutil`. Main
changes include:

* Make `LIBC_COPT_USE_C_ASSERT` to a cmake config, allowing
`LIBC_ASSERT` to use system's `assert` and not depending on `osutil`.
* Adjust cmake dependency for the following targets:
  - libc.src.__support.libc_assert
  - libc.src.__support.time.*
  - libc.src.time.linux.*
  - libc.src.unistd.*
  - LibcTest
* Give an option for `TestLogger` to use system's `fprintf` instead of
`osutil`.
DeltaFile
+17-9libc/src/__support/CMakeLists.txt
+19-5libc/test/UnitTest/CMakeLists.txt
+21-2libc/test/UnitTest/TestLogger.cpp
+6-0libc/config/config.json
+6-0libc/src/time/linux/CMakeLists.txt
+6-0libc/src/unistd/CMakeLists.txt
+75-163 files not shown
+87-179 files

FreeBSD/ports 146b0bdgames/bluemoon Makefile distinfo, games/bluemoon/files patch-bluemoon.adoc

games/bluemoon: Update to 2.15

- Upstream don't ship manual.6 anymore. Install manual.adoc as README
- Remove DOCS option

ChangeLog: https://gitlab.com/esr/bluemoon/-/blob/master/NEWS.adoc
DeltaFile
+31-0games/bluemoon/files/patch-bluemoon.adoc
+3-7games/bluemoon/Makefile
+3-3games/bluemoon/distinfo
+37-103 files

FreeBSD/ports e168172devel/aws-c-s3 distinfo Makefile

devel/aws-c-s3: Update to 0.12.1

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

FreeBSD/ports c0ff520devel/aws-c-http distinfo Makefile

devel/aws-c-http: Update to 0.10.14

ChangeLog: https://github.com/awslabs/aws-c-http/releases/tag/v0.10.14
DeltaFile
+3-3devel/aws-c-http/distinfo
+1-1devel/aws-c-http/Makefile
+4-42 files

FreeBSD/ports 28b1d4ftextproc/R-cran-vroom distinfo Makefile, textproc/R-cran-vroom/files patch-fix-tests

textproc/R-cran-vroom: Update tp 1.7.1

ChangeLog: https://cran.r-project.org/web/packages/vroom/news/news.html
DeltaFile
+0-35textproc/R-cran-vroom/files/patch-fix-tests
+3-3textproc/R-cran-vroom/distinfo
+1-1textproc/R-cran-vroom/Makefile
+4-393 files

FreeBSD/ports 2f35cb2devel/R-cran-progressr distinfo Makefile

devel/R-cran-progressr: Update to 0.19.0

ChangeLog: https://cran.r-project.org/web/packages/progressr/news/news.html
DeltaFile
+3-3devel/R-cran-progressr/distinfo
+1-1devel/R-cran-progressr/Makefile
+4-42 files

LLVM/project e5d57ceclang/docs ReleaseNotes.rst, clang/lib/Sema SemaObjC.cpp

Revert "[Clang] Fix assertion when __block is used on global variables in C mode" (#190018)

Reverts llvm/llvm-project#183988

Breaks ObjC code, see
https://github.com/llvm/llvm-project/pull/183988#issuecomment-4134934748
DeltaFile
+0-6clang/lib/Sema/SemaObjC.cpp
+0-5clang/test/Sema/gh183974.c
+0-1clang/docs/ReleaseNotes.rst
+0-123 files

FreeBSD/ports 3148e88security/arti distinfo Makefile.crates

security/arti: Update to 2.2.0
DeltaFile
+229-227security/arti/distinfo
+113-112security/arti/Makefile.crates
+2-3security/arti/Makefile
+344-3423 files

FreeBSD/ports 3fa67feeditors/marknote Makefile

editors/marknote: Fix email address
DeltaFile
+1-1editors/marknote/Makefile
+1-11 files

OpenBSD/src KivBzLLsbin/iked ikev2_pld.c

   Add ikev2_validate_ef() to validate fragment payload header size field
   as we do for other IKEv2 payloads.

   Reported by Dirk Loss
   ok markus@
VersionDeltaFile
1.137+22-3sbin/iked/ikev2_pld.c
+22-31 files

LLVM/project c794742flang/include/flang/Evaluate tools.h, flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp CUFOpConversionLate.cpp

[flang][cuda] Support non-allocatable module-level managed variables (#189753)

Add support for non-allocatable module-level CUDA managed variables
using pointer indirection through a companion global in
__nv_managed_data__. The CUDA runtime populates this pointer with the
unified memory address via __cudaRegisterManagedVar and
__cudaInitModule.

- Create a .managed.ptr companion global in the __nv_managed_data__
section and register it with _FortranACUFRegisterManagedVariable
- Call __cudaInitModule once after all variables are registered, only
when non-allocatable managed globals are present, to populate managed
pointers
- Annotate managed globals in gpu.module with nvvm.managed for PTX
.attribute(.managed) generation
- Suppress cuf.data_transfer for assignments to/from non-allocatable
module managed variables, since cudaMemcpy would target the shadow
address rather than the actual unified memory
- Preserve cuf.data_transfer for device_var = managed_var assignments

    [4 lines not shown]
DeltaFile
+74-14flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+39-0flang/test/Fir/CUDA/cuda-device-address.mlir
+36-1flang/test/Fir/CUDA/cuda-constructor-2.f90
+36-0flang/test/Lower/CUDA/cuda-data-transfer.cuf
+31-5flang/include/flang/Evaluate/tools.h
+20-2flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
+236-224 files not shown
+269-2210 files

FreeBSD/ports 6c93a5bmath/octave-forge-octave-pool Makefile, math/octave-forge-octave-pool/files patch-DESCRIPTION

math/octave-forge-octave-pool: Bug fix to version number

- correct version number in DESCRIPTION.
- bump portrevision.
DeltaFile
+9-0math/octave-forge-octave-pool/files/patch-DESCRIPTION
+2-0math/octave-forge-octave-pool/Makefile
+11-02 files

OpenBSD/src ylTxbOTsbin/iked ikev2.c

   Add SA state check for CREATE_CHILD_SA exchange, similar to what we do
   for INFORMATIONAL exchanges. iked currently assumes that IKE_AUTH always
   results in valid child SAs, so IKEV2_STATE_ESTABLISHED means we have
   successfully completed the IKE_AUTH exchange for the SA.

   Independently found by Dirk Loss and Daniel Polak (SYS.nl)
   ok and discussed with markus@ stsp@
VersionDeltaFile
1.396+7-1sbin/iked/ikev2.c
+7-11 files

LLVM/project 6dfdcedllvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner][GlobalISel] Extend allMulUsesCanBeContracted with FMA/FMAD pattern

Made-with: Cursor
DeltaFile
+644-760llvm/test/CodeGen/AMDGPU/fma-multiple-uses-contraction.ll
+82-91llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
+57-1llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+55-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+10-12llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
+848-8655 files

LLVM/project 00693d3llvm/include/llvm/CodeGen/GlobalISel CombinerHelper.h, llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp

[DAGCombiner][GlobalISel] Extend allMulUsesCanBeContracted with FPEXT pattern

Made-with: Cursor
DeltaFile
+900-1,117llvm/test/CodeGen/AMDGPU/fma-multiple-uses-contraction.ll
+88-14llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+78-13llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+2-1llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
+1,068-1,1454 files

LLVM/project 6729429llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner][GlobalISel] Extend allMulUsesCanBeContracted with FNEG pattern

Made-with: Cursor
DeltaFile
+362-400llvm/test/CodeGen/AMDGPU/fma-multiple-uses-contraction.ll
+25-7llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+18-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+4-5llvm/test/CodeGen/AMDGPU/mad-combine.ll
+409-4144 files

LLVM/project 0e6fb62llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner][GlobalISel] Prevent FMA contraction when fmul cannot be eliminated (FADD/FSUB pattern)

Made-with: Cursor
DeltaFile
+541-603llvm/test/CodeGen/AMDGPU/fma-multiple-uses-contraction.ll
+115-148llvm/test/CodeGen/AMDGPU/fma.f16.ll
+95-94llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
+25-25llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll
+35-5llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+32-4llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+843-8798 files not shown
+889-91614 files

FreeBSD/ports 6c650bemail/rspamd pkg-plist distinfo, mail/rspamd/files patch-contrib_libev_ev.c

mail/rspamd: Update to 4.0.0

Release notes:
https://github.com/rspamd/rspamd/releases/tag/4.0.0

PR:             291691
Approved by:    vsevolod (maintainer)
DeltaFile
+27-2mail/rspamd/pkg-plist
+0-15mail/rspamd/files/patch-contrib_libev_ev.c
+3-3mail/rspamd/distinfo
+3-2mail/rspamd/Makefile
+33-224 files

LLVM/project c5b39e5llvm/test/tools/llvm-objcopy/ELF cross-arch-headers.test, llvm/tools/llvm-objcopy ObjcopyOptions.cpp

[AMDGPU] Add AMDGPU support for llvm-objcopy
DeltaFile
+11-2llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
+2-0llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
+13-22 files

LLVM/project d736e1bllvm/test/tools/llvm-mca/RISCV/SiFiveP600 vlseg-vsseg.s, llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv arithmetic.test fp.test

[RISCV][MCA] Update sifive-p670 tests to consume input files instead (#189785)

Use the new input file system for `sifive-p670`'s llvm-mca tests. Some
of the vector crypto extension tests are left intact, due to the lack of
corresponding input files, and moved under the `rvv` sub-directory.
DeltaFile
+0-4,730llvm/test/tools/llvm-mca/RISCV/SiFiveP600/vlseg-vsseg.s
+4,541-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv/arithmetic.test
+3,721-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv/fp.test
+3,141-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv/vlseg-vsseg.test
+2,893-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv/bitwise.test
+2,349-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/rvv/permutation.test
+16,645-4,73040 files not shown
+29,714-9,36646 files

LLVM/project b5745e1libc/config/gpu/amdgpu entrypoints.txt headers.txt, libc/config/gpu/nvptx entrypoints.txt headers.txt

[libc] Support basic 'complex.h' functionality on GPUs (#189999)

Summary:
This PR adds the basic complex functions needed by some targets. This is
an attempt to provide the standard interface needed by
'https://github.com/llvm/llvm-project/pull/187831'
DeltaFile
+14-0libc/config/gpu/amdgpu/entrypoints.txt
+14-0libc/config/gpu/nvptx/entrypoints.txt
+1-0libc/config/gpu/amdgpu/headers.txt
+1-0libc/config/gpu/nvptx/headers.txt
+30-04 files

LLVM/project 5aea543clang/docs ReleaseNotes.rst, clang/lib/Sema SemaObjC.cpp

Revert "[Clang] Fix assertion when __block is used on global variables in C m…"

This reverts commit f1c8b9b4aad9e04501102b48d9abedd7f48b7af3.
DeltaFile
+0-6clang/lib/Sema/SemaObjC.cpp
+0-5clang/test/Sema/gh183974.c
+0-1clang/docs/ReleaseNotes.rst
+0-123 files

LLVM/project 573935dllvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis weak-crossing-siv-delta-signed-min.ll weak-crossing-siv-large-btc.ll

[DA] Overflow check in WeakCrossing Delta calculation (#185046)

When subtracting the constant part of two addrecs, we need to ensure the
calculation won't overflow. If it may overflow, we conservatively stop
the analysis and return false.
DeltaFile
+4-1llvm/lib/Analysis/DependenceAnalysis.cpp
+2-2llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-delta-signed-min.ll
+2-2llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-large-btc.ll
+2-2llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-overflow.ll
+10-74 files

FreeNAS/freenas e422cf0src/middlewared/middlewared/plugins/zpool scrub_impl.py

needed because of `truenas_pylibzfs.enums`
DeltaFile
+2-0src/middlewared/middlewared/plugins/zpool/scrub_impl.py
+2-01 files

LLVM/project 3b3b556mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Target/LLVMIR/Dialect/NVVM NVVMToLLVMIRTranslation.cpp

[mlir][NVVM] Add managed attribute for global variables (#189751)

Add support for the `nvvm.managed` attribute on `llvm.mlir.global` ops.
When present, the LLVM IR translation emits `!nvvm.annotations` metadata
with `!"managed"` for the global variable, which the NVPTX backend uses
to generate `.attribute(.managed)` in PTX output.

This enables CUDA managed memory support for frontends that lower
through MLIR.
DeltaFile
+18-1mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
+10-0mlir/test/Target/LLVMIR/nvvmir.mlir
+3-0mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+31-13 files

LLVM/project 01cf792clang/lib/Sema SemaLookup.cpp SemaDeclCXX.cpp, clang/test/SemaCXX using-if-exists.cpp

[clang] Fix conflicting declaration error with using_if_exists (#167646)

This fixes an issue with using_if_exists where we would hit `conflicts
with target of using declaration already in scope` with a
using_if_exists attribute referring to a declaration which did not
exist. That is, if we have `using ::bar
__attribute__((using_if_exists))` but `bar` is not in the global
namespace, then nothing should actually be declared here.

This PR contains the following changes:
1. Ensure we only diagnose this error if the target decl and [Non]Tag
decl can be substitutes for each other.
2. Prevent LookupResult from considering UnresolvedUsingIfExistsDecls in
the event of ambiguous results.
3. Update tests. This includes the minimal repo for a regression test,
and changes to existing tests which also seem to exhibit this bug.

Fixes #85335


    [2 lines not shown]
DeltaFile
+53-28clang/test/SemaCXX/using-if-exists.cpp
+29-4clang/lib/Sema/SemaLookup.cpp
+4-12clang/lib/Sema/SemaDeclCXX.cpp
+86-443 files

FreeBSD/ports 1789dd8sysutils/kubo-go distinfo Makefile

sysutils/kubo-go: update 0.29.0 -> 0.40.1

PR:             292416
Reported by:    crest at rlwinm.de
Changes:        https://github.com/ipfs/kubo/releases
DeltaFile
+5-5sysutils/kubo-go/distinfo
+2-3sysutils/kubo-go/Makefile
+7-82 files

LLVM/project ca14691clang-tools-extra/test/Unit CMakeLists.txt

[clang-doc] Make test alias depend on the unit test binary

Without depends, this doesn't seem to rebuild the ClangDocTests target.
DeltaFile
+1-0clang-tools-extra/test/Unit/CMakeLists.txt
+1-01 files

LLVM/project 6c7c575clang/lib/CodeGen CGHLSLRuntime.cpp

[clang] fix OutputSemantic list in HLSL (#185550)

Normally sane front-ends with the common calling-conventions avoid
having multiple sret with a return value, so this is NFCI. However,
multiple can be valid. This rewrites an odd looking DenseMap of one
element that was needed for iteration into a more sensible vector.

Noted in https://github.com/llvm/llvm-project/pull/181740 review.
DeltaFile
+7-8clang/lib/CodeGen/CGHLSLRuntime.cpp
+7-81 files

HardenedBSD/src d32b7d3sbin/route route_netlink.c, sys/compat/linuxkpi/common/include/linux sysfs.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+25-9sys/compat/linuxkpi/common/include/linux/sysfs.h
+4-0sys/fs/cd9660/cd9660_rrip.c
+2-1sbin/route/route_netlink.c
+1-1usr.sbin/rtadvd/config.c
+32-114 files