LLVM/project 7a8d72f — clang/test/CodeGen target-data.c, llvm/lib/TargetParser TargetDataLayout.cpp

[PowerPC] Use the 16-byte stack and vector alignment on OpenBSD (#245115)

The 64-bit PowerPC data layout appends the stack and vector alignment
components only for AIX, Linux and FreeBSD, so powerpc64-openbsd gets a
shorter layout. OpenBSD also uses the ELFv2 ABI on powerpc64, so there
is no ABI reason for the difference. Without them the natural stack
alignment is left unspecified, which can cause unnecessary dynamic
stack realignment.

Follow-up to #232336, which did the same for FreeBSD.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+9-0llvm/unittests/TargetParser/TripleTest.cpp
+4-3llvm/lib/TargetParser/TargetDataLayout.cpp
+4-0clang/test/CodeGen/target-data.c
+17-33 files

FreeBSD/ports 0b6599b — databases/py-asyncpg distinfo Makefile, databases/py-asyncpg/files patch-pyproject.toml

databases/py-asyncpg: Update to 0.32.0

PR:             299898
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+7-6databases/py-asyncpg/Makefile
+5-5databases/py-asyncpg/files/patch-pyproject.toml
+3-3databases/py-asyncpg/distinfo
+15-143 files

LLVM/project 02e14e8 — clang/include/clang/CIR/Dialect/IR CIRDialect.td CIRCUDAAttrs.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Translate offloading entry attributes to LLVM IR (#241233)

Let -fgpu-rdc reuse llvm::offloading::emitOffloadingEntry instead of
rebuilding the entry layout in CIR
DeltaFile
+44-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+35-0clang/test/CIR/Lowering/cuda-offload-entries.cir
+25-0clang/include/clang/CIR/Dialect/IR/CIRCUDAAttrs.td
+14-0clang/test/CIR/IR/invalid-cuda-offload-entries.cir
+13-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+2-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+133-01 files not shown
+134-07 files

LLVM/project 5fbda96 — mlir/include/mlir/Dialect/SPIRV/IR SPIRVIntelExtOps.td, mlir/lib/Dialect/SPIRV/IR SPIRVOps.cpp

[mlir][SPIR-V] Add spirv.INTEL.FunctionPointerCall op (#245282)

Add OpFunctionPointerCallINTEL from SPV_INTEL_function_pointers for
indirect calls

The verifier checks arguments and result against the pointee function
type
DeltaFile
+60-0mlir/test/Dialect/SPIRV/IR/intel-ext-ops.mlir
+52-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVIntelExtOps.td
+41-0mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
+41-0mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
+29-0mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
+19-0mlir/test/Target/SPIRV/intel-ext-ops.mlir
+242-02 files not shown
+256-08 files

LLVM/project 838a8a7 — clang/include/clang/StaticAnalyzer/Core/PathSensitive ProgramState.h Store.h, clang/lib/StaticAnalyzer/Core ExprEngineC.cpp ExprEngineCXX.cpp

[analyzer] Avoid redundant ProgramState refcounting and copies (#244848)

Every ProgramState retain and release was an out-of-line call, and
creating a state copied it twice: callers build a temporary copy, and
getPersistentState copied that again into the uniqued slot before the
temporary was destroyed. Each copy also retains the store through a
virtual call, and RegionStore's retain/release built a temporary
RegionBindingsRef, adding two more refcount operations.

- Inline the ProgramState retain and the release fast path. The
IntrusiveRefCntPtrInfo members are templates so they are instantiated
only where ProgramState is complete; freeing stays out of line.
- Give ProgramState a move constructor and move the temporary into the
persistent slot.
- Give StoreRef move operations and use them when consuming a StoreRef.
- Retain/release the RegionStore tree root directly.
- Pass ProgramStateRef by const reference along the node creation path
(CheckerContext::addTransition and friends, CoreEngine::makeNode,
ExplodedGraph::getNode).

    [10 lines not shown]
DeltaFile
+45-43clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+24-31clang/lib/StaticAnalyzer/Core/ProgramState.cpp
+15-14clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
+18-8clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
+17-5clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
+10-10clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
+129-11112 files not shown
+196-17318 files

FreeBSD/ports 2550da1 — sysutils/gomi Makefile distinfo

sysutils/gomi: Update to 1.11.0

ChangeLog: https://github.com/babarot/gomi/releases/tag/v1.11.0
DeltaFile
+5-5sysutils/gomi/distinfo
+3-4sysutils/gomi/Makefile
+8-92 files

LLVM/project 0143ad1 — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Merge branch 'archive-lazy-objects-2' into archive-lazy-objects-3
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+15,508-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+143,374-29,38817,685 files not shown
+1,623,131-440,27817,691 files

LLVM/project c72815c — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Merge branch 'archive-lazy-objects-1' into archive-lazy-objects-2
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+15,508-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+143,374-29,38817,685 files not shown
+1,623,090-440,26617,691 files

LLVM/project fc9f6da — lld/MachO Symbols.h Driver.cpp, lld/test/MachO archive-weak-dylib-intervening.s

[lld][MachO] Replace BFS archive worklist with command-line-priority markLiveObjects
DeltaFile
+343-53lld/MachO/InputFiles.cpp
+25-63lld/MachO/SymbolTable.cpp
+59-8lld/MachO/InputFiles.h
+40-0lld/test/MachO/archive-weak-dylib-intervening.s
+29-10lld/MachO/Driver.cpp
+1-17lld/MachO/Symbols.h
+497-1511 files not shown
+498-1527 files

LLVM/project 6247271 — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Merge branch 'main' into archive-lazy-objects-1
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+15,508-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+143,374-29,38817,682 files not shown
+1,622,590-440,11117,688 files

LLVM/project 4d87aab — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Use make_isa_range
DeltaFile
+7-10llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+7-101 files

OpenBSD/src qIkh1gF — sys/ufs/ext2fs ext2fs_vfsops.c

   avoid uninitialised return value in ext2fs_mount()
   ok kirill@
VersionDeltaFile
1.124+2-2sys/ufs/ext2fs/ext2fs_vfsops.c
+2-21 files

FreeBSD/ports 55b4d9d — multimedia/py-guessit Makefile distinfo

multimedia/py-guessit: Update to 4.5.5

ChangeLog: https://github.com/guessit-io/guessit/releases/tag/v4.5.5
DeltaFile
+3-3multimedia/py-guessit/distinfo
+2-2multimedia/py-guessit/Makefile
+5-52 files

LLVM/project 6fa498f — llvm/lib/Transforms/Vectorize LoopVectorizationPlanner.cpp

Drop unnecessary include

It was there for cl::opt.
DeltaFile
+0-1llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
+0-11 files

LLVM/project acda89e — clang/test/CodeGen/AArch64/sve rintp.c rintn.c

[AARCH64] Fix failing builtin tests (#245400)

A recent change to add SVE vector kind information in CIR missed a few
tests in the clang/test/CodeGen/AArch64/sve directory. This change
updates those tests.
DeltaFile
+24-24clang/test/CodeGen/AArch64/sve/rintp.c
+24-24clang/test/CodeGen/AArch64/sve/rintn.c
+24-24clang/test/CodeGen/AArch64/sve/rintm.c
+24-24clang/test/CodeGen/AArch64/sve/rinta.c
+96-964 files

LLVM/project 1dce77a — flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP distribute-parallel-do.f90 distribute-parallel-do-simd.f90

[flang][OpenMP] Evaluate composite DISTRIBUTE clauses outside PARALLEL

In composite DISTRIBUTE PARALLEL DO [SIMD], lowering creates omp.parallel
first, nests omp.distribute inside it, and lowers the DISTRIBUTE clauses
inside the parallel region. Take

```
  !$omp teams distribute parallel do dist_schedule(static, chunk(n))
```

where chunk has variants for construct={teams} and construct={parallel}.
Flang currently emits

```mlir
  omp.teams {
    omp.parallel {
      %c = fir.call @parallel_chunk(...)
      omp.distribute dist_schedule_static dist_schedule_chunk_size(%c) {
```

    [23 lines not shown]
DeltaFile
+44-0flang/test/Lower/OpenMP/declare-variant-construct.f90
+12-8flang/lib/Lower/OpenMP/OpenMP.cpp
+6-4flang/test/Lower/OpenMP/distribute-parallel-do.f90
+6-4flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+68-164 files

FreeBSD/ports c618875 — devel/py-rebulk Makefile distinfo

devel/py-rebulk: Update to 6.0.3

ChangeLog: https://github.com/Toilal/rebulk/releases/tag/v6.0.3
DeltaFile
+3-3devel/py-rebulk/distinfo
+1-1devel/py-rebulk/Makefile
+4-42 files

LLVM/project 989c752 — llvm/test/CodeGen/RISCV/rvv greedy-compact-slot-indexes-spill-slot.ll, llvm/unittests/CodeGen SlotIndexesTest.cpp

[CodeGen] Clarify LiveStacks test comments

Say what to observe in the spill slot test to tell that the slots
were not merged, and make the unit test comment self-contained.
DeltaFile
+8-2llvm/test/CodeGen/RISCV/rvv/greedy-compact-slot-indexes-spill-slot.ll
+3-2llvm/unittests/CodeGen/SlotIndexesTest.cpp
+11-42 files

FreeBSD/src cb354d6 — crypto/openssl BSDmakefile

crypto/openssl: correct messages printed out when copying manpages

Prior to this change section 1's message applied to 3/5/7 and vice
versa. Now the right message is printed out by the Makefile with its
respective operation.

MFC after:      1 week
DeltaFile
+6-6crypto/openssl/BSDmakefile
+6-61 files

FreeBSD/src a1c255f — secure/lib/libcrypto/man/man3 SSL_shutdown.3 ENGINE_add.3, secure/lib/libcrypto/man/man5 x509v3_config.5 fips_config.5

crypto/openssl: sync manpages with current release

The content in the manpages matches 3.5.4 today and we're on 3.5.9.
Update to 3.5.9's content so the manpages reflect the shipped release.

MFC after:      1 week
DeltaFile
+49-46secure/lib/libcrypto/man/man3/ENGINE_add.3
+34-31secure/lib/libcrypto/man/man7/EVP_PKEY-EC.7
+34-31secure/lib/libcrypto/man/man5/config.5
+33-30secure/lib/libcrypto/man/man5/fips_config.5
+32-29secure/lib/libcrypto/man/man5/x509v3_config.5
+32-29secure/lib/libcrypto/man/man3/SSL_shutdown.3
+214-196713 files not shown
+5,792-3,637719 files

LLVM/project 6a9b1f4 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize vplan-based-stride-mv-btc.ll vplan-based-stride-mv.ll

Only rewrite VPExpandSCEVRecipe users that are dominated by the stride check

This "regresses" the code a bit, including relative to LAA-based side
speculation - see
`@stride_dependent_btc`/`@stride_dependent_btc_non_preventive`. We'd
probably need bigger changes around `VPlan::getTripCount` if we'd want
to optimize that in a safe manner.
DeltaFile
+225-163llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+218-78llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv-btc.ll
+32-35llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+24-17llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+499-2934 files

LLVM/project 64150c5 — clang/docs ClangSYCLLinker.md, clang/test/Driver sycl-intel-gpu-arch.cpp

[Clang][SYCL][Object] Compile SYCL device code once per IGCA target (#239010)

Compile SYCL device code once per IGCA target.

Several Intel GPUs can share an IGCA target, e.g. `xe-mtl-u` and
`xe-mtl-h` are both `igca_30r`.
Until now, `-fsycl --offload-arch=xe-mtl-u,xe-mtl-h` compiled the device
code once per GPU.
Now it is compiled once for `igca_30r`, and then for both GPUs with a
single `ocloc -device xe-mtl-h,xe-mtl-u` call.

The device image records the GPUs, as
`arch=igca_30r,code=xe-mtl-h,xe-mtl-u`.
`clang-linker-wrapper` links device code with the same `arch` and `code`
together, passes the GPUs to `clang-sycl-linker` with a new hidden
`--code=` option, and merges the results into one offload binary, as the
SYCL runtime loads only one. To decide which device images are linked
together, `OffloadFile::TargetID` is now a struct with `Triple`, `Arch`
and `Code` instead of a `std::pair`, so that `areTargetsEquivalent` and

    [13 lines not shown]
DeltaFile
+114-21clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+121-0clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper.c
+63-20clang/test/Driver/sycl-intel-gpu-arch.cpp
+51-29clang/docs/ClangSYCLLinker.md
+36-6llvm/include/llvm/Object/OffloadBinary.h
+30-0llvm/unittests/Object/OffloadingTest.cpp
+415-7615 files not shown
+600-10221 files

FreeBSD/src 9ef73e4 — include search.h, lib/libc/stdlib tdestroy.c

tdestroy(3): Take posix_tnode * like the other tsearch(3) functions

tdestroy(3) was originally a glibc extension. glibc does not use
posix_tnode (yet), and when tdestroy(3) was pulled in its signature was
not updated to match the other tsearch(3) functions.

Fixes:          b8c99e7d912f ("libc: add glibc-compatible tdestroy(3)")
Sponsored by:   Klara, Inc.
DeltaFile
+1-1lib/libc/stdlib/tdestroy.c
+1-1include/search.h
+2-22 files

LLVM/project 53ed10d — flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP distribute-parallel-do.f90 distribute-parallel-do-simd.f90

[flang][OpenMP] Evaluate composite DISTRIBUTE clauses outside PARALLEL

In composite DISTRIBUTE PARALLEL DO [SIMD], omp.distribute is nested
inside omp.parallel, and the DISTRIBUTE clauses were evaluated after
omp.parallel was created. A DECLARE VARIANT call in the DIST_SCHEDULE
chunk-size expression therefore matched construct={parallel}, although
DISTRIBUTE encloses PARALLEL in the source, and every thread evaluated
the expression.

Evaluate the DISTRIBUTE clauses before creating omp.parallel, as for the
explicit nesting, and destroy their temporaries once, after omp.parallel.

Fixes #244760

Assisted-by: GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
DeltaFile
+44-0flang/test/Lower/OpenMP/declare-variant-construct.f90
+12-8flang/lib/Lower/OpenMP/OpenMP.cpp
+6-4flang/test/Lower/OpenMP/distribute-parallel-do.f90
+6-4flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+68-164 files

OpenBSD/src gyCsUkX — sys/arch/arm64/dev agintc.c

   Program each redistributor with its own LPI pending table

   for devices with multi-queue interrupt

   assisted by OpenAI

   ok kettenis@
VersionDeltaFile
1.67+57-45sys/arch/arm64/dev/agintc.c
+57-451 files

LLVM/project b20a545 — llvm/unittests/tools/llvm-cfi-verify GraphBuilder.cpp

Disable clang-format for the new byte table

Created using spr 2.0.0-beta.2
DeltaFile
+2-0llvm/unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
+2-01 files

FreeBSD/src 9051201 — tests/sys/fs/fusefs xattr.cc

fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning

tests/sys/fs/fusefs/xattr.cc:572:50: error: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Werror,-Wstrlcpy-strlcat-size]
  572 |                         strlcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
      |                                                                ~~~~~~~^~~~~~~

The warning is correct in that the size is the size of the source, but
that is intended in this case.  Use memcpy() instead of strlcpy() to
match the same code in the size_only_race_smaller test above.

Differential Revision:  https://reviews.freebsd.org/D49786

(cherry picked from commit faae895fec6571242ae05b11bc7eba0dff83fa49)
DeltaFile
+1-1tests/sys/fs/fusefs/xattr.cc
+1-11 files

FreeBSD/ports bd08efd — deskutils/xdg-desktop-portal Makefile

deskutils/xdg-desktop-portal: remove shims for EOL FreeBSD 15.0

Missed in 3bcc752b87a2adce2c2cc389687c2d058c514882

PR:             301059
Approved by:    arrowd (maintainer)
DeltaFile
+1-12deskutils/xdg-desktop-portal/Makefile
+1-121 files

LLVM/project 44ad8ed — flang/lib/Lower/OpenMP Utils.cpp, flang/test/Lower/OpenMP metadirective-target-boundary.f90 declare-variant-spec-expr.f90

[flang][OpenMP] Build the variant construct context from source nesting

Currently, METADIRECTIVE and DECLARE VARIANT selection builds the
construct trait set by walking the MLIR operations around the insertion
point, and that nesting doesn't always match the source. For

```fortran
  !$omp teams distribute parallel do
  do i = 1, n
    a(i) = f()
  end do
```

lowering creates omp.teams > omp.parallel > omp.distribute > omp.wsloop,
so the walk sees DISTRIBUTE inside PARALLEL. For

```fortran
  !$omp atomic update
  x = x + f()

    [21 lines not shown]
DeltaFile
+257-0flang/test/Lower/OpenMP/declare-variant-metadirective-context.f90
+68-39flang/lib/Lower/OpenMP/Utils.cpp
+71-0flang/test/Lower/OpenMP/declare-variant-clause-context.f90
+56-0flang/test/Lower/OpenMP/declare-variant-spec-expr.f90
+55-0flang/test/Lower/OpenMP/metadirective-target-boundary.f90
+47-0llvm/unittests/Frontend/OpenMPContextTest.cpp
+554-398 files not shown
+689-5014 files

LLVM/project 31ef3f7 — flang/test/Fir/CUDA cuf-offload-livein-value-canonicalization.fir, flang/test/Fir/OpenACC offload-livein-value-canonicalization.fir

[mlir][openacc] Anchor OffloadLiveInValueCanonicalization on FunctionOpInterface (#245399)

In preparation to use the pass in the CIR/OpenACC pipeline, CIR uses
cir.func that implement the FunctionOpInterface so the pass is better
anchored on it than func.func.
DeltaFile
+2-2mlir/lib/Dialect/OpenACC/Transforms/OffloadLiveInValueCanonicalization.cpp
+3-1mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+1-1mlir/test/Dialect/OpenACC/offload-livein-value-canonicalization.mlir
+1-1flang/test/Fir/OpenACC/offload-livein-value-canonicalization.fir
+1-1flang/test/Fir/CUDA/cuf-offload-livein-value-canonicalization.fir
+8-65 files