LLVM/project facc82d.github CODEOWNERS

[clang][cir] Adding myself in CODEOWNERS for CIRGenBuiltinAArch64.cpp (#187570)

This is to help with #185382 and to make sure that I don't miss any PRs.
DeltaFile
+1-0.github/CODEOWNERS
+1-01 files

FreeBSD/ports de07261net-im/nextcloud-talk distinfo Makefile

net-im/nextcloud-talk: Update to 23.0.2
DeltaFile
+3-3net-im/nextcloud-talk/distinfo
+1-1net-im/nextcloud-talk/Makefile
+4-42 files

LLVM/project 24060b6llvm/include/llvm/ADT GenericUniformityImpl.h, llvm/lib/Analysis UniformityAnalysis.cpp

review: fix isNeverDivergent and separate VH callback for other follow-up
DeltaFile
+0-83llvm/unittests/Target/AMDGPU/UniformityAnalysisCallbackVHTest.cpp
+0-46llvm/lib/Analysis/UniformityAnalysis.cpp
+6-16llvm/include/llvm/ADT/GenericUniformityImpl.h
+0-4llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
+0-4llvm/lib/IR/SSAContext.cpp
+0-2llvm/lib/CodeGen/MachineSSAContext.cpp
+6-1553 files not shown
+6-1589 files

FreeBSD/ports 8d3187dmail/nextcloud-mail distinfo Makefile

mail/nextcloud-mail: Update to 5.7.4
DeltaFile
+3-3mail/nextcloud-mail/distinfo
+1-1mail/nextcloud-mail/Makefile
+4-42 files

LLVM/project c8dd829libclc/clc/lib/amdgpu CMakeLists.txt, libclc/clc/lib/amdgpu/math clc_amdgpu_cbrt.inc clc_cbrt.cl

libclc: Override cbrt for AMDGPU (#187560)
DeltaFile
+78-0libclc/clc/lib/amdgpu/math/clc_amdgpu_cbrt.inc
+34-0libclc/clc/lib/amdgpu/math/clc_cbrt.cl
+1-0libclc/clc/lib/amdgpu/CMakeLists.txt
+113-03 files

LLVM/project edbe827libclc/clc/lib/amdgpu CMakeLists.txt, libclc/clc/lib/amdgpu/math clc_log2.cl clc_log.cl

libclc: Use log intrinsic for half and float cases for amdgpu (#187538)

This is pretty verbose and ugly. We're pulling the base implementation
in for the double cases, and scalarizing it. Also fully defining the
half and float cases to directly use the intrinsic, for all vector
types. It would be much more convenient if we had linker based overrides
for the generic implementations, rather than per source file.
DeltaFile
+41-0libclc/clc/lib/amdgpu/math/clc_log2.cl
+41-0libclc/clc/lib/amdgpu/math/clc_log.cl
+41-0libclc/clc/lib/amdgpu/math/clc_log10.cl
+11-0libclc/clc/lib/amdgpu/math/clc_amdgpu_log.inc
+3-0libclc/clc/lib/amdgpu/CMakeLists.txt
+137-05 files

LLVM/project a5de509libclc/clc/lib/generic/math clc_log_base.h clc_log_base.inc

libclc: Rewrite log implementation as gentype inc file (#187537)

Follow the ordinary gentype conventions for the log implementation,
instead of using a plain header. This doesn't quite yet enable
vectorization, due to how the table is currently indexed. This should
make it easier for targets to selectively overload the function for
a subset of types.
DeltaFile
+0-252libclc/clc/lib/generic/math/clc_log_base.h
+243-0libclc/clc/lib/generic/math/clc_log_base.inc
+14-10libclc/clc/lib/generic/math/clc_log2.cl
+14-10libclc/clc/lib/generic/math/clc_log10.cl
+10-0libclc/clc/lib/generic/math/clc_log.cl
+281-2725 files

LLVM/project 441790bllvm/lib/Target/AArch64 AArch64SelectionDAGInfo.cpp, llvm/test/CodeGen/AArch64 mops-mmo-size.ll

[AArch64] Use an unknown size for memcpy ops with non-constant sizes. (#187445)

The previous value of 0 was allowing loads to move past the mops
operations where it is not valid. Use a LocationSize::afterPointer()
size instead.

The GISel lowering currently loses the MMO, which is fine as it should
be conservatively treated as a load/store to any location.
DeltaFile
+28-0llvm/test/CodeGen/AArch64/mops-mmo-size.ll
+4-4llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
+32-42 files

LLVM/project 421bf13libclc/clc/lib/generic/math clc_tanpi.inc clc_cospi.inc

libclc: Update trigpi functions (#187579)

These were originally ported from rocm device
libs in bc81ebefb7d9d9d71d20bfee2ce4cccb09701e9b.
Merge in more recent changes.
DeltaFile
+62-105libclc/clc/lib/generic/math/clc_tanpi.inc
+3-106libclc/clc/lib/generic/math/clc_cospi.inc
+2-104libclc/clc/lib/generic/math/clc_sinpi.inc
+23-62libclc/clc/lib/generic/math/clc_sincos_helpers_fp64.inc
+50-0libclc/clc/lib/generic/math/clc_sincospi.inc
+27-0libclc/clc/lib/generic/math/clc_sincos_helpers.inc
+167-37715 files not shown
+310-39821 files

LLVM/project a971089llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 select-best-vf-tripcount.ll

[LV] Explain why a less profitable VF was chosen (NFCI) (#187469)

I was very puzzled the other day when it showed that VF 8 had a cost of
X and VF 16 had a cost of X/2, yet it still choose VF 8. This PR adds
some extra debug output to explain why this happens.
DeltaFile
+35-0llvm/test/Transforms/LoopVectorize/AArch64/select-best-vf-tripcount.ll
+13-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+48-22 files

LLVM/project 5c34d87libclc/clc/lib/amdgpu/math clc_amdgpu_log.inc clc_log.cl

address comments
DeltaFile
+7-0libclc/clc/lib/amdgpu/math/clc_amdgpu_log.inc
+2-5libclc/clc/lib/amdgpu/math/clc_log.cl
+2-5libclc/clc/lib/amdgpu/math/clc_log10.cl
+2-5libclc/clc/lib/amdgpu/math/clc_log2.cl
+13-154 files

FreeBSD/src 33345b8sys/kern sys_timerfd.c

timerfd: Suppress kqueue readability after jump read

Do not report EVFILT_READ after reading a discontinuous clock jump.
This makes the kqueue filter consistent with Linux epoll behavior
and timerfd_poll(), which already checks tfd_jumped != TFD_READ before
reporting POLLIN.

MFC after: 2 weeks
DeltaFile
+1-1sys/kern/sys_timerfd.c
+1-11 files

FreeBSD/src b11fba4sys/kern sys_timerfd.c

timerfd: Wake up on discontinuous jump

If a discontinous realtime clock change occurs and sets any TFD_JUMPED
bits on the timerfd, then wake up waiting readers. This fixes failures
from the timerfd_root__clock_change_notification test case.

MFC after: 2 weeks
DeltaFile
+11-3sys/kern/sys_timerfd.c
+11-31 files

FreeBSD/src e379953sys/sys time.h

sys/time: Add saturating sbt conversions

When converting from timespec to sbintime, the timespec's 64-bit tv_sec
component is shifted to the left 32 bits, causing any information in the
upper 32 bits to be lost.

This data loss during conversion can turn timespecs with very large
tv_sec counters into sbintimes that represent much smaller time
durations.

Add tstosbt_sat() and tvtosbt_sat(), which are saturating versions of
tstosbt and tvtosbt. With these routines, any overflow resulting from
the conversion is clamped to [-SBT_MAX - 1, SBT_MAX].

Reviewed by:            imp, markj
Differential Revision:  https://reviews.freebsd.org/D55791
MFC after:              2 weeks
DeltaFile
+21-0sys/sys/time.h
+21-01 files

FreeBSD/src 834c1batests/sys/kern timerfd.c Makefile

timerfd: Add tests

Take Jan Kokemuller's timerfd tests from the epoll-shim project,
stripping out code that isn't directly related to FreeBSD.

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D55789
MFC after:              2 weeks
DeltaFile
+1,318-0tests/sys/kern/timerfd.c
+3-0tests/sys/kern/Makefile
+1,321-02 files

FreeBSD/src 0e8f351sys/kern sys_timerfd.c

timerfd: Use saturating sbintime conversions

Some timerfd consumers set expirations with timespec tv_sec components
larger than 2^31 - 1. In such cases, converting that timespec to
sbintime results in data loss or sign flip, yielding a shorter
expiration than desired.

To avoid this problem, use saturating timespec-to-sbintime conversion
functions. These will clamp the converted sbintime to SBT_MAX under
circumstances where the normal conversion functions would overflow.

Saturating conversions still result in data loss, but the consequences
are less severe, causing problems only after SBT_MAX (~68 years) of
system uptime elapses.

Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D55792
MFC after:              2 weeks
DeltaFile
+5-5sys/kern/sys_timerfd.c
+5-51 files

FreeBSD/src 85c0f1asys/kern sys_timerfd.c, tests/sys/kern timerfd.c

timerfd: Fix interval callout scheduling

When a timerfd interval callout misses its scheduled activation time, a
differential is calculated based on the actual activation time and the
scheduled activation time. This differential is divided by the timerfd's
interval time and the quotient is added to the timerfd's counter.

Before this change, the next callout was scheduled to activate at:
scheduled activation time + timerfd interval.

This change fixes the scheduling of the next callout to activate at:
actual activation time + timerfd interval - remainder.

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D55790
MFC after:              2 weeks
DeltaFile
+29-0tests/sys/kern/timerfd.c
+13-11sys/kern/sys_timerfd.c
+42-112 files

LLVM/project 2ee5f7flibclc/clc/lib/generic/math clc_log_base.h clc_log_base.inc

libclc: Rewrite log implementation as gentype inc file

Follow the ordinary gentype conventions for the log implementation,
instead of using a plain header. This doesn't quite yet enable
vectorization, due to how the table is currently indexed. This should
make it easier for targets to selectively overload the function for
a subset of types.
DeltaFile
+0-252libclc/clc/lib/generic/math/clc_log_base.h
+243-0libclc/clc/lib/generic/math/clc_log_base.inc
+14-10libclc/clc/lib/generic/math/clc_log10.cl
+14-10libclc/clc/lib/generic/math/clc_log2.cl
+10-0libclc/clc/lib/generic/math/clc_log.cl
+281-2725 files

LLVM/project 74d4d43libclc/clc/lib/amdgpu CMakeLists.txt, libclc/clc/lib/amdgpu/math clc_log2.cl clc_log.cl

libclc: Use log intrinsic for half and float cases for amdgpu

This is pretty verbose and ugly. We're pulling the base implementation
in for the double cases, and scalarizing it. Also fully defining the
half and float cases to directly use the intrinsic, for all vector
types. It would be much more convenient if we had linker based overrides
for the generic implementations, rather than per source file.
DeltaFile
+44-0libclc/clc/lib/amdgpu/math/clc_log2.cl
+44-0libclc/clc/lib/amdgpu/math/clc_log.cl
+44-0libclc/clc/lib/amdgpu/math/clc_log10.cl
+4-0libclc/clc/lib/amdgpu/math/clc_amdgpu_log.inc
+3-0libclc/clc/lib/amdgpu/CMakeLists.txt
+139-05 files

LLVM/project 1ac32b5libclc/clc/include/clc/math clc_sincospi.h

Add include
DeltaFile
+2-0libclc/clc/include/clc/math/clc_sincospi.h
+2-01 files

FreeBSD/ports 178525dmisc/codex Makefile distinfo

misc/codex: Update to 0.116.0

Changelog:
- https://github.com/openai/codex/releases/tag/rust-v0.115.0
- https://github.com/openai/codex/releases/tag/rust-v0.116.0

Reported by:    GitHub (watch releases)
DeltaFile
+15-5misc/codex/Makefile
+3-3misc/codex/distinfo
+18-82 files

LLVM/project 7f8e236libclc/clc/lib/generic/math clc_sin.inc clc_cos.inc

libclc: Implement sin and cos with sincos (#187571)

This eliminates duplicated epilog code. The unused half
optimizes out just fine after inlining.
DeltaFile
+2-64libclc/clc/lib/generic/math/clc_sin.inc
+3-57libclc/clc/lib/generic/math/clc_cos.inc
+2-12libclc/clc/lib/generic/math/clc_sin.cl
+2-8libclc/clc/lib/generic/math/clc_cos.cl
+9-1414 files

LLVM/project 090c405libclc/clc/lib/generic/math clc_flush_if_daz.inc clc_flush_if_daz.cl

libclc: Replace flush_if_daz implementation (#187569)

The fallback non-canonicalize path didn't work. Use a more
straightforward implementation. Eventually this should use
the pattern from #172998
DeltaFile
+3-7libclc/clc/lib/generic/math/clc_flush_if_daz.inc
+4-0libclc/clc/lib/generic/math/clc_flush_if_daz.cl
+7-72 files

LLVM/project a59ddfclibclc/clc/lib/amdgpu/math clc_amdgpu_cbrt.inc

Rename macro
DeltaFile
+8-7libclc/clc/lib/amdgpu/math/clc_amdgpu_cbrt.inc
+8-71 files

FreeBSD/ports e95c0danet/haproxy33 distinfo Makefile

net/haproxy33: update to version 3.3.6
DeltaFile
+3-3net/haproxy33/distinfo
+1-1net/haproxy33/Makefile
+1-0net/haproxy33/pkg-plist
+5-43 files

FreeBSD/ports 17639c7net/haproxy30 distinfo Makefile

net/haproxy30: update to version 3.0.19.
DeltaFile
+3-3net/haproxy30/distinfo
+1-1net/haproxy30/Makefile
+4-42 files

FreeBSD/ports 9761843net/haproxy distinfo Makefile

net/haproxy: update to version 3.2.15.
DeltaFile
+3-3net/haproxy/distinfo
+1-1net/haproxy/Makefile
+4-42 files

LLVM/project 5599d60llvm/lib/Transforms/Coroutines CoroSplit.cpp Coroutines.cpp

[Coroutines][NFC] Elide coro.free based on frame instead of coro.id (#187627)

Part 2/4: Implement HALO for coroutines that flow off final suspend.
Parent PR approved in https://github.com/llvm/llvm-project/pull/185336,
with no change since then

Since `coro.id` is unavailable in resumers, Elide `coro.free` based on
frame instead of `coro.id`
DeltaFile
+6-9llvm/lib/Transforms/Coroutines/CoroSplit.cpp
+4-8llvm/lib/Transforms/Coroutines/Coroutines.cpp
+1-1llvm/lib/Transforms/Coroutines/CoroInternal.h
+1-1llvm/lib/Transforms/Coroutines/CoroElide.cpp
+12-194 files

LLVM/project 4cdb9e3flang/lib/Optimizer/HLFIR/Transforms CMakeLists.txt, flang/lib/Optimizer/Transforms CMakeLists.txt

fix build errors
DeltaFile
+11-0flang/lib/Optimizer/Transforms/CMakeLists.txt
+10-0flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
+21-02 files

FreeBSD/ports 0084b40finance/homebank distinfo Makefile

finance/homebank: Update to 5.10
DeltaFile
+3-3finance/homebank/distinfo
+3-1finance/homebank/Makefile
+0-1finance/homebank/pkg-plist
+6-53 files