LLVM/project d3b6ad1mlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Reapply Add ConversionTarget dynamic legality C API (#207104) (#207253)

Fixes LeakSanitizer failure from #206161 (reverted in #207104);
`mlirFreezeRewritePattern` moves contents out of the `RewritePatternSet`
but does not free the container (passed by value in the C API), so the
allocation from `mlirRewritePatternSetCreate` was never freed (add
`mlirRewritePatternSetDestroy(patterns)` after freezing).
DeltaFile
+181-0mlir/test/CAPI/rewrite.c
+60-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+44-0mlir/include/mlir-c/Rewrite.h
+285-03 files

NetBSD/pkgsrc-wip de53443rust-beta options.mk

rust-beta: follow main changes

Note this packages needs to be updated to the current beta iteration.
I'll do this soon but, I'm currently AFK.
DeltaFile
+83-6rust-beta/options.mk
+83-61 files

LLVM/project e49c8a0libcxx/include string, libcxx/include/__cxx03 string

[libc++] Base string's alignment on __STDCPP_DEFAULT_NEW_ALIGNMENT__ (#171785)

This allows users to influence how much we overalign `string`s
allocations and tune it to the new/delete implementation via
`-fnew-alignment`. If we don't have `__STDCPP_DEFAULT_NEW_ALGINMENT__`
or we're not using `std::allocator`, we default to an alignment of
`sizeof(void*)`.
DeltaFile
+30-0libcxx/test/libcxx/strings/basic.string/new_alignment.sh.cpp
+15-9libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
+12-1libcxx/include/__cxx03/string
+11-1libcxx/include/string
+2-7libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
+5-2libcxx/test/libcxx-03/strings/basic.string/string.capacity/allocation_size.pass.cpp
+75-203 files not shown
+88-239 files

LLVM/project 1030639lld/ELF LinkerScript.cpp

[ELF] Precompute orphan output section names in parallel. NFC (#207321)

addOrphanSections computes getOutputSectionName serially for every live
orphan section. Without --emit-relocs/-r, the name is a pure function of
the section: precompute the names with a parallelFor.
DeltaFile
+16-4lld/ELF/LinkerScript.cpp
+16-41 files

LLVM/project 3d54bedllvm/include/llvm/IR IRBuilder.h, llvm/lib/CodeGen AtomicExpandPass.cpp

Update for comments
DeltaFile
+9-13llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+14-0llvm/include/llvm/IR/IRBuilder.h
+4-6llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+2-4llvm/lib/CodeGen/AtomicExpandPass.cpp
+29-234 files

OpenBSD/ports KEbJwwLx11/kde-plasma/plasma-workspace Makefile, x11/kde-plasma/plasma-workspace/pkg PLIST

   Fix conflict plasma-desktop version

   New file was added in 6.7 not 6.4 (copy waste issue).
VersionDeltaFile
1.27+1-1x11/kde-plasma/plasma-workspace/pkg/PLIST
1.43+1-1x11/kde-plasma/plasma-workspace/Makefile
+2-22 files

FreeBSD/doc 1236f48shared contrib-additional.adoc

contrib-additional.adoc: add Vyacheslav Olkhovchenkov <slw at zxy.spb.ru>

Add Vyacheslav Olkhovchenkov <slw at zxy.spb.ru> for the port misc/auto-tempo.
DeltaFile
+1-0shared/contrib-additional.adoc
+1-01 files

FreeBSD/ports 674c4d4misc Makefile, misc/auto-tempo Makefile pkg-descr

misc/auto-tempo: Manage Jira Tempo Timesheets worklogs from a text file

AutoTempo manages Jira worklogs through the Tempo Timesheets REST API
using a simple, version-controllable text file.
It can generate a monthly worklog template pre-populated
with working days, expand keyword shortcuts and recurring entries
defined in config.toml, validate daily totals, and apply worklogs
idempotently to Jira. A helper can draft worklogs from local
git commit history.

Targets Tempo Timesheets on Jira Server/Data Center;
authentication uses a Jira personal access token.
The tool is run from a directory containing a config.toml file.

PR:             296427
DeltaFile
+128-0misc/auto-tempo/files/patch-autotempo.py
+35-0misc/auto-tempo/Makefile
+10-0misc/auto-tempo/pkg-descr
+3-0misc/auto-tempo/distinfo
+1-0misc/Makefile
+177-05 files

LLVM/project 7c0b1d3clang/include/clang/AST OpenMPClause.h, clang/lib/Parse ParseOpenMP.cpp

[Clang][OpenMP] Add parsing for dims modifier in num_teams and thread_limit
DeltaFile
+132-24clang/lib/Sema/SemaOpenMP.cpp
+129-0clang/test/OpenMP/dims_modifier_messages.cpp
+63-21clang/lib/Parse/ParseOpenMP.cpp
+72-10clang/include/clang/AST/OpenMPClause.h
+40-0clang/test/OpenMP/dims_modifier_ast_print.cpp
+23-11clang/lib/Sema/TreeTransform.h
+459-6614 files not shown
+577-10720 files

LLVM/project 16a6b51clang/lib/Sema SemaOpenMP.cpp

[NFC][Clang][OpenMP] Simplify checks for num_teams and thread_limit expressions (#207305)

Prepare changes for #206412
DeltaFile
+61-57clang/lib/Sema/SemaOpenMP.cpp
+61-571 files

OpenBSD/src lrs9pIpsys/dev/pci if_bnxt.c

   Attach to BCM5745x devices, which should work as far as I can tell from the
   vendor driver.
VersionDeltaFile
1.70+3-1sys/dev/pci/if_bnxt.c
+3-11 files

OpenBSD/src A1L3iz1sys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2129+9-1sys/dev/pci/pcidevs_data.h
1.2134+3-1sys/dev/pci/pcidevs.h
+12-22 files

OpenBSD/src hpCLFfhsys/dev/pci pcidevs

   Add missing BCM5745x devices, pointed out by Brad
VersionDeltaFile
1.2141+3-1sys/dev/pci/pcidevs
+3-11 files

NetBSD/src gq5Yi43usr.bin/make/filemon filemon_dev.c

   filemon_close:  FILEMON_FLUSH_IOCTL if defined
VersionDeltaFile
1.10+14-1usr.bin/make/filemon/filemon_dev.c
+14-11 files

LLVM/project 602897fllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 vecreduce-add.ll vecreduce-fadd.ll

[DAGCombiner] Reassociate chains of vector reductions (#206471)

`DAGCombiner::reassociateReduction` already folds a single
`add(vecreduce(x), vecreduce(y)) -> vecreduce(add(x, y))`, and the
balanced-tree form `add(add(vecreduce(a), b), add(vecreduce(c), d))`.
It does not, however, handle a linear chain of reductions like the one
SLP emits for x264's SAD:

```
add(reduce(X0), add(reduce(X1), add(reduce(X2), acc)))
```

Only the innermost pair can ever be merged; the cascade breaks and every
reduction survives to lowering, giving one `vredsum` (or one `uadalp` step,
etc.) per term.

This PR adds a third form to `reassociateReduction`:

```

    [17 lines not shown]
DeltaFile
+74-82llvm/test/CodeGen/RISCV/rvv/fixed-vectors-sad.ll
+136-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-zvdot4a8i.ll
+97-0llvm/test/CodeGen/RISCV/rvv/zvdot4a8i-sdnode.ll
+36-35llvm/test/CodeGen/AArch64/vecreduce-add.ll
+36-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+17-9llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
+396-1261 files not shown
+399-1327 files

OpenBSD/src 2mPz1sVsys/dev/pci if_mcx.c

   use the same rwlock for queue kstats as other kstat instances

   ok dlg@
VersionDeltaFile
1.123+2-1sys/dev/pci/if_mcx.c
+2-11 files

LLVM/project 70f945fllvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchLSXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx vexth.ll

[LoongArch] Add DAG combines for vector widening extends

Lower:

```
  SEXT/ZEXT(High-Half-128-Bit-Lanes(vec))
```

to:

```
  LSX:  VEXTH.H.B, VEXTH.W.H, VEXTH.D.W
        VEXTH.HU.BU, VEXTH.WU.HU, VEXTH.DU.WU

  LASX: XVEXTH.H.B, XVEXTH.W.H, XVEXTH.D.W
        XVEXTH.HU.BU, XVEXTH.WU.HU, XVEXTH.DU.WU
```
DeltaFile
+4-54llvm/test/CodeGen/LoongArch/lasx/vexth.ll
+23-12llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+29-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+24-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+6-15llvm/test/CodeGen/LoongArch/lsx/vexth.ll
+86-815 files

LLVM/project d0733c1llvm/test/CodeGen/LoongArch/lasx vexth.ll, llvm/test/CodeGen/LoongArch/lsx vexth.ll

[LoongArch][NFC] Add vector widening extends tests
DeltaFile
+217-0llvm/test/CodeGen/LoongArch/lasx/vexth.ll
+104-0llvm/test/CodeGen/LoongArch/lsx/vexth.ll
+321-02 files

FreeBSD/ports 071bc94devel/sem distinfo Makefile.crates

devel/sem: Update to 0.16.1
DeltaFile
+11-3devel/sem/distinfo
+5-1devel/sem/Makefile.crates
+1-1devel/sem/Makefile
+17-53 files

LLVM/project e69038fclang/include/clang/ScalableStaticAnalysis/Core/EntityLinker MultiArchSharedLibrary.h, clang/lib/ScalableStaticAnalysis/Core/Serialization/JSONFormat MultiArchSharedLibrary.cpp

[clang][ssaf] Add `MultiArchSharedLibrary` data structure (#206854)

This change introduces `MultiArchSharedLibrary` data structure that wraps per-architecture `LUSummaryEncoding` members. This is the SSAF analogue of a fat shared library. The overall design mirrors the existing `MultiArchStaticLibrary` design: each member identifies the same logical library built for a different target triple. Support for constructing and consuming this object will be added in a future PR.

rdar://181164537
DeltaFile
+163-0clang/lib/ScalableStaticAnalysis/Core/Serialization/JSONFormat/MultiArchSharedLibrary.cpp
+105-0clang/test/Analysis/Scalable/ssaf-format/MultiArchSharedLibrary/top-level.test
+79-0clang/test/Analysis/Scalable/ssaf-format/Artifact/Inputs/rt-multi-arch-shared-library-nonempty.json
+79-0clang/test/Analysis/Scalable/ssaf-format/MultiArchSharedLibrary/Inputs/rt-nonempty-members.json
+74-0clang/include/clang/ScalableStaticAnalysis/Core/EntityLinker/MultiArchSharedLibrary.h
+55-0clang/test/Analysis/Scalable/ssaf-format/MultiArchSharedLibrary/round-trip.test
+555-041 files not shown
+1,210-3147 files

LLVM/project 5467f71clang/lib/Sema SemaOpenMP.cpp

Fix format
DeltaFile
+2-3clang/lib/Sema/SemaOpenMP.cpp
+2-31 files

LLVM/project 98e8ac7clang/lib/Sema SemaOpenMP.cpp

Fix review comment
DeltaFile
+1-1clang/lib/Sema/SemaOpenMP.cpp
+1-11 files

LLVM/project 8aaa28ellvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Transforms/LoopVectorize/RISCV interleaved-cost.ll

[RISCV] Cost legal interleaved memory ops correctly for code size (#207162)

This doesn't yet handle interleaved memory ops with a factor > 8 or with
a gap mask, that still needs to be handled below.
DeltaFile
+85-0llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll
+3-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+88-02 files

LLVM/project c671e80lld/ELF Writer.cpp

[ELF] Parallelize demoteSymbolsAndComputeIsPreemptible (#207310)

Each symbol's demotion and isPreemptible bit is independent.
Linking clang release is 1.02x as fast on an x86-64 machine.
DeltaFile
+23-17lld/ELF/Writer.cpp
+23-171 files

LLVM/project b4e651bllvm/utils/lit/lit util.py InprocBuiltins.py

lit: improve long path support on Windows (#207250)

This pull request improves Windows path handling in the
`llvm/utils/lit/lit` utilities by introducing and applying an `extended`
function to correctly format file paths for Windows APIs, especially for
long paths and UNC paths. The changes ensure that file operations such
as removal and redirection work reliably on Windows systems.

**Windows path handling improvements:**

* Added an `extended` function in both `InprocBuiltins.py` and
`ShellEnvironment.py` to convert paths to the extended-length format
required by Windows, handling both regular and UNC paths.
[[1]](diffhunk://#diff-7b75d403cff61cebbd12ef3915054dee6a887deaa2300fbc73a33f64ce2d1255R179-R186)
[[2]](diffhunk://#diff-31c539a1c64eb53261e543eeda1966733230d2b7613f5d500deed3f2f1ce2baeR121-R128)
* Applied the `extended` function to file removal operations in
`InprocBuiltins.py`, ensuring paths are properly formatted before
deletion, which helps avoid issues with long or special Windows paths.
* Used the `extended` function for redirected file paths in
`ShellEnvironment.py`, ensuring that redirections to files handle
Windows path limitations correctly.
DeltaFile
+25-0llvm/utils/lit/lit/util.py
+1-0llvm/utils/lit/lit/InprocBuiltins.py
+1-0llvm/utils/lit/lit/ShellEnvironment.py
+27-03 files

Linux/linux 51512e2arch/x86/kernel/cpu bugs.c, kernel/bpf core.c verifier.c

Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Pull BPF fixes from Daniel Borkmann:

 - Initialize task local storage before fork bails out to free the task
   (Jann Horn)

 - Fix insn_aux_data leak on verifier error path (KaFai Wan)

 - Reject BPF inode storage map creation when BPF LSM is uninitialized
   (Matt Bobrowski)

 - Mask pseudo pointer values in verifier logs when pointer leaks are
   not allowed (Nuoqi Gui)

 - Harden BPF JIT against spraying via IBPB flush (Pawan Gupta)

 - Reject a skb-modifying SK_SKB stream parser since the latter is only
   meant to measure the next message (Sechang Lim)

    [21 lines not shown]
DeltaFile
+62-6kernel/bpf/core.c
+45-5arch/x86/kernel/cpu/bugs.c
+23-11kernel/bpf/verifier.c
+34-0tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c
+31-0tools/testing/selftests/bpf/prog_tests/sockmap_strp.c
+0-22tools/testing/selftests/bpf/progs/sockmap_parse_prog.c
+195-4417 files not shown
+297-6223 files

LLVM/project 1bddfa5llvm/test/CodeGen/RISCV/rvv fixed-vectors-lmul-max.ll

[RISCV] Fix multiline RUN line in fixed-vectors-lmul-max.ll. NFC (#207309)

llvm-lit failed to parse the RUN line because we were missing a \ and a
second
RUN on the line below. The codegen has changed in the meantime but
because it
never parsed, llvm-lit always treated this test as passing.
DeltaFile
+18-14llvm/test/CodeGen/RISCV/rvv/fixed-vectors-lmul-max.ll
+18-141 files

LLVM/project 760bb06llvm/include/llvm/IR ModuleSummaryIndex.h ModuleSummaryIndexYAML.h, llvm/lib/Bitcode/Writer BitcodeWriter.cpp

[ThinLTO] Change GlobalValueSummaryMapTy from std::map to DenseMap+deque (#157839)

Replace GlobalValueSummaryMapTy with a custom container using DenseMap
for O(1) lookup and std::deque for storage with pointer stability. Sort
by GUID at serialization points to preserve deterministic output order.

RFC:
https://discourse.llvm.org/t/rfc-change-globalvaluesummarymapty-from-std-map-to-llvm-densemap-for-thin-linking-performance/88191
DeltaFile
+95-8llvm/include/llvm/IR/ModuleSummaryIndex.h
+7-3llvm/lib/IR/AsmWriter.cpp
+6-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+5-1llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+2-1llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
+115-165 files

FreeBSD/ports 760f52awww/p5-Test-Nginx Makefile distinfo

www/p5-Test-Nginx: update to 0.32.
DeltaFile
+7-6www/p5-Test-Nginx/Makefile
+3-3www/p5-Test-Nginx/distinfo
+10-92 files

LLVM/project 4fad93blibcxx/include/__vector layout.h

[libc++] Use _LIBCPP_NO_UNIQUE_ADDRESS for the new vector layout (#207149)

We use `_LIBCPP_NO_UNIQUE_ADDRESS`, since a plain
`[[no_unique_address]]` doesn't work on Windows.
DeltaFile
+1-1libcxx/include/__vector/layout.h
+1-11 files