LLVM/project 4c0d3e8 — libc/src/__support/regex regex_expr_pool.h regex_expr_pool.cpp, libc/test/src/__support/regex expr_test.cpp

[libc][regex] Make ExprPool alt spines iterative (#245590)

Wide alternations in ExprPool previously recursed once per branch.
Failed coalescing scans also re-scanned remaining branches, causing
cubic compile times.

Convert make_alt and spine coalescing to iterative loops backed by
ReverseOrderBlockStore<ExprId, 16>:

* insert_sorted_no_coalesce: direct O(K) insertion after failed scans
* coalesce_into_spine: iterative tail/kept coalescing without recursion
* splice_into_sorted_spine: direct sorted rebuild with zero throwaway
Alt nodes

Two-spine merges stay symmetric, and optimised x86-64 frames stay under
256 bytes. derivative still recurses; a later patch converts it.

Compliance: Henry Spencer spencer_tests.txt 268/456 Bool/Err (+0) and
84/456 Full Pos (+0); AT&T testregex 399/400 ERE Bool/Err (+0), 401/473

    [2 lines not shown]
DeltaFile
+291-82libc/src/__support/regex/regex_expr_pool.cpp
+276-3libc/test/src/__support/regex/expr_test.cpp
+10-0libc/src/__support/regex/regex_expr_pool.h
+577-853 files

FreeBSD/ports 97d0cfa — www/samdruckerweb Makefile distinfo

www/samdruckerweb: Update to 0.3.1

On a package page, the Versions table now says what each link lists.
The host count beside a version links to the hosts on exactly that
version (new ?version= filter, kept by the downloads), and the
older-than link shows how many hosts it will list, for example
"73 hosts older than 0.3.0_1", or "none" on the oldest version.

Before, the link beside the oldest version read "hosts older than this"
and listed no hosts, which looked like a bug.

No database changes.

Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.1
DeltaFile
+3-3www/samdruckerweb/distinfo
+1-1www/samdruckerweb/Makefile
+4-42 files

FreeBSD/ports 64ac7f2 — sysutils/samdruckerclientshell pkg-plist Makefile

sysutils/samdruckerclientshell: Update to 0.3.1

The client is one script again. samdrucker.repo-to-json.stdin, which
converted the pkg repos output to JSON, has been folded into
samdrucker.sh, which now runs that Lua itself with flua -e. The helper
is no longer installed.

What the client sends, and how it reports a failed check-in, are
unchanged. It still needs /usr/libexec/flua from the base system (the
FreeBSD-flua package on pkgbase hosts).

Release notes:
https://github.com/dlangille/SamDrucker/releases/tag/0.3.1
DeltaFile
+3-3sysutils/samdruckerclientshell/distinfo
+1-3sysutils/samdruckerclientshell/Makefile
+0-1sysutils/samdruckerclientshell/pkg-plist
+4-73 files

LLVM/project ce43019 — llvm/lib/Transforms/IPO Annotation2Metadata.cpp, llvm/test/Transforms/Util annotation2metadata-preserve-analyses.ll

Annotation2Metadata: Preserve function analyses

Only !annotation metadata is added, which does not affect any function
analyses (and probably would never?)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+25-0llvm/test/Transforms/Util/annotation2metadata-preserve-analyses.ll
+8-2llvm/lib/Transforms/IPO/Annotation2Metadata.cpp
+33-22 files

LLVM/project b27f433 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.h SLPUtils.cpp

[𝘀𝗽𝗿] initial version

Created using spr 2.0.0-beta.1
DeltaFile
+148-231llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+88-10llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+84-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+18-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+338-2414 files

LLVM/project e59031e — offload/test/offloading task_detach.c, openmp/device/include DeviceTypes.h Interface.h

[OpenMP] Minimally support detachable tasks in the device runtime

The device runtime has no __kmpc_task_allow_completion_event or
omp_fulfill_event, so a task with a detach clause in a target region
fails to link.

Tasks on the device are executed immediately by the encountering thread
and are complete once their structured block has finished, so there is
no completion event to register. Return a null event handle, and make
omp_fulfill_event do nothing.

Co-Authored-By: Carlo Bertolli <carlo.bertolli at amd.com>
Co-Authored-By: Greg Rodgers <Gregory.Rodgers at amd.com>
Assisted-By: Claude
DeltaFile
+37-0offload/test/offloading/task_detach.c
+13-0openmp/device/src/Tasking.cpp
+5-0openmp/device/include/Interface.h
+2-0openmp/device/include/DeviceTypes.h
+57-04 files

LLVM/project 66aa4f1 — llvm/lib/Transforms/Instrumentation KCFI.cpp

[NFC][KCFI] Factor out lowerTrapBundles and lowerTrapCheck (#245494)

Extract the generic trapping KCFI bundle lowering loop into helper
functions
and replace the unused TargetMachine.h include with Triple.h to prepare
for
lowering diagnostic KCFI bundles in a follow-up change.

Assisted-by: Gemini
DeltaFile
+57-48llvm/lib/Transforms/Instrumentation/KCFI.cpp
+57-481 files

LLVM/project 462f45d — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP task_privates_map_addrspace.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+83-0offload/test/offloading/target_task_privates.c
+41-0clang/test/OpenMP/task_privates_map_addrspace.c
+18-10clang/lib/CodeGen/CGStmtOpenMP.cpp
+142-103 files

NetBSD/src XPAhtX9 — sbin/dmesg dmesg.8

   dmesg(8): mdoc tweaks
VersionDeltaFile
1.28+19-11sbin/dmesg/dmesg.8
+19-111 files

LLVM/project 32a1e4d — llvm/lib/CodeGen/GlobalISel Utils.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel combine-freeze-addrspacecast.mir

[GlobalISel] Treat G_ADDRSPACE_CAST as able to create poison (#245701)

GlobalISel's `canCreateUndefOrPoison` treats `G_ADDRSPACE_CAST` like any
other cast and says it cannot create poison, so the pre-legalizer
combiner pushes a freeze above it:

```mir
%1:_(p3) = nonnull G_ADDRSPACE_CAST %0
%2:_(p3) = G_FREEZE %1
```

becomes

```mir
%3:_(p0) = G_FREEZE %0
%2:_(p3) = nonnull G_ADDRSPACE_CAST %3
```

The result of an address space cast is target-defined, and with

    [13 lines not shown]
DeltaFile
+44-0llvm/test/CodeGen/AMDGPU/GlobalISel/combine-freeze-addrspacecast.mir
+2-0llvm/lib/CodeGen/GlobalISel/Utils.cpp
+46-02 files

LLVM/project 6c2667d — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC]Store in loop for future patches, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/245775
DeltaFile
+7-5llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+7-51 files

LLVM/project 30ce2ae — llvm/test/Instrumentation/AllocToken preserve-function-analyses.ll, llvm/test/Transforms/Coroutines coro-early-preserve-function-analyses.ll

Disable analysis invalidation verification in more tests

These debug-pass-manager tests fail with EXPENSIVE_CHECKS, which enables
the verification and adds extra lines to the output.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-2llvm/test/Transforms/Coroutines/coro-early-preserve-function-analyses.ll
+1-1llvm/test/Transforms/OpenMP/preserve-function-analyses.ll
+1-1llvm/test/Transforms/ExpandVariadics/preserve-function-analyses.ll
+1-1llvm/test/Transforms/ExpandVariadics/no-callers-report-change.ll
+1-1llvm/test/Instrumentation/AllocToken/preserve-function-analyses.ll
+6-65 files

LLVM/project 8864ec9 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/unittests/CIR CallOpTest.cpp

fixup! [CIR] Handle Indirect call in getter and setter of callee
DeltaFile
+146-0clang/unittests/CIR/CallOpTest.cpp
+20-9clang/include/clang/CIR/Dialect/IR/CIROps.td
+166-92 files

LLVM/project 6948459 — llvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/GlobalISel Utils.cpp CombinerHelper.cpp

[CodeGen] Remove separate floating point boolean contents (#245700)

Remove the rest of the changes from D4389, which let a target use
different boolean contents for floating point compares than for integer
compares. Mips R6 was the only user and that was removed in #245469.

- Remove BooleanFloatContents and the two argument setBooleanContents().
- getBooleanContents() no longer takes an isFloat argument.
- Remove the IsFP argument from the GlobalISel helpers that wrapped it
  (getBoolExtOp, buildBoolExt, buildBoolExtInReg, isConstTrueVal,
  isConstFalseVal, getICmpTrueVal).
- Remove the int/fp special cases in foldSelectOfConstants() and
  ScalarizeVecRes_VSELECT().

NFC.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-25llvm/include/llvm/CodeGen/TargetLowering.h
+13-21llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+2-19llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+5-11llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+2-13llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+7-8llvm/lib/CodeGen/GlobalISel/Utils.cpp
+39-9711 files not shown
+70-14317 files

LLVM/project 8bc3761 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp LowerToLLVMMetadata.cpp, clang/test/CIR/CodeGenCUDA kernel-execution-metadata.cu

[CIR][OpenCL] Lower kernel execution metadata to LLVM dialect

Lower CIR kernel execution metadata to LLVM dialect function attributes for work-group sizes and vector type hints. Derive the vector hint signedness flag from the CIR scalar or vector element type before conversion, and let LLVM IR translation materialize the metadata.

Propagate unsupported hint type conversions as failures and omit function-only metadata from aliases. Check OpenCL and CUDA/HIP SPIR-V emission against classic CodeGen, including high-bit dimensions and signed, unsigned, and floating-point hints.

Assisted-by: Codex / GPT-6
DeltaFile
+45-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.cpp
+34-0clang/test/CIR/Lowering/opencl-kernel-execution-metadata.cir
+24-6clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMMetadata.cpp
+29-1clang/test/CIR/CodeGenOpenCL/kernel-execution-metadata.cl
+12-6clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+17-0clang/test/CIR/CodeGenCUDA/kernel-execution-metadata.cu
+161-133 files not shown
+191-169 files

LLVM/project c9bb82a — clang/lib/CIR/CodeGen CIRGenFunction.cpp CIRGenModule.cpp, clang/test/CIR/CodeGen device-kernel-execution-metadata.c

[CIR][OpenCL] Emit kernel execution metadata in CIR

Preserve the kernel execution attributes accepted by Sema on OpenCL kernels and CUDA/HIP kernels targeting SPIR-V. Evaluate work-group dimensions as constants and retain vector type hints as semantic CIR types.

Keep kernel argument metadata emission restricted to OpenCL kernels, and omit execution metadata when no execution attributes are present.

Assisted-by: Codex / GPT-6
DeltaFile
+47-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+42-0clang/test/CIR/CodeGenOpenCL/kernel-execution-metadata.cl
+14-0clang/test/CIR/CodeGenCUDA/kernel-execution-metadata.cu
+13-0clang/test/CIR/CodeGen/device-kernel-execution-metadata.c
+8-2clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+6-0clang/test/CIR/CodeGenCUDA/kernel-execution-metadata-errors.cu
+130-21 files not shown
+134-27 files

LLVM/project 327f9e2 — clang/include/clang/CIR/Dialect/IR CIRDialect.td CIROpenCLAttrs.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp CIROpenCLAttrs.cpp

[CIR][OpenCL] Add kernel execution metadata attribute

Represent `reqd_work_group_size`, `work_group_size_hint`, and `vec_type_hint` as a CIR function attribute. Store work-group dimensions as three unsigned 32-bit values encoded in i32 arrays, and require them to be all zero or all nonzero.

Restrict vector type hints to CIR integer and floating-point scalars or fixed vectors of those types. Preserve integer signedness in the hinted CIR type so LLVM lowering can derive its metadata flag without a redundant field.

Assisted-by: Codex / GPT-6
DeltaFile
+81-0clang/test/CIR/IR/invalid-opencl-kernel-execution-metadata.cir
+51-0clang/lib/CIR/Dialect/IR/CIROpenCLAttrs.cpp
+37-0clang/test/CIR/IR/opencl-kernel-execution-metadata.cir
+25-8clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+33-0clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+1-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+228-86 files

NetBSD/src eByHUge — sys/arch/m68k/m68k pmap_68k.c

   - Always track our lev1pa and only set the %urp if it's actually changed,
     thus saving a user ATC invalidation if we switch back to the same
     pmap.  Instrumentation shows this happens about 50% of the time during
     an ATF run.
   - Loosen some overly strict KASSERT-ions that fired during an ATF run,
     but put assertions around *those* edge cases.
   - Track if an ATC invalidation was due to an "enter", a "remove",
     a "protection", or a "cache status change".
   - In pmap_remove_all(), we can use the regular pmap garbage-collection
     scheme, because uvmspace_exec() follows the pmap_remove_all() call
     with a pmap_update() call.
   - In pmap_destroy(), perform a pmap_update() before actually destroying
     the pmap when the last reference is dropped.  This is because
     uvmspace_free() calls pmap_remove_all() without following with a
     pmap_update().  This is a perfectly reasonable optimization for
     uvmspace_free() to do, but yah, we need to take care of it ourselves.
VersionDeltaFile
1.113+198-50sys/arch/m68k/m68k/pmap_68k.c
+198-501 files

LLVM/project c816cc7 — llvm/lib/Analysis LoopAccessAnalysis.cpp, llvm/test/Analysis/LoopAccessAnalysis invariant-accesses-disjoint.ll

[LAA] Find no dependence between non-overlapping loop-invariant accesses

A loop-invariant access touches the same bytes in every iteration, so
two of them are independent iff they do not overlap. LAA proved that
only by showing one ends before the other begins, e.g. p + 4 <=u p + 8
for a and c below, which fails unless SCEV knows the addresses do not
wrap. Otherwise it reported an unknown dependence and gave up on the
loop, so a loop that updates three or more fields of a struct through a
pointer was not vectorized:

  struct trio { int a, b, c; };
  void acc3(struct trio *p, const int *x, int n) {
    for (int i = 0; i < n; i++) {
      p->a += x[i];
      p->b ^= x[i];
      p->c |= x[i];
    }
  }


    [14 lines not shown]
DeltaFile
+8-48llvm/test/Analysis/LoopAccessAnalysis/invariant-accesses-disjoint.ll
+15-4llvm/lib/Analysis/LoopAccessAnalysis.cpp
+23-522 files

OPNSense/core d73d61a — src/opnsense/scripts/filter/lib/alias arpcache.py, src/opnsense/scripts/suricata rule-updater.py

misc: safeguard lock files in /tmp a bit further.
DeltaFile
+3-0src/opnsense/scripts/filter/lib/alias/arpcache.py
+1-1src/opnsense/scripts/unbound/blocklists.py
+1-1src/opnsense/scripts/suricata/rule-updater.py
+5-23 files

LLVM/project 0ee8785 — llvm/lib/Transforms/IPO Attributor.cpp

Attributor: Skip looking for callback uses if the callee has no callbacks (#240720)

getAssociatedArgument collected the callback uses of the call even if
the callee has no !callback metadata. Return the callee argument
directly in that case.

CTMark instructions:u with -attributor-enable=light changes by O3
-0.03%, ThinLTO -0.04%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+13-3llvm/lib/Transforms/IPO/Attributor.cpp
+13-31 files

LLVM/project 0f44633 — lldb/source/Plugins/SymbolFile/DWARF SymbolFileDWARFDwo.h SymbolFileDWARF.h, lldb/test/Shell/SymbolFile/DWARF/x86 split-dwarf-parse-statistics.cpp

[lldb] Count split DWARF parsing in debugInfoParseTime (#245335)

With split DWARF, LLDB times DIE parsing in a .dwo or .dwp file on that
file's `SymbolFileDWARFDwo`, which `statistics dump` never reads, so
`debugInfoParseTime` and `totalDebugInfoParseTime` left out nearly all
DIE parsing.

This change has `SymbolFileDWARFDwo` add its parse time to the main
symbol file's timer. A skeleton unit now stops its timer before parsing
its .dwo unit, which would otherwise count that time twice.

Expect `debugInfoParseTime` and `totalDebugInfoParseTime` to jump for
split DWARF binaries after this change. The parsing itself isn't new,
only its reporting is. Like the rest of the parse time, it is summed
over the threads that parse units in parallel, so it can exceed wall
time.
DeltaFile
+60-0lldb/test/Shell/SymbolFile/DWARF/x86/split-dwarf-parse-statistics.cpp
+11-4lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
+5-5lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+4-2lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
+6-0lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
+2-0lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
+88-111 files not shown
+89-117 files

LLVM/project 48c101a — llvm/lib/CodeGen RegAllocFast.cpp

Fix formatting issues in RegAllocFast.cpp
DeltaFile
+1-1llvm/lib/CodeGen/RegAllocFast.cpp
+1-11 files

LLVM/project 9eff02a — llvm/include/llvm/Transforms/IPO Attributor.h

[Attributor] Check the allowed kinds once per lookup

getOrCreateAAFor checked the allowed kinds, and then lookupAAFor and
shouldInitialize checked them again. Check once in getOrCreateAAFor.
The extra checks cost up to 0.3% in the full Attributor.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+13-8llvm/include/llvm/Transforms/IPO/Attributor.h
+13-81 files

HardenedBSD/ports f538cb8 — print/lyx/files patch-src_support_debug.cpp, security/openssl36 Makefile pkg-plist

Merge remote-tracking branch 'rad/freebsd/main' into hardenedbsd/main

Conflicts:
        security/openssl36/Makefile (deleted)
DeltaFile
+0-540security/openssl36/files/extra-patch-ktls
+323-45sysutils/zellij/distinfo
+0-286security/openssl36/pkg-plist
+0-208security/openssl36/Makefile
+161-22sysutils/zellij/Makefile.crates
+129-0print/lyx/files/patch-src_support_debug.cpp
+613-1,1012,792 files not shown
+3,806-2,5452,798 files

LLVM/project dee4284 — llvm/test/CodeGen/X86 regallocfast-unspillable-hint.mir

Apply suggestion from @nickdesaulniers

Co-authored-by: Nick Desaulniers <ndesaulniers at google.com>
DeltaFile
+1-3llvm/test/CodeGen/X86/regallocfast-unspillable-hint.mir
+1-31 files

FreeBSD/ports 1f1835a — cad/opencascade740 Makefile

cad/opencascade740: Deprecate, depends on unsupported Qt5
DeltaFile
+4-1cad/opencascade740/Makefile
+4-11 files

FreeBSD/ports 98796bd — science/massxpert Makefile

science/massxpert: Deprecate, depends on unsupported Qt5
DeltaFile
+4-1science/massxpert/Makefile
+4-11 files

FreeBSD/ports 7399153 — math/plplot Makefile pkg-plist

math/plplot: Remove Qt5 option

Qt5 is EOL.
DeltaFile
+0-16math/plplot/pkg-plist
+3-6math/plplot/Makefile
+3-222 files

FreeBSD/ports 0fe6559 — sysutils/tarsnap-gui Makefile

sysutils/tarsnap-gui: Deprecate, depends on unsupported Qt5
DeltaFile
+4-1sysutils/tarsnap-gui/Makefile
+4-11 files