LLVM/project 87b48c9flang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Lower DO, SIMD, and DO SIMD metadirective variants

A standalone metadirective and its associated loop are represented as
sibling PFT evaluations. For example:

```
  !$omp metadirective &
  !$omp& when(user={condition(flag)}: do) &
  !$omp& otherwise(nothing)
  do i = 1, n
    a(i) = i
  end do
```

has the following evaluation shape:

```
  METADIRECTIVE
  DO

    [25 lines not shown]
DeltaFile
+566-244flang/lib/Lower/OpenMP/OpenMP.cpp
+562-0flang/test/Lower/OpenMP/metadirective-loop.f90
+335-0flang/lib/Semantics/openmp-utils.cpp
+111-0flang/test/Lower/OpenMP/Todo/metadirective-loop-unsupported-replacements.f90
+94-0flang/test/Lower/OpenMP/Todo/metadirective-loop-data-environment.f90
+78-11flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+1,746-25510 files not shown
+1,983-27816 files

FreeBSD/ports f866147devel/py-pyfcm distinfo Makefile

devel/py-pyfcm: Update to 2.1.1

Add the dependencies pulled in by the move to the FCM HTTP v1 API:
aiohttp, google-auth and urllib3.

While here, join MAINTAINER and COMMENT back into a single header block
and expand pkg-descr, both of which portlint complained about.
DeltaFile
+5-4devel/py-pyfcm/Makefile
+8-1devel/py-pyfcm/pkg-descr
+3-3devel/py-pyfcm/distinfo
+16-83 files

FreeBSD/ports 9aded1bmisc/codex Makefile, misc/codex/files patch-codex-rs_core_src_tools_runtimes_apply_patch.rs

misc/codex: Restore apply_patch functionality

There is no FreeBSD sandbox code for this, so enable symlinks as
0.148.0 and prior used to for now.

PR:             297802
Approved by:    tagattie
DeltaFile
+52-0misc/codex/files/patch-codex-rs_core_src_tools_runtimes_apply_patch.rs
+1-0misc/codex/Makefile
+53-02 files

HardenedBSD/src d084082sys/contrib/openzfs/cmd/zstream zstream_selftest_queue.c zstream_queue.c, sys/contrib/openzfs/module/os/linux/zfs zpl_ctldir.c zfs_ctldir.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+1,687-157sys/contrib/openzfs/module/zfs/dmu_recv.c
+892-757sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c
+1,024-236sys/contrib/openzfs/module/zfs/zfs_vnops.c
+925-0sys/contrib/openzfs/cmd/zstream/zstream_queue.c
+436-200sys/contrib/openzfs/module/os/linux/zfs/zpl_ctldir.c
+564-0sys/contrib/openzfs/cmd/zstream/zstream_selftest_queue.c
+5,528-1,3503,393 files not shown
+40,915-47,8723,399 files

HardenedBSD/src 2fc689dcontrib/libarchive/libarchive/test test_read_format_zip_winzip_aes256_large_bzip2.zip.uu test_read_format_zip_winzip_aes256_large_lzma.zip.uu

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+23,307-0contrib/libarchive/libarchive/test/test_read_format_rar_newsub_rr_over_1m.rar.uu
+2,919-0contrib/libarchive/libarchive/test/test_read_format_cpio_symlink_trailer.cpio.uu
+2,053-0contrib/libarchive/libarchive/test/test_read_format_zip_winzip_aes256_large_zstd.zip.uu
+1,898-0contrib/libarchive/libarchive/test/test_read_format_zip_winzip_aes256_large_xz.zip.uu
+1,893-0contrib/libarchive/libarchive/test/test_read_format_zip_winzip_aes256_large_lzma.zip.uu
+1,616-0contrib/libarchive/libarchive/test/test_read_format_zip_winzip_aes256_large_bzip2.zip.uu
+33,686-0870 files not shown
+69,661-13,566876 files

HardenedBSD/src de3d256sys/contrib/openzfs/cmd/zstream zstream_selftest_queue.c zstream_queue.c, sys/contrib/openzfs/module/os/linux/zfs zpl_ctldir.c zfs_ctldir.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,687-157sys/contrib/openzfs/module/zfs/dmu_recv.c
+892-757sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c
+1,024-236sys/contrib/openzfs/module/zfs/zfs_vnops.c
+925-0sys/contrib/openzfs/cmd/zstream/zstream_queue.c
+436-200sys/contrib/openzfs/module/os/linux/zfs/zpl_ctldir.c
+564-0sys/contrib/openzfs/cmd/zstream/zstream_selftest_queue.c
+5,528-1,3503,393 files not shown
+40,915-47,8723,399 files

LLVM/project 3fc4e7dclang/test/CodeGen/AArch64 abi-classify-arg-types.cpp, llvm/lib/ABI/Targets AArch64.cpp

[LLVMABI][AARCH64] Handle records that cannot be passed in registers (#217689)

This adds AArch64 handling in the LLVM ABI library for classifying
record arguments as Indirect when the record type cannot be passed in
registers.

The `getRecordArgABI` function was already implemented in the
`TargetInfo` base class, making this a trivial update.

Assisted-by: Cursor / Grok 4.5 (test generation)
DeltaFile
+47-0clang/test/CodeGen/AArch64/abi-classify-arg-types.cpp
+29-0llvm/unittests/ABI/AArch64TargetInfoTest.cpp
+7-0llvm/lib/ABI/Targets/AArch64.cpp
+83-03 files

HardenedBSD/src d53a1bdlibexec/rc rc.conf, libexec/rc/rc.d zfskeys

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+9-7libexec/rc/rc.d/zfskeys
+8-3usr.sbin/ppp/mp.c
+0-1sys/arm/broadcom/bcm2835/bcm2835_audio.c
+1-0libexec/rc/rc.conf
+18-114 files

HardenedBSD/ports e9794dcastro/xphoon/files patch-dtime.c, mail/mailpit/files patch-package-lock.json

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+213-255mail/mailpit/files/patch-package-lock.json
+39-39www/zola/distinfo
+0-42astro/xphoon/files/patch-dtime.c
+37-3www/drupal10/pkg-plist
+18-18www/zola/Makefile.crates
+16-10net/mediastreamer/Makefile
+323-367101 files not shown
+652-650107 files

LLVM/project 6d2fc18lldb/include/lldb/Symbol ObjectFile.h, lldb/unittests/Target ReExportedSymbolTest.cpp

fixup! Add unit tests for ELF filter-library symbol handling.
DeltaFile
+33-1lldb/unittests/Target/ReExportedSymbolTest.cpp
+0-3lldb/include/lldb/Symbol/ObjectFile.h
+33-42 files

FreeBSD/ports 9d693aawww/p5-Mojo-IOLoop-Delay Makefile

www/p5-Mojo-IOLoop-Delay: Deprecate and set expiration date

Mojolicious 9.0 dropped delays from the core in favour of Mojo::Promise,
and upstream keeps this distribution only for backwards compatibility.
www/p5-Mojo-IOLoop-ForkCall, which is expiring on the same date, was its
last consumer in the tree.
DeltaFile
+3-0www/p5-Mojo-IOLoop-Delay/Makefile
+3-01 files

HardenedBSD/ports 100428awww/p5-Mojo-IOLoop-ForkCall Makefile

www/p5-Mojo-IOLoop-ForkCall: Deprecate and set expiration date

Deprecated by its author in favour of the Mojolicious core module
Mojo::IOLoop::Subprocess; last released as 0.21 in March 2021.
sysutils/znapzend was the last consumer in the tree and stopped using it
in 0.21.1.
DeltaFile
+3-0www/p5-Mojo-IOLoop-ForkCall/Makefile
+3-01 files

FreeBSD/ports 100428awww/p5-Mojo-IOLoop-ForkCall Makefile

www/p5-Mojo-IOLoop-ForkCall: Deprecate and set expiration date

Deprecated by its author in favour of the Mojolicious core module
Mojo::IOLoop::Subprocess; last released as 0.21 in March 2021.
sysutils/znapzend was the last consumer in the tree and stopped using it
in 0.21.1.
DeltaFile
+3-0www/p5-Mojo-IOLoop-ForkCall/Makefile
+3-01 files

FreeBSD/ports f6c77aesysutils/znapzend Makefile

sysutils/znapzend: Drop unused Perl dependencies

Upstream replaced Mojo::IOLoop::ForkCall with Mojo::IOLoop::Subprocess in
0.21.1, and IO::Pipely was only ever pulled in as a dependency of
ForkCall.  Neither is referenced by the sources any more; the remaining
mentions are in CHANGES and in the bundled thirdparty/ cpanfile
snapshots, which this port strips before building.
DeltaFile
+1-4sysutils/znapzend/Makefile
+1-41 files

HardenedBSD/ports f6c77aesysutils/znapzend Makefile

sysutils/znapzend: Drop unused Perl dependencies

Upstream replaced Mojo::IOLoop::ForkCall with Mojo::IOLoop::Subprocess in
0.21.1, and IO::Pipely was only ever pulled in as a dependency of
ForkCall.  Neither is referenced by the sources any more; the remaining
mentions are in CHANGES and in the bundled thirdparty/ cpanfile
snapshots, which this port strips before building.
DeltaFile
+1-4sysutils/znapzend/Makefile
+1-41 files

HardenedBSD/ports 9d693aawww/p5-Mojo-IOLoop-Delay Makefile

www/p5-Mojo-IOLoop-Delay: Deprecate and set expiration date

Mojolicious 9.0 dropped delays from the core in favour of Mojo::Promise,
and upstream keeps this distribution only for backwards compatibility.
www/p5-Mojo-IOLoop-ForkCall, which is expiring on the same date, was its
last consumer in the tree.
DeltaFile
+3-0www/p5-Mojo-IOLoop-Delay/Makefile
+3-01 files

LLVM/project 5559226flang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Lower DO, SIMD, and DO SIMD metadirective variants

A standalone metadirective and its associated loop are represented as
sibling PFT evaluations. For example:

```
  !$omp metadirective &
  !$omp& when(user={condition(flag)}: do) &
  !$omp& otherwise(nothing)
  do i = 1, n
    a(i) = i
  end do
```

has the following evaluation shape:

```
  METADIRECTIVE
  DO

    [25 lines not shown]
DeltaFile
+566-244flang/lib/Lower/OpenMP/OpenMP.cpp
+562-0flang/test/Lower/OpenMP/metadirective-loop.f90
+335-0flang/lib/Semantics/openmp-utils.cpp
+111-0flang/test/Lower/OpenMP/Todo/metadirective-loop-unsupported-replacements.f90
+94-0flang/test/Lower/OpenMP/Todo/metadirective-loop-data-environment.f90
+78-11flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+1,746-25510 files not shown
+1,983-27816 files

LLVM/project 4b2620eflang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/lib/Semantics openmp-utils.cpp

[flang][OpenMP] Lower DO, SIMD, and DO SIMD metadirective variants

A standalone metadirective and its associated loop are represented as
sibling PFT evaluations. For example:

```
  !$omp metadirective &
  !$omp& when(user={condition(flag)}: do) &
  !$omp& otherwise(nothing)
  do i = 1, n
    a(i) = i
  end do
```

has the following evaluation shape:

```
  METADIRECTIVE
  DO

    [25 lines not shown]
DeltaFile
+566-244flang/lib/Lower/OpenMP/OpenMP.cpp
+562-0flang/test/Lower/OpenMP/metadirective-loop.f90
+335-0flang/lib/Semantics/openmp-utils.cpp
+111-0flang/test/Lower/OpenMP/Todo/metadirective-loop-unsupported-replacements.f90
+94-0flang/test/Lower/OpenMP/Todo/metadirective-loop-data-environment.f90
+78-11flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+1,746-25510 files not shown
+1,983-27816 files

LLVM/project fbb8635llvm/include/llvm/Analysis AliasSetTracker.h, llvm/lib/Analysis AliasSetTracker.cpp

[LICM] Ignore AA tags on conditional stores in scalar promotion. (#218031)

One of the key aspects of scalar promotion, as done in LICM, is that the
store is always unconditional: it executes even if the store in the loop
didn't execute. This makes the aliasing check more complicated: we need
to ensure that it's okay to both sink the store out of the loop, and
speculatively execute the store.

For the sinking, it's fine to use AA tags, but for speculatively
executing the store, it's a problem: AA tags are only meaningful for
operations that actually execute at runtime. Existing code will strip
the AA tags from the generated store, but still used them for the
aliasing checks.

The new isStrongerThanMonotonic() checks don't affect correctness; this
change is just moving the checks earlier because of the way the
AliasSetTracker data structure works.

Fixes #60860.  Fixes #217052.
DeltaFile
+57-0llvm/test/Transforms/LICM/scalar-promote.ll
+27-4llvm/lib/Transforms/Scalar/LICM.cpp
+7-0llvm/lib/Analysis/AliasSetTracker.cpp
+1-0llvm/include/llvm/Analysis/AliasSetTracker.h
+92-44 files

LLVM/project bde83c5llvm/test/Transforms/LoopVectorize div-exact.ll if-pred-stores.ll, llvm/test/Transforms/LoopVectorize/AArch64 transform-narrow-interleave-to-widen-memory-multi-block.ll predication_costs.ll

WIP Don't adjust mask for preserved uniform edges
DeltaFile
+43-136llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
+10-124llvm/test/Transforms/LoopVectorize/div-exact.ll
+33-48llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+7-48llvm/test/Transforms/LoopVectorize/RISCV/dead-ops-cost.ll
+34-4llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
+4-32llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-multi-block.ll
+131-39210 files not shown
+166-46816 files

LLVM/project 0cd48b9llvm/lib/Transforms/Vectorize VPlanPredicator.cpp

Outline `shouldPreserveTerminator`
DeltaFile
+56-56llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+56-561 files

LLVM/project 258566ellvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize div-exact.ll uniform-blend.ll

[VPlan][Predicator] Preserve some uniform control flow

Implements "Partial Control-Flow Linearization" by Simon Moll and
Sebastian Hack. Does **NOT** improve predication/masking yet, so
applicability is artificially narrowed, only some uniform branches are
preserved. In particular, the following is left for future PRs:

* Block masks still contains now-unnecessary term for the preserved
  uniform branches.
* Mixed blends/phis aren't supported yet. Detecting where they would be
  necessary is as complex as implementing proper support (which would
  need either Luke's `reconstructSSA` or Iterated Dominance Frontier),
  so we also limit it to a trivial/structured CFG where there's only
  single block where those would need to be inserted.

I think even the current version might be enough to start implementing
an alternative to https://github.com/llvm/llvm-project/pull/141900 (see
BOSCC in the paper).
DeltaFile
+81-45llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
+104-3llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+45-38llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+32-8llvm/test/Transforms/LoopVectorize/uniform-blend.ll
+18-10llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-multi-block.ll
+14-6llvm/test/Transforms/LoopVectorize/div-exact.ll
+294-11015 files not shown
+395-13421 files

LLVM/project 18ecac6llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv masked-load-vl-predicatable.ll

fixup! Perform checks and emitting new values against vector element type
DeltaFile
+33-22llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-2llvm/test/CodeGen/RISCV/rvv/masked-load-vl-predicatable.ll
+35-242 files

LLVM/project 94b9314llvm/lib/Target/AMDGPU GCNProcessors.td AMDGPU.td, llvm/test/Object/AMDGPU elf-header-flags-mach.yaml

[AMDGPU] Define gfx1250-strict target
DeltaFile
+30-0llvm/lib/Target/AMDGPU/AMDGPU.td
+9-0llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
+7-0llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
+6-0llvm/lib/Target/AMDGPU/GCNProcessors.td
+5-0llvm/unittests/TargetParser/TargetParserTest.cpp
+5-0llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
+62-013 files not shown
+85-219 files

LLVM/project 3439b12libc/src/__support/OSUtil/linux/syscall_wrappers clock_getres.h, libc/src/time clock_getcpuclockid.h

[libc] Implement clock_getcpuclockid on Linux. (#218531)

Implement `clock_getcpuclockid` POSIX function by mimicking the Linux
kernel conversion of pid_t to the clockid_t, and validating the result /
permissions with `clock_getres` syscall. Add the corresponding syscall
wrapper for the latter.
DeltaFile
+57-0libc/test/src/time/clock_getcpuclockid_test.cpp
+49-0libc/src/__support/OSUtil/linux/syscall_wrappers/clock_getres.h
+43-0libc/src/time/linux/clock_getcpuclockid.cpp
+27-0libc/src/time/clock_getcpuclockid.h
+17-0libc/test/src/time/CMakeLists.txt
+14-0libc/src/time/linux/CMakeLists.txt
+207-08 files not shown
+243-114 files

LLVM/project 286c82fmlir/include/mlir/Dialect/LLVMIR ROCDLOps.td, mlir/test/Conversion/AMDGPUToROCDL dot-gfx9.mlir wmma-gfx12.mlir

[mlir][ROCDL] Enable useStrictPropertiesInAssemblyFormat (#216813)

**Migration note:** Separate out inherent and discardable attributes
on your `rocdl.*` operations and put a `<>` around the inherent ones.

This commit adds `prop-dict` clauses to all the ROCDL-dialect
operations that have inherent attributes but don't have better syntax
for them.

I looked at creating better syntaxes here, but these are fairly
low-level operations and it was hard to put together comma-separated
lists of optional arguments in tablegen. So I've gone with the rather
straightforward and consistent fix of adding in `prop-dict`s.

AI note: Claude did the changes here, I reviewed the designs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>

---

    [5 lines not shown]
DeltaFile
+60-60mlir/test/Target/LLVMIR/rocdl.mlir
+48-48mlir/test/Dialect/LLVMIR/rocdl.mlir
+37-37mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+6-6mlir/test/Conversion/AMDGPUToROCDL/wmma-gfx12.mlir
+6-6mlir/test/Conversion/AMDGPUToROCDL/wmma-gfx11.mlir
+3-3mlir/test/Conversion/AMDGPUToROCDL/dot-gfx9.mlir
+160-1604 files not shown
+167-16610 files

FreeBSD/ports 3d54abegames/xblast Makefile

games/xblast: Update maintainer email

Main email box has been moved.

PR:             297875
Sponsored by:   UNIS Labs
DeltaFile
+1-1games/xblast/Makefile
+1-11 files

HardenedBSD/ports 3d54abegames/xblast Makefile

games/xblast: Update maintainer email

Main email box has been moved.

PR:             297875
Sponsored by:   UNIS Labs
DeltaFile
+1-1games/xblast/Makefile
+1-11 files

FreeBSD/src 9496457share/mk bsd.init.mk

bsd.init.mk: always define _gid when MK_INSTALL_AS_USER is set

A recent commit started to use _uid and _gid in <bsd.dirs.mk> to
mangle the user and group for newly installed directories when
MK_INSTALL_AS_USER is set.  However, _gid was previously only set
when _uid was not 0, causing the group to be set to the empty
string.

Set _uid and _gid together to avoid this problem.

Fixes:          541e6e2d516b6c9d3681b24464e9ef53c1f2579a
PR:             297841
Reviewed by:    emaste, imp
Reported by:    Ralph Zitz <ralph at zitz.dk>
Differential Revision: https://reviews.freebsd.org/D59150
DeltaFile
+1-1share/mk/bsd.init.mk
+1-11 files

HardenedBSD/src 9496457share/mk bsd.init.mk

bsd.init.mk: always define _gid when MK_INSTALL_AS_USER is set

A recent commit started to use _uid and _gid in <bsd.dirs.mk> to
mangle the user and group for newly installed directories when
MK_INSTALL_AS_USER is set.  However, _gid was previously only set
when _uid was not 0, causing the group to be set to the empty
string.

Set _uid and _gid together to avoid this problem.

Fixes:          541e6e2d516b6c9d3681b24464e9ef53c1f2579a
PR:             297841
Reviewed by:    emaste, imp
Reported by:    Ralph Zitz <ralph at zitz.dk>
Differential Revision: https://reviews.freebsd.org/D59150
DeltaFile
+1-1share/mk/bsd.init.mk
+1-11 files