LLVM/project f021128 — libcxx/include module.modulemap.in, libcxx/include/__pstl/backends statpart.h

[libc++][pstl] Implementation of parallel inclusive scan based on decoupled lookback (#238772)

This PR adds a new basis operation to the `statpart` backend:
`__lookback_scan()`.
This function is a basic building block for the family of single-pass
scanning operations: `inclusive_scan`, `exclusive_scan`,
`transform_inclusive_scan`, `transform_exclusive_scan`, `copy_if`,
`remove`, `remove_if`, `remove_copy`, `remove_copy_if`, `unique`,
`unique_copy`.
The approach is based on the paper "Single-pass Parallel Prefix Scan
with Decoupled Look-back".

The first algorithm to use it is `std::transform_inclusive_scan()`,
whose implementation is also included in the patch.
Since the declarations and the tests were already provided previously,
now this algorithm becomes parallel when the `statpart` backend is used.
DeltaFile
+214-0libcxx/include/__pstl/backends/statpart/decoupled_lookback.h
+186-0libcxx/test/libcxx/algorithms/pstl.statpart.decoupled_lookback.pass.cpp
+185-0libcxx/include/__pstl/backends/statpart/transform_inclusive_scan.h
+138-0libcxx/include/__pstl/backends/statpart/basis.h
+6-0libcxx/include/module.modulemap.in
+2-0libcxx/include/__pstl/backends/statpart.h
+731-01 files not shown
+733-07 files

LLVM/project 293a85c — llvm/docs AMDGPUAsyncOperations.md, llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU] Implement AsyncMark Stages (#220442)

Enables asyncmark operations to append and remove asyncmarks from
per-stage sequences, instead of a single sequence. Both
llvm.amdgcn.asyncmark and llvm.amdgcn.wait.asyncmark take a constant
stage mask in which a set bit names a stage; the operation acts only on
the sequences of the stages it names. The zero mask is special and names
every stage, which preserves the original behavior; old IR is
auto-upgraded to pass a zero mask.
DeltaFile
+784-0llvm/test/CodeGen/AMDGPU/asyncmark-stage.ll
+160-154llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+285-0llvm/test/CodeGen/AMDGPU/asyncmark-stage-merge.mir
+221-62llvm/docs/AMDGPUAsyncOperations.md
+227-0llvm/test/CodeGen/AMDGPU/asyncmark-loop-carried.mir
+219-0llvm/test/CodeGen/AMDGPU/asyncmark-stage-max.mir
+1,896-21636 files not shown
+3,030-60542 files

LLVM/project 4955dfb — mlir/lib/Conversion/XeGPUToXeVM XeGPUToXeVM.cpp, mlir/test/Conversion/XeGPUToXeVM loadstore_matrix.mlir

[mlir][XeGPU] Fix matrix op lowering for a payload that is not contiguous (#228638)

This PR fixes LoadStoreMatrixToXeVMPattern, which discards the payload
shape and emits one flat llvm.load/llvm.store at the linearized offset
of the first coordinate. That assumes the payload occupies that many
consecutive elements, which only holds when its extent lies along the
dimension whose stride is 1.

For a vector<2x1xf32> payload of a row-major 4x4 tile at [1, 2], the two
elements are (1,2) and (2,2) — linear 6 and 10. The lowering writes 6
and 7, so one element lands in the wrong row. The shape was never
checked against the strides, only asserted to have at most one non-unit
dimension, which 2x1 satisfies.

This is required to support convert_layout lowering whose shape size is
driven by producer/consumer op, so when it lowers to slm store and load,
it may not fit to one slm load/store instruction.

The payload is now split into the largest pieces that are contiguous in

    [9 lines not shown]
DeltaFile
+174-21mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
+55-0mlir/test/Conversion/XeGPUToXeVM/loadstore_matrix.mlir
+229-212 files

LLVM/project 7dcb67e — clang/lib/Sema SemaOpenACC.cpp SemaOpenACCClause.cpp, clang/test/SemaOpenACC subarray-objc-pointer.mm reduction-fixed-point.c

[OpenACC] Fix FixedPoint/ObjC types in a OpenACC directive (#239643)

The original patches for OpenACC didn't consider that ObjC types are
'anyPointerType', which we don't have proper semantics to use. This
patch alters them to reject them.

While working through examples, I discovered that we have a similar
problem with the 'fixed point' types, so reject them for now.

AI Disclosure: Claude helped write tests.

Fixes: #239483
DeltaFile
+87-0clang/test/SemaOpenACC/objc-var-types.mm
+39-0clang/test/SemaOpenACC/reduction-fixed-point.c
+25-0clang/test/SemaOpenACC/subarray-objc-pointer.mm
+4-2clang/lib/Sema/SemaOpenACC.cpp
+5-1clang/lib/Sema/SemaOpenACCClause.cpp
+160-35 files

FreeNAS/freenas 6adfe2f —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas af1adbb —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 38db7b9 — src/middlewared/middlewared/test/integration/runner config.py args.py

NAS-145133 / 28.0.0-BETA.1 / Accept `--enterprise_tests` (#20158)
DeltaFile
+6-0src/middlewared/middlewared/test/integration/runner/args.py
+1-0src/middlewared/middlewared/test/integration/runner/config.py
+7-02 files

LLVM/project f574ef7 — flang/include/flang/Optimizer/OpenACC Passes.td, flang/lib/Optimizer/OpenACC/Transforms CMakeLists.txt ACCOptimizeDataMapping.cpp

[flang][acc] Introduce data mapping optimization pass for copy (#239398)

Change an implicit copy to a copyin for named constants and for
variables that are not modified inside the compute region.
DeltaFile
+217-0flang/test/Transforms/OpenACC/acc-optimize-data-mapping.fir
+174-0flang/lib/Optimizer/OpenACC/Transforms/ACCOptimizeDataMapping.cpp
+10-0flang/include/flang/Optimizer/OpenACC/Passes.td
+1-0flang/lib/Optimizer/OpenACC/Transforms/CMakeLists.txt
+402-04 files

LLVM/project 8b7f319 — clang/lib/Headers hvx_hexagon_protos.h, llvm/include/llvm/IR IntrinsicsHexagonDep.td

[Hexagon] Add V83 support to compiler and assembler (#238007)

[Hexagon] Add V83 support to compiler and assembler

    Add Hexagon V83 as an architecture target, including new V83
    instructions.

Plumbing: arch/HVX subtarget features and predicates, processor model
and scheduling itineraries, subtarget queries, MC target support, and
    clang driver/preprocessor support.

    Instructions: scalar RTOS call/jump (_rb) and allocframe variants,
    trap2, the vallocframe/vdeallocframe vector-stack ops, scalar
    floating-point audio ops (F7_*), and new HVX ALU and multiply
    instructions, together with their intrinsics, and clang builtins.
    Also defines the VFRAMELIMIT and VSP control registers used by
    the vector-stack instructions.

    Adds MC and clang tests.

    [9 lines not shown]
DeltaFile
+888-0llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+774-0llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+602-0llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+308-0clang/lib/Headers/hvx_hexagon_protos.h
+214-0llvm/include/llvm/IR/IntrinsicsHexagonDep.td
+138-0llvm/lib/Target/Hexagon/HexagonDepMapAsm2Intrin.td
+2,924-021 files not shown
+3,290-4227 files

LLVM/project 4621caf — clang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h, clang/lib/Analysis CFG.cpp

[LifetimeSafety] Track a temporary materialized by a default argument (#239586)

The CFG does not visit a default argument's expression (PR13385), but it
does expire the temporaries it creates. Such a temporary therefore had
no loan, and a view of it could dangle unreported. Issue the loan at the
CXXDefaultArgExpr, so it is reported at the call.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+115-0clang/test/Sema/LifetimeSafety/safety.cpp
+22-4clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+2-2clang/test/Analysis/more-dtors-cfg-output.cpp
+1-1clang/lib/Analysis/CFG.cpp
+2-0clang/lib/Sema/SemaLifetimeSafety.h
+1-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+143-76 files

FreeBSD/ports 370edf3 — net/librdkafka distinfo pkg-plist, net/librdkafka/files patch-CMakeLists.txt patch-tests_test.h

net/librdkafka: Update 2.8.0 => 2.16.0

Since it's a lot of version updates, it's advised to see the Changelog.

Changelog:
https://github.com/confluentinc/librdkafka/blob/v2.16.0/CHANGELOG.md

Port changes:
- Update WWW to the redirected URL.
- Switch to CMake to modernize the build system and generate proper
  SONAME entries.
- Add build option for SASL support.
- Disable building static libraries.
- Attempt to fix some test suite build and run issues.

PR:             299455
Sponsored by:   PANS Jarosław
Reviewed by:    diizzy
Approved by:    pizzamig (maintainer timeout)

    [4 lines not shown]
DeltaFile
+20-16net/librdkafka/Makefile
+16-0net/librdkafka/files/patch-tests_CMakeLists.txt
+12-0net/librdkafka/files/patch-tests_test.h
+5-5net/librdkafka/pkg-plist
+8-0net/librdkafka/files/patch-CMakeLists.txt
+3-3net/librdkafka/distinfo
+64-246 files

LLVM/project 62e03e7 — libc/docs conf.py CMakeLists.txt, libc/docs/_static status.css

[libc][docs] Migrate docgen output to MyST Markdown (#239413)

The rest of libc/docs/ has migrated to MyST Markdown, leaving docgen as
the last generator emitting reStructuredText list-tables with plain
checkmark substitutions.

Switch docgen to emit MyST Markdown with styled HTML status tables that
adapt to Furo's light and dark colour themes and include screen-reader
labels for symbol status badges.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+86-87libc/utils/docgen/docgen.py
+152-0libc/docs/_static/status.css
+44-0libc/utils/docgen/docgen_test.py
+6-6libc/docs/CMakeLists.txt
+1-7libc/docs/conf.py
+4-4libc/docs/dev/building_docs.md
+293-1046 files

FreeBSD/ports 3ae0981 — net/librdkafka/files patch-CMakeLists.txt

net/librdkafka: Add missing patch file

This patch file bumps minimum required CMake version to 3.15.

PR:             299455
Fixes:          4990e4fec116 ("net/librdkafka: Update 2.8.0 => 2.16.0")
DeltaFile
+8-0net/librdkafka/files/patch-CMakeLists.txt
+8-01 files

FreeNAS/freenas 05d6a8b — src/middlewared/middlewared/test/integration/assets pool.py, tests/api2 test_audit_license.py test_audit_system.py

Ban `pytest.skip`
DeltaFile
+6-26tests/api2/test_zfs_resource_create.py
+23-0src/middlewared/middlewared/test/integration/assets/pool.py
+5-16tests/api2/test_draid_record_and_block_size.py
+2-11tests/api2/test_audit_system.py
+6-7tests/api2/test_interface_bridge_member_busy.py
+3-8tests/api2/test_audit_license.py
+45-6810 files not shown
+70-10416 files

FreeBSD/ports 4990e4f — net/librdkafka distinfo pkg-plist, net/librdkafka/files patch-tests_test.h patch-tests_CMakeLists.txt

net/librdkafka: Update 2.8.0 => 2.16.0

Since it's a lot of version updates, it's advised to see the Changelog.

Changelog:
https://github.com/confluentinc/librdkafka/blob/v2.16.0/CHANGELOG.md

Port changes:
- Update WWW to the redirected URL.
- Switch to CMake to modernize the build system and generate proper
  SONAME entries.
- Add build option for SASL support.
- Disable building static libraries.
- Attempt to fix some test suite build and run issues.

PR:             299455
Sponsored by:   PANS Jarosław
Reviewed by:    diizzy
Approved by:    pizzamig (maintainer timeout)

    [2 lines not shown]
DeltaFile
+20-16net/librdkafka/Makefile
+16-0net/librdkafka/files/patch-tests_CMakeLists.txt
+12-0net/librdkafka/files/patch-tests_test.h
+5-5net/librdkafka/pkg-plist
+3-3net/librdkafka/distinfo
+56-245 files

LLVM/project 843ae8e — llvm/lib/Target/RISCV RISCVAsmPrinter.cpp

[NFC][RISCV] Add curly braces around case statement (#239653)

Since TRI is declared after this case statement without a new scope, it
is scoped to the whole switch statement, and thus adding a new case
statement after it would try to jump over the initialisation, which is
not permitted. Add braces so this issue is no longer lurking and new
case statements can be added at the end in future.

Fixes: 228f88fdc8e9 ("[RISCV] Inline Assembly: RVC constraint and N
modifier (#112561)")
DeltaFile
+2-1llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
+2-11 files

LLVM/project 60d8587 — llvm/test/CodeGen/X86 vector-deinterleave7-i16.ll vector-deinterleave8-i64.ll

Merge branch 'main' into users/zero9178/ods-op-td-split
DeltaFile
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+25,861-0llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+25,769-0llvm/test/CodeGen/X86/vector-deinterleave7-i16.ll
+163,516-01,917 files not shown
+850,996-40,7361,923 files

LLVM/project ad9a555 — lld/test/ELF loongarch-relax-call30.s, llvm/lib/Target/LoongArch/MCTargetDesc LoongArchMCTargetDesc.cpp

[LoongArch][MC] Implement findPltEntries to display plt symbols in llvm-objdump (#237362)

Implement `findPltEntries` in LoongArchMCInstrAnalysis, so that
llvm-objdump could display PLT symbols while disassembling PLT section.

```
llvm-objdump -d --no-print-imm-hex --no-show-raw-insn la64-plt

la64-plt:      file format elf64-loongarch

Disassembly of section .plt:

0000000000010320 <.plt>:
   10320:       pcaddu12i       $t2, 32
   10324:       sub.d   $t1, $t1, $t3
   10328:       ld.d    $t3, $t2, 240
   1032c:       addi.d  $t1, $t1, -44
   10330:       addi.d  $t0, $t2, 240
   10334:       srli.d  $t1, $t1, 1

    [14 lines not shown]
DeltaFile
+108-0llvm/test/tools/llvm-objdump/ELF/LoongArch/la64-plt-mold.test
+104-0llvm/test/tools/llvm-objdump/ELF/LoongArch/la64-plt.test
+55-0llvm/test/tools/llvm-objdump/ELF/LoongArch/la32-plt-mold.test
+55-0llvm/test/tools/llvm-objdump/ELF/LoongArch/la32-plt.test
+48-0llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
+2-2lld/test/ELF/loongarch-relax-call30.s
+372-23 files not shown
+379-59 files

FreeBSD/src 8fb539b — sys/amd64/vmm x86.h x86.c

amd64/vmm: Don't advertise AMD PerfMonV2 or performance counters

vmm does not handle CPUID leaf 0x80000022, so a FreeBSD guest on a
Family 19h or later host panics on "kldload hwpmc", which trusts the
PerfMonV2 bit and writes AMD_PMC_GLOBAL_CTL.

Tested by:      Osvaldo Janeri Filho <ojanerif at amd.com>
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Reviewed by:    markj, kib
Differential Revision:  https://reviews.freebsd.org/D61141
DeltaFile
+11-0sys/amd64/vmm/x86.c
+1-0sys/amd64/vmm/x86.h
+12-02 files

FreeBSD/src 0efaebd — sys/dev/hwpmc hwpmc_amd.c

hwpmc: Decline the AMD PerfMonV2 path when GLOBAL_CTL is absent

The v2 path writes AMD_PMC_GLOBAL_CTL whenever the PerfMonV2 CPUID bit
is set. bhyve passes that bit through from the host but does not emulate
the register, so loading hwpmc in a guest on a Family 19h or later host
panics the kernel.

amd_v2_hwcheck_cpu() already probes EVSEL MSRs, so probe GLOBAL_CTL
there too, in order to reject the v2 path and fall back to the generic
CPU class.

Fixes:          9d3064010590 ("hwpmc_amd: add PerfMonV2 global-control path")
Tested by:      Osvaldo Janeri Filho <ojanerif at amd.com>
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Reviewed by:    mhorne, afscoelho at gmail.com
Differential Revision:  https://reviews.freebsd.org/D61133
DeltaFile
+17-3sys/dev/hwpmc/hwpmc_amd.c
+17-31 files

FreeBSD/ports f2169dd — science/py-lifelines distinfo Makefile

science/py-lifelines: update to 0.30.3

This fixes runtime with modern python versions and dependencies stack.

PR:             300002
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+10-8science/py-lifelines/Makefile
+3-3science/py-lifelines/distinfo
+13-112 files

FreeBSD/ports 4bc99a1 — math Makefile, math/py-autograd-gamma pkg-descr distinfo

math/py-autograd-gamma: add new port

autograd compatible approximations to the derivatives of the Gamma-family of
functions.

This is a requirement to update science/py-lifelines to latest version.
DeltaFile
+23-0math/py-autograd-gamma/Makefile
+3-0math/py-autograd-gamma/distinfo
+2-0math/py-autograd-gamma/pkg-descr
+1-0math/Makefile
+29-04 files

LLVM/project fb1a976 — llvm/lib/Target/LoongArch LoongArchTargetTransformInfo.cpp LoongArchSubtarget.cpp, llvm/test/CodeGen/LoongArch opt-pipeline.ll

[LoongArch] Enable LoopDataPrefetch for LA464/LA664 (#239076)

Enable LoopDataPrefetch by default for LA464/LA664, move the prefetch
parameters into `LoongArchSubtarget::initializeProperties` and also
limit the MinPrefetchStride to 2KB.

We've created a micro-benchmark which implements one 8-byte load per
iteration with 50 dependent ALU ops of other work, measured on a
Loongson 3B6000 (LA664).
```
stride      no preld   best preld
<= 64 B     26.2 ns    25.8 ns
1 KiB       30.2 ns    25.9 ns  (only when prefetching 32 iterations ahead)
2 KiB      108.4 ns    28-30 ns (4+ iterations ahead)
16 KiB     110.7 ns    28.5 ns
```
The hardware prefetchers stop tracking a stream somewhere between a 1
KiB and a 2 KiB stride. Below that, software prefetches only add
instructions and increase the run time.

    [14 lines not shown]
DeltaFile
+56-0llvm/test/Transforms/LoopDataPrefetch/LoongArch/large-stride.ll
+7-10llvm/test/Transforms/LoopDataPrefetch/LoongArch/basic.ll
+17-0llvm/lib/Target/LoongArch/LoongArchSubtarget.h
+13-0llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp
+10-1llvm/test/CodeGen/LoongArch/opt-pipeline.ll
+0-4llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
+103-152 files not shown
+104-188 files

FreeNAS/freenas 41c9a2a — src/middlewared/middlewared/plugins/directoryservices_ datastore.py, src/middlewared/middlewared/utils/directoryservices credential.py

Remove deepcopy nonsense
DeltaFile
+41-17tests/unit/test_directoryservices_idmap_ranges.py
+11-7src/middlewared/middlewared/utils/directoryservices/credential.py
+1-3src/middlewared/middlewared/plugins/directoryservices_/datastore.py
+53-273 files

OpenBSD/ports t3K2ojh — devel/py-iso3166 distinfo Makefile, devel/py-iso3166/patches patch-pyproject_toml

   update to py3-iso3166-3.0.0
VersionDeltaFile
1.21+10-12devel/py-iso3166/Makefile
1.1+12-0devel/py-iso3166/patches/patch-pyproject_toml
1.6+2-2devel/py-iso3166/distinfo
1.11+0-1devel/py-iso3166/pkg/PLIST
+24-154 files

FreeBSD/ports e3219b9 — devel/moon Makefile.crates Makefile

devel/moon: update to 2.6.5

Sponsored by:   Netflix
DeltaFile
+5-5devel/moon/distinfo
+1-1devel/moon/Makefile.crates
+1-1devel/moon/Makefile
+7-73 files

FreeBSD/ports 4de6a0c — devel/ghidra distinfo Makefile

devel/ghidra: update to 12.2

PR:             300051
Approved by:    maintainer timeout
DeltaFile
+332-1,514devel/ghidra/pkg-plist
+7-14devel/ghidra/Makefile
+3-3devel/ghidra/distinfo
+342-1,5313 files

FreeBSD/ports 3ea5902 — graphics/vulkan-loader Makefile distinfo

graphics/vulkan-loader: update to 1.4.368
DeltaFile
+3-3graphics/vulkan-loader/distinfo
+1-1graphics/vulkan-loader/Makefile
+4-42 files

FreeBSD/ports 101ebbe — graphics/vulkan-validation-layers Makefile distinfo

graphics/vulkan-validation-layers: update to 1.4.367
DeltaFile
+5-5graphics/vulkan-validation-layers/distinfo
+2-2graphics/vulkan-validation-layers/Makefile
+7-72 files

FreeBSD/ports dada64c — graphics/vulkan-utility-libraries Makefile distinfo

graphics/vulkan-utility-libraries: update to 1.4.368
DeltaFile
+3-3graphics/vulkan-utility-libraries/distinfo
+1-1graphics/vulkan-utility-libraries/Makefile
+4-42 files