LLVM/project a37d769 — llvm/lib/ExecutionEngine/Orc MachOPlatform.cpp

[ORC] Replace ptr diff with offsetof for field offset. NFC. (#240609)

Replace a pointer difference expression with offset of for readability.
DeltaFile
+1-1llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
+1-11 files

FreeBSD/poudriere 5dfcdcc — test Makefile.am Makefile.in

tests: Add some missing log files to MOSTLYCLEANFILES

Conflicts:
        test/Makefile.in
DeltaFile
+3-2test/Makefile.in
+2-1test/Makefile.am
+5-32 files

FreeBSD/poudriere e41cca0 — test Makefile.am Makefile.in

distcheck: Somehow prep.sh* was not getting cleaned up
DeltaFile
+1-1test/Makefile.in
+1-0test/Makefile.am
+2-12 files

FreeBSD/poudriere 5ff1bb8 — test Makefile.am Makefile.in

tests: Add missing MOSTLYCLEANFILES for logs

Partial backport of d1ea7cf
DeltaFile
+2-1test/Makefile.in
+1-0test/Makefile.am
+3-12 files

FreeNAS/freenas ad866b4 — src/middlewared/middlewared/api/v27_0_0 truesearch.py, src/middlewared/middlewared/api/v28_0_0 truesearch.py

Move the query-filters documentation into the API modules

The import contract of the API schemas does not allow an import of
truesearch_filters. The truesearch API modules took the limit and the
query-filters documentation from it. Each API version now holds them
as text. truesearch_filters keeps the Spotlight attribute and the
choices of each field. A unit test checks that the current API
documents each field and each choice.
DeltaFile
+32-137src/middlewared/middlewared/utils/truesearch_filters.py
+100-3src/middlewared/middlewared/api/v28_0_0/truesearch.py
+100-3src/middlewared/middlewared/api/v27_0_0/truesearch.py
+10-8tests/unit/test_truesearch_filters.py
+242-1514 files

LLVM/project a79a1eb — llvm/test/ThinLTO/X86 cfi-split-lto-sample-profile.ll, llvm/test/Transforms/ThinLTOBitcodeWriter split-internal2.ll split-internal-alias.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+111-0llvm/test/ThinLTO/X86/cfi-split-lto-sample-profile.ll
+12-5llvm/tools/llvm-lto2/llvm-lto2.cpp
+6-6llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+6-6llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal-alias.ll
+6-6llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
+6-6llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-relative-vtable.ll
+147-299 files not shown
+180-5515 files

LLVM/project 5b5e0ae — llvm/include/llvm/ProfileData InstrProf.h SampleProf.h, llvm/lib/ProfileData InstrProf.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+68-1llvm/unittests/ProfileData/InstrProfTest.cpp
+28-15llvm/lib/ProfileData/InstrProf.cpp
+11-0llvm/unittests/ProfileData/SampleProfTest.cpp
+5-4llvm/include/llvm/ProfileData/SampleProf.h
+2-2llvm/include/llvm/ProfileData/InstrProf.h
+114-225 files

LLVM/project aebd6f9 — llvm/unittests/ProfileData InstrProfTest.cpp SampleProfTest.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+13-1llvm/unittests/ProfileData/SampleProfTest.cpp
+11-0llvm/unittests/ProfileData/InstrProfTest.cpp
+24-12 files

LLVM/project c9a62ec — llvm/include/llvm/ProfileData InstrProf.h, llvm/lib/ProfileData InstrProf.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+3-2llvm/lib/ProfileData/InstrProf.cpp
+1-1llvm/include/llvm/ProfileData/InstrProf.h
+4-32 files

FreeBSD/poudriere 5bf397e — test runtest.sh

runtest: Write logs to the build dir

Direct runs of runtest.sh still log in the local dir.
DeltaFile
+8-3test/runtest.sh
+8-31 files

FreeBSD/poudriere 037fdec — test Makefile.am Makefile.in

tests: Add some missing log files to MOSTLYCLEANFILES
DeltaFile
+3-2test/Makefile.in
+2-1test/Makefile.am
+5-32 files

LLVM/project bfa24f2 — libc/src/__support/FPUtil ManipulationFunctions.h, libc/src/__support/FPUtil/x86_64 NextUpDownLongDouble.h

[libc][math] Correct logb exceptions and nextup/down boundaries (#236473)

Fix logb so infinity does not raise FE_DIVBYZERO and signaling NaNs
raise
FE_INVALID and return a quiet NaN. Correct nextup/nextdown's
finite-to-infinity
and binary80 normal/subnormal steps.

Use bit-based zero checks to avoid FE_DENORM on subnormal inputs. Extend
the
shared tests to check result bits, flags and logb errno.

Tests on x86-64 Linux: 18 focused Clang 18 fullbuild targets and 36
overlay
targets per compiler with GCC 13 and Clang 18.

Assisted-by: GitHub Copilot

---------

Signed-off-by: sriramshastry <sriramshastry at gmail.com>
DeltaFile
+14-5libc/test/src/math/smoke/LogbTest.h
+9-6libc/src/__support/FPUtil/ManipulationFunctions.h
+9-3libc/src/__support/FPUtil/x86_64/NextUpDownLongDouble.h
+8-2libc/test/src/math/smoke/NextUpTest.h
+8-2libc/test/src/math/smoke/NextDownTest.h
+48-185 files

LLVM/project d74a92c — libc/test/src/stdio rename_test.cpp, libc/test/src/stdlib DivTest.h

[libc][test] Fix GoogleTest incompatibilities in unit tests (#239961)

llvm-libc unit tests are intended to target a source-compatible subset
of GoogleTest, dispatched through test/UnitTest/Test.h. Building and
running the unit test suite against real GoogleTest uncovered several
latent issues that LibcTest either did not exercise or silently
accepted:

- Several Linux sys/ tests included test/UnitTest/LibcTest.h directly
  instead of routing through test/UnitTest/Test.h.
- rename_test.cpp included the raw Linux generated macro header
  include/llvm-libc-macros/linux/unistd-macros.h directly, colliding
  with system <unistd.h> enum constants when system headers are also
  included; use the hdr/fcntl_macros.h and hdr/unistd_macros.h proxy
  headers instead.
- src/ctype/toascii.h did not #undef a pre-existing XSI toascii macro
  from system <ctype.h>, unlike src/ctype/isascii.h.
- Five test suites mixed TEST_F and TEST under the same suite name,
  which GoogleTest rejects at runtime.

    [14 lines not shown]
DeltaFile
+6-7libc/test/src/stdlib/DivTest.h
+2-2libc/test/src/string/strsep_test.cpp
+2-1libc/test/src/stdio/rename_test.cpp
+1-1libc/test/src/sys/xattr/xattr_test.cpp
+1-1libc/test/src/sys/xattr/lxattr_test.cpp
+1-1libc/test/src/sys/socket/linux/socket_test_support.h
+13-139 files not shown
+21-2015 files

LLVM/project 9e13940 — libc/src/__support/CPP span.h, libc/src/stdio/scanf_core core_structs.h

[libc] Add missing const in cpp::span and scanf_core::FormatSection (#240610)

cpp::span provided a constructor from non-const cpp::array<U, N> & but
missed the corresponding const cpp::array<U, N> & overload from C++20
std::span, and scanf_core::FormatSection::operator== lacked a const
qualifier. Add both so const span-based and scanf format-section
comparisons work without const_cast or mutable copies.

Part of #91630

Assisted-by: Gemini
DeltaFile
+9-0libc/test/src/__support/CPP/span_test.cpp
+5-0libc/src/__support/CPP/span.h
+1-1libc/src/stdio/scanf_core/core_structs.h
+15-13 files

LLVM/project 54fa3c4 — libc/src/pthread pthread_mutex_timedlock.h pthread_mutex_timedlock.cpp, libc/src/threads mtx_timedlock.h mtx_timedlock.cpp

[libc] Implement mtx_timedlock and pthread_mutex_timedlock (#240028)

This PR implements `mtx_timedlock` in `<threads.h>` and
`pthread_mutex_timedlock` in `<pthread.h>`.

- Connects to existing internal `Mutex::timed_lock(AbsTimeout)` and
handles timeout/expired specifications.
- Adds `mtx_timedlock` entrypoint in `libc/src/threads`.
- Adds `pthread_mutex_timedlock` entrypoint in `libc/src/pthread`.
- Adds `timed_lock` implementation for `Mutex` in single-thread mode
(`LIBC_THREAD_MODE_SINGLE`).
- Registers public declarations in `threads.yaml` and `pthread.yaml`.
- Registers entrypoints across Linux targets (`x86_64`, `aarch64`,
`riscv`).
- Adds timedlock tests to `mtx_test` and `pthread_mutex_test`.

Fixes #240021.
DeltaFile
+65-0libc/src/pthread/pthread_mutex_timedlock.cpp
+58-0libc/src/threads/mtx_timedlock.cpp
+28-0libc/src/pthread/pthread_mutex_timedlock.h
+28-0libc/src/threads/mtx_timedlock.h
+27-0libc/test/integration/src/threads/mtx_test.cpp
+24-0libc/test/integration/src/pthread/pthread_mutex_test.cpp
+230-010 files not shown
+288-016 files

FreeBSD/ports 3fa341c — audio/kid3 Makefile distinfo, audio/kid3/files patch-src_plugins_mp4v2metadata_m4afile.cpp patch-src_app_kde_kdemainwindow.cpp

audio/kid3: Update to 3.10.2

https://invent.kde.org/multimedia/kid3/-/releases/v3.10.0
https://invent.kde.org/multimedia/kid3/-/releases/v3.10.1
https://invent.kde.org/multimedia/kid3/-/releases/v3.10.2
DeltaFile
+2-22audio/kid3/files/patch-src_app_kde_kdemainwindow.cpp
+4-4audio/kid3/files/patch-src_plugins_mp4v2metadata_m4afile.cpp
+2-4audio/kid3/Makefile
+3-3audio/kid3/distinfo
+11-334 files

NetBSD/src 7pc2ZCB — sys/arch/arm/at91 at91aic.c, sys/arch/arm/ep93xx ep93xx_intr.c

   _splraise(): Don't take action if ipl is less than curipl.

   Issue on ep93xx noted by Jonathan Chapman, and at91, footbridge, and
   ixp12x0 have the same problem.

   (becc is also wrong, but wrong differently.)
VersionDeltaFile
1.34+5-3sys/arch/arm/ixp12x0/ixp12x0_intr.c
1.29+5-3sys/arch/arm/ep93xx/ep93xx_intr.c
1.14+3-3sys/arch/arm/at91/at91aic.c
1.23+4-2sys/arch/arm/footbridge/footbridge_intr.h
+17-114 files

NetBSD/src J98nsSL — sys/arch/evbarm/conf TS7200

   Add micphy.

   From Jonathan Chapman.
VersionDeltaFile
1.79+2-1sys/arch/evbarm/conf/TS7200
+2-11 files

LLVM/project a003ed2 — llvm/lib/Target/Mips MipsLegalizerInfo.cpp, llvm/test/CodeGen/Mips/GlobalISel/llvm-ir is_fpclass.ll

Mips/GlobalISel: Lower G_IS_FPCLASS

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2,968-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/is_fpclass.ll
+2-0llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
+2,970-02 files

LLVM/project 25f8e57 — llvm/lib/Transforms/IPO ArgumentPromotion.cpp, llvm/test/Transforms/ArgumentPromotion implicit-pointer-dbginfo.ll

[ArgumentPromotion] Emit DW_OP_LLVM_implicit_pointer for promoted pointer args (#187642)

PR 1 - https://github.com/llvm/llvm-project/pull/186763 ([DebugInfo]
Lower DW_OP_LLVM_implicit_pointer to DWARF#186763)

PR 2 - https://github.com/llvm/llvm-project/pull/187641 ([DebugInfo]
Verify DW_OP_LLVM_implicit_pointer survives ISel#187641)

RFC -
https://discourse.llvm.org/t/rfc-implementing-dw-op-implicit-pointer-support-in-llvm/90217

---------

Co-authored-by: Shivam Kunwar <phyBrackets at users.noreply.github.com>
DeltaFile
+113-0llvm/test/Transforms/ArgumentPromotion/implicit-pointer-dbginfo.ll
+64-3llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
+177-32 files

NetBSD/src BthMYiP — sys/arch/amiga/dev ser.c, sys/arch/arm/sa11x0 sa11x0_com.c

   McRib^W<ddb/db_active.h> is back!

   (By popular request.)
VersionDeltaFile
1.4+0-10sys/ddb/db_active.h
1.16+4-2sys/kern/cnmagic.c
1.311+4-2sys/arch/sparc64/sparc64/machdep.c
1.85+4-2sys/arch/sparc64/dev/zs.c
1.61+4-2sys/arch/arm/sa11x0/sa11x0_com.c
1.88+4-2sys/arch/amiga/dev/ser.c
+20-2028 files not shown
+109-7734 files

LLVM/project bf30550 — compiler-rt/lib/asan asan_descriptions.cpp asan_errors.cpp, compiler-rt/lib/sanitizer_common sanitizer_report_receiver.cpp sanitizer_report_receiver.h

[compiler-rt] [ASAN] [TSAN] Add ReportReceiver interface

https://discourse.llvm.org/t/rfc-a-stable-report-format-for-sanitizers/91696
DeltaFile
+170-166compiler-rt/lib/asan/asan_errors.cpp
+114-65compiler-rt/lib/tsan/rtl/tsan_report.cpp
+111-0compiler-rt/lib/sanitizer_common/tests/sanitizer_report_receiver_test.cpp
+104-0compiler-rt/lib/sanitizer_common/sanitizer_report_receiver.h
+90-0compiler-rt/lib/sanitizer_common/sanitizer_report_receiver.cpp
+46-19compiler-rt/lib/asan/asan_descriptions.cpp
+635-25011 files not shown
+752-32017 files

LLVM/project 4ab7096 — llvm/lib/Target/AMDGPU SIOptimizeExecMasking.cpp

AMDGPU: Clear v_cmpx source kill flags locally

clearKillFlags is potentially expensive and should be avoided. When
the v_cmp is folded into a v_cmpx at the saveexec, only kills of
registers overlapping the compare sources between the v_cmp and the
saveexec become invalid. Clear those directly when applying the fold,
instead of collecting candidate kills during matching and then
clearing every kill of the sources in the function.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+16-35llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
+16-351 files

LLVM/project ad93eac — llvm/lib/CodeGen/AsmPrinter DwarfDebug.cpp, llvm/test/DebugInfo/X86 implicit-pointer-loclist.ll

[DebugInfo] Don't emit broken location list entries for DW_OP_LLVM_implicit_pointer (#236703)

Related to https://github.com/llvm/llvm-project/pull/187642

---------

Co-authored-by: Shivam Kunwar <phyBrackets at users.noreply.github.com>
DeltaFile
+53-0llvm/test/DebugInfo/X86/implicit-pointer-loclist.ll
+11-0llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+64-02 files

LLVM/project b1e4d49 — clang/include/clang/Basic DebugOptions.def, clang/include/clang/Options Options.td

Revert "[Clang][DebugInfo] Use macro expansion locations by default" (#240671)

Reverts llvm/llvm-project#235205

This is buggy, we should still call getMacroDebugLoc in e.g.

``` 
SourceLocation NewLoc = SM.getExpansionLoc(getMacroDebugLoc(CGM, Loc));
```

and update `getMacroDebugLoc` to drop

```
  if (CGM.getCodeGenOpts().DebugInfoMacroExpansionLoc)
    return Loc;
```

and keep the depth fix flags.
DeltaFile
+20-11clang/test/DebugInfo/Generic/macro-info.c
+24-7clang/lib/CodeGen/CGDebugInfo.cpp
+10-0clang/include/clang/Options/Options.td
+8-0clang/include/clang/Basic/DebugOptions.def
+62-184 files

FreeBSD/ports 40897e6 — x11/hyprcursor Makefile distinfo

x11/hyprcursor: Update to 0.1.14

Changelog: https://github.com/hyprwm/hyprcursor/releases/tag/v0.1.14

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/hyprcursor/distinfo
+1-1x11/hyprcursor/Makefile
+4-42 files

LLVM/project e73e336 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer DependencyGraph.h Scheduler.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp Scheduler.cpp

[SandboxVec][DAG][Scheduler] Move notifier logic from Scheduler to DAG (NFC) (#239097)

When an instruction gets created we need to update the state of the
scheduler and the DAG.
Up until now this was done with callbacks invoked by the Context. This
works, but there is some tight coupling between the update of the DAG
and scheduler states and it is not obvious what happens in which
sequence. To help fix this, the patch removes the scheduler callback and
keeps only the DAG callback. The DAG callback delegates the scheduler
maintenance to two Scheduler functions, one called in the beginning and
one at the end.
DeltaFile
+9-10llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Scheduler.h
+7-9llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp
+8-3llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
+7-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+31-224 files

FreeNAS/freenas a2880a1 — src/middlewared/debian control, src/middlewared/middlewared main.py

Add truenas-truesearch to Build-Depends and rename the service

The package build runs alembic. Alembic imports every plugin. The
truesearch plugin imports truesearch_client, and truenas-truesearch
installs that module.

The service base checks the model names of the public methods. Each
name must start with the name of the service class. The models are
named Truesearch, so the class is named TruesearchService.
DeltaFile
+18-18tests/unit/test_truesearch.py
+2-2src/middlewared/middlewared/main.py
+1-1src/middlewared/middlewared/plugins/truesearch.py
+1-0src/middlewared/debian/control
+22-214 files

LLVM/project cd06237 — llvm/lib/Target/LoongArch LoongArchInstrInfo.td, llvm/test/CodeGen/LoongArch atomicrmw-uinc-udec-wrap.ll sextw-removal.ll

[LoongArch] Fold zero comparisons into integer selects (#234841)

Use the original integer operand as the MASKEQZ/MASKNEZ condition for
selects comparing against zero, eliminating one redundant SLTU/SLTUI
instruction per select and matching GCC code generation.
DeltaFile
+776-0llvm/test/CodeGen/LoongArch/select-zero.ll
+52-94llvm/test/CodeGen/LoongArch/bittest.ll
+36-42llvm/test/CodeGen/LoongArch/sink-fold-addi.ll
+29-40llvm/test/CodeGen/LoongArch/sextw-removal.ll
+18-22llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
+30-0llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
+941-1984 files not shown
+972-24510 files

NetBSD/src HnqpXrx — sys/arch/arm/ep93xx epcom.c, sys/arch/arm/s3c2xx0 sscom.c

   Rework cnmagic(9):
   - No more re-defining cn_trap(), cn_isconsole(), etc.  Intead...
   - Always provide cpu_Debugger() and console_debugger() in kern_stub.c.
   - Move cnmagic(9)-related bits from <sys/systm.h> to <dev/cons.h>.
   - Make ch_check_magic() return true/false based on "magic sequence
     matched, action taken", eliminating the cn_trapped dance many
     drivers did.
   - Add a way to explicitly set the action using an API setter, rather
     than having to define a CPP macro at the right time.
   - Update callers to always pass their cnmagic state by reference rather
     than by value (which was fine as a pure macro interface, not so much
     when function calls are involved).

   Bonvenon al NetBSD 11.99.11.
VersionDeltaFile
1.312+4-68sys/sys/systm.h
1.38+11-32sys/arch/arm/ep93xx/epcom.c
1.393+12-31sys/dev/ic/com.c
1.15+39-4sys/kern/cnmagic.c
1.71+11-31sys/arch/evbarm/dev/plcom.c
1.52+12-30sys/arch/arm/s3c2xx0/sscom.c
+89-19635 files not shown
+342-50941 files