LLVM/project 45132b5llvm/tools/llubi/lib Library.cpp

[llubi] Fix evaluation order of logic operators (#195304)

`&&` is evaluated first, though it doesn't affect the result.
DeltaFile
+3-3llvm/tools/llubi/lib/Library.cpp
+3-31 files

LLVM/project 3983bf6llvm/lib/Target/AMDGPU GCNDPPCombine.cpp, llvm/test/CodeGen/AMDGPU dpp_combine.ll dpp64_combine.ll

[AMDGPU] Optimize DPP for fmin/fmax functions (#195282)

Summary:
These functions currently don't simplify in the optimistic (no-NaN) case
as their identity is not recognized by the optimizer. This PR simply
adds the -inf,+inf checks so these combine without the intermediate
moves.
DeltaFile
+120-0llvm/test/CodeGen/AMDGPU/dpp_combine.ll
+38-0llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
+22-0llvm/test/CodeGen/AMDGPU/dpp64_combine.ll
+180-03 files

LLVM/project c36eec7flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP metadirective-user.f90

Fix dynamic metadirective candidate selection

- Use one scored candidate path for static and dynamic metadirective variants.
- Dynamic user conditions are statically filtered and scored using their
  non-user traits, then guarded at runtime with fir.if.
- Keeps construct/device/implementation traits enforced for dynamic
  candidates and lets higher-scored static candidates beat lower-scored dynamic
  candidates.
- Add regressions for construct mismatch, score ordering, and
  implicit-nothing tie-breaking.
DeltaFile
+66-57flang/lib/Lower/OpenMP/OpenMP.cpp
+50-0flang/test/Lower/OpenMP/metadirective-user.f90
+116-572 files

LLVM/project be11e2bclang/lib/Format Format.cpp, clang/unittests/Format ConfigParseTest.cpp

[clang-format] Fix nested parsing of AlignAfterOpenBracket (#192283)

When parsing AlignAfterOpenBracket a default backward compatibility
option is always used even if an inherited style option was set. Avoid
using the default setting unless one of the backward compatible enum
type options is found.

Fixes #183845
Fixes #190758
DeltaFile
+43-14clang/lib/Format/Format.cpp
+4-1clang/unittests/Format/ConfigParseTest.cpp
+47-152 files

LLVM/project 241c7bbflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP metadirective-user.f90

[flang][OpenMP] Support lowering of metadirective (part 2)

Lower non-constant user={condition(expr)} selectors in metadirectives
to a fir.if/else chain.

Only statically applicable when-clauses participate in dynamic
selection. Dynamic conditions are evaluated at runtime in declaration
order, with the best static match, an explicit otherwise/default
clause, or implicit nothing as the final fallback.

This patch is part of the feature work for #188820.

Assisted with copilot and GPT-5.4
DeltaFile
+202-1flang/test/Lower/OpenMP/metadirective-user.f90
+76-28flang/lib/Lower/OpenMP/OpenMP.cpp
+0-10flang/test/Lower/OpenMP/Todo/metadirective-dynamic.f90
+278-393 files

LLVM/project f242ad8compiler-rt/lib/scudo/standalone string_utils.cpp string_utils.h, compiler-rt/lib/scudo/standalone/tests strings_test.cpp

[scudo] Add append overloads for integers and bool

This patch adds overloads for append to support directly appending s32,
s64, u32, u64, and bool values without requiring format strings. This
simplifies usage and avoids the overhead of parsing format strings for
simple type appends.
DeltaFile
+46-7compiler-rt/lib/scudo/standalone/string_utils.cpp
+36-0compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
+6-0compiler-rt/lib/scudo/standalone/string_utils.h
+88-73 files

LLVM/project d595bc9clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll atomic-rmw.ll

Rebase

Created using spr 1.3.7
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,519-1,501llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
+17,530-17,5783,678 files not shown
+157,970-92,1723,684 files

LLVM/project dadc748flang/lib/Lower/OpenMP OpenMP.cpp

Remove redundant MetadirectiveVariant
DeltaFile
+9-12flang/lib/Lower/OpenMP/OpenMP.cpp
+9-121 files

FreeBSD/ports 7a7e929x11/xrandr distinfo Makefile, x11/xrandr/files patch-man_xrandr.man

x11/xrandr: Update to 1.5.4

https://lists.x.org/archives/xorg-announce/2026-April/003692.html

PR:             294913
Approved by:    x11 (arrowd)
Approved by:    osa (mentor)
DeltaFile
+6-7x11/xrandr/files/patch-man_xrandr.man
+3-3x11/xrandr/distinfo
+1-1x11/xrandr/Makefile
+10-113 files

FreeNAS/freenas e82d674src/middlewared/middlewared/etc_files/local/openldap ldap.conf.mako, src/middlewared/middlewared/etc_files/proftpd tls.conf.mako

Use QueryOptions
DeltaFile
+3-1src/middlewared/middlewared/etc_files/proftpd/tls.conf.mako
+2-1src/middlewared/middlewared/etc_files/local/openldap/ldap.conf.mako
+2-1src/middlewared/middlewared/etc_files/sssd/sssd.conf.mako
+2-1src/middlewared/middlewared/plugins/directoryservices_/datastore.py
+9-44 files

FreeNAS/freenas f36a0d6src/middlewared/middlewared/plugins/certificate create_handlers.py crud.py

Convert certificate* usages to be typesafe
DeltaFile
+97-83src/middlewared/middlewared/plugins/certificate/create_handlers.py
+85-71src/middlewared/middlewared/plugins/certificate/crud.py
+85-62src/middlewared/middlewared/plugins/certificate/query_utils.py
+35-44src/middlewared/middlewared/plugins/certificate/renew_certs.py
+22-22src/middlewared/middlewared/plugins/certificate/__init__.py
+19-18src/middlewared/middlewared/plugins/certificate/default_cert_setup.py
+343-30038 files not shown
+587-45644 files

OpenZFS/src 0a59f78module/os/linux/zfs zfs_ctldir.c

Avoid flushing unrelated NFS exports on snapshot unmount

zfsctl_snapshot_unmount() called exportfs_flush() before every umount
attempt to drop NFS export cache references that pin the snapshot
mountpoint.  The flush has global effect on the host's NFS exports and
clients, so paying it on every snapshot unmount (including auto-expire
rounds for snapshots that were never NFS-accessed) impacts unrelated
snapshots and clients.

ZFS cannot invalidate individual export cache entries because the
relevant sunrpc cache APIs are exported GPL-only.  Defer the global
flush so it runs only when the umount has actually failed, then retry
once.  Snapshots that are not NFS-pinned succeed on the first attempt
and never trigger the flush.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Youzhong Yang <yyang at mathworks.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18476
DeltaFile
+16-3module/os/linux/zfs/zfs_ctldir.c
+16-31 files

LLVM/project 2a9699cllvm/test/Transforms/LoopVectorize reduction-inloop-uf4.ll consecutive-ptr-uniforms.ll, llvm/test/Transforms/LoopVectorize/AArch64 transform-narrow-interleave-to-widen-memory-with-wide-ops-chained.ll

Revert "[VPlan] Run removeDeadRecipes early." (#195325)

Reverts llvm/llvm-project#190191

Breaks buildbot, details:
https://lab.llvm.org/buildbot/#/builders/67/builds/3821
DeltaFile
+25-8llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+10-15llvm/test/Transforms/LoopVectorize/reduction-inloop-uf4.ll
+6-10llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-with-wide-ops-chained.ll
+5-10llvm/test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll
+6-6llvm/test/Transforms/LoopVectorize/VPlan/first-order-recurrence-sink-replicate-region.ll
+6-6llvm/test/Transforms/LoopVectorize/VPlan/vplan-sink-scalars-and-merge.ll
+58-5530 files not shown
+131-12936 files

OpenZFS/src b8d9596include/sys vdev_rebuild.h, module/zfs vdev_rebuild.c

Fix rare cksum errors after rebuild

Currently, after rebuild (aka sequential resilver), checksum
errors can be seen sometimes on the spare vdev or draid spare.
On my laptop, it happens from 2 to 4 times of running
redundancy_draid_spare1 test in a loop for 100 times.

It looks like there's a race in vdev_rebuild_thread() when the
rebuild of space map ranges is finished and we re-enable
allocations from the metaslab too soon: a new allocations may
happen from that metaslab before txg with the rebuilt ranges is
sync-ed, causing undesirable interference.

Solution: wait for the txg to be sync-ed before enabling metaslab.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Akash B <akash-b at hpe.com>
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
Closes #18307
Closes #18319
Closes #18473
DeltaFile
+8-1module/zfs/vdev_rebuild.c
+2-7tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib
+1-0include/sys/vdev_rebuild.h
+11-83 files

LLVM/project 39eff8bflang/lib/Lower/OpenMP Clauses.cpp, flang/lib/Parser openmp-parsers.cpp

[flang][OpenMP] Change NONTEMPORAL clause to contain OmpObjectList

NONTEMPORAL in source code takes a variable list, which is represented
in the AST as OmpObjectList.
DeltaFile
+41-5flang/test/Parser/OpenMP/nontemporal-unparse.f90
+6-1flang/lib/Semantics/check-omp-structure.cpp
+2-2flang/lib/Semantics/resolve-directives.cpp
+2-2flang/lib/Lower/OpenMP/Clauses.cpp
+1-2llvm/include/llvm/Frontend/OpenMP/OMP.td
+1-1flang/lib/Parser/openmp-parsers.cpp
+53-136 files

LLVM/project 463173bllvm/test/Transforms/InferAddressSpaces/AMDGPU int2ptr.ll

[NFC][AMDGPU] adding tests to see outcomes before getaddrspacecastpreserved ptr mask implementation (#195277)
DeltaFile
+525-0llvm/test/Transforms/InferAddressSpaces/AMDGPU/int2ptr.ll
+525-01 files

LLVM/project ad6e4c4clang/lib/Driver Driver.cpp

clang: Stop using replace_extension when there's no extension

The offload case is building a fresh filepath and there's no file
extension to replace. Just directly append the file extension to avoid
clobbering part of the path name if the triple contains a period.

Avoids confusing test updates in future triple patch.
DeltaFile
+2-1clang/lib/Driver/Driver.cpp
+2-11 files

OpenZFS/src e78a51dmodule/zfs dmu_send.c, tests/runfiles common.run

Fix off-by-one in PREVIOUSLY_REDACTED handler that drops last block

In send_reader_thread(), the PREVIOUSLY_REDACTED handler computed
file_max as MIN(dn->dn_maxblkid, range->end_blkid).  dn_maxblkid is
an inclusive maximum block ID while range->end_blkid is exclusive (one
past the last block).  The resulting file_max was then used as an
exclusive loop bound, causing the last block of any file (at index
dn_maxblkid) to be silently skipped when a PREVIOUSLY_REDACTED range
covered the end of the file.

The block was never written to the send stream so the receiver kept
zeros there.  ZFS reported no error because the stream itself was
valid; the data was simply absent.

Fix: use dn_maxblkid + 1 so file_max is consistently exclusive.

Add a regression test (redacted_max_blkid.ksh) that modifies only the
last block of a file in one clone, creates a redaction bookmark from
it, then sends an unmodified clone incrementally from that bookmark.

    [7 lines not shown]
DeltaFile
+118-0tests/zfs-tests/tests/functional/redacted_send/redacted_max_blkid.ksh
+2-1tests/runfiles/common.run
+1-1module/zfs/dmu_send.c
+1-0tests/zfs-tests/tests/Makefile.am
+122-24 files

FreeNAS/freenas c8120f5src/middlewared/middlewared/plugins rsync.py

delete associated rsync alerts when a task is deleted
DeltaFile
+2-0src/middlewared/middlewared/plugins/rsync.py
+2-01 files

LLVM/project 48d7765clang/docs ReleaseNotes.rst, clang/lib/CodeGen CGCall.cpp CodeGenModule.cpp

Revert "[Clang] Emit LLVM flatten attribute instead of per-callsite alwaysinline (#188615)"  (#195314)

Reverts #188615 due to #195236 — Linux kernel build with LTO hangs.
DeltaFile
+34-81clang/test/CodeGen/AArch64/sme-inline-callees-streaming-attrs.c
+12-20clang/test/CodeGen/flatten.c
+11-0clang/lib/CodeGen/CGCall.cpp
+0-10clang/docs/ReleaseNotes.rst
+0-3clang/lib/CodeGen/CodeGenModule.cpp
+57-1145 files

FreeBSD/ports 9024f83sysutils/beats8/files patch-go-sysinfo, sysutils/beats91/files patch-go-sysinfo

sysutils/beats*: fix build on armv7

The patch "patch-go-sysinfo" ports a Linux-only go module to FreeBSD.
Due to two oversights, the patch did not build on armv7.  Fix the patch,
ensuring that all beats versions build on armv7 FreeBSD.  A subtle bug
is addressed, too: the patch would previously convert from microseconds
to nanoseconds for time.Unix() by multiplying with time.Microsecond,
which is not the correct value.  Multiply with 1000 instead.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q2

(cherry picked from commit 22c1284107218bffffc201881f84cb01ed33b141)
DeltaFile
+15-15sysutils/beats93/files/patch-go-sysinfo
+2-2sysutils/beats91/files/patch-go-sysinfo
+2-2sysutils/beats92/files/patch-go-sysinfo
+2-2sysutils/beats8/files/patch-go-sysinfo
+21-214 files

FreeBSD/ports a6a399ddevel/cvs-devel/files patch-lib_mktime.c

devel/cvs-devel: fix build on armv7

Same issue as was previously fixed in 36fcf661b for devel/blame.
A 64 bit time_t with a 32 bit long confuses the gnulib mktime.c
implementation.  Apply the same upstream patch to fix the build.

Obtained from:  36fcf661ba23c96004395f6ee52cf2e6133b31f0
MFH:            2026Q2
Approved by:    portmgr (build fix blanket)

(cherry picked from commit 978896a191d705a495efbaf98f3d8e1e47b68ef8)
DeltaFile
+77-0devel/cvs-devel/files/patch-lib_mktime.c
+77-01 files

FreeBSD/ports 57a2ea0sysutils/beats8 Makefile, sysutils/beats91 Makefile

sysutils/beats*: Revert "Mark as not for arch i386"

Port now builds fine on i386.

MFH:            2026Q2
This reverts commit 3d572ac39d0f36d654c2d5e6f1db8ac7077331ec.

(cherry picked from commit 164d89a89036cc73543642bb369a65de0eca250e)
DeltaFile
+0-2sysutils/beats92/Makefile
+0-2sysutils/beats8/Makefile
+0-2sysutils/beats91/Makefile
+0-2sysutils/beats93/Makefile
+0-84 files

FreeBSD/ports 06b2705archivers Makefile, archivers/archmerge Makefile pkg-descr

archivers/archmerge: NEW PORT, replaces archivers/zipmix

Different compression programs result in different
compression ratios and compress different types of files
unequally.
Archmerge will take the best files from each archive and
create a new output file, which is guaranteed to be equal
to, or smaller in size than both of the input files. Archmerge
can also be used to perform boolean operations on archives,
such as merging 2 archives together, or updating a new file.

NOTE: in it's current incarnation. Archmerge only operates on
zip archives. Additional compression algorithms and techniques
will be added soon.

WWW: https://codeberg.org/BSDforge/archmerge

PR:             294920, 293749
DeltaFile
+24-0archivers/archmerge/Makefile
+12-0archivers/archmerge/pkg-descr
+3-0archivers/archmerge/distinfo
+1-0archivers/Makefile
+40-04 files

FreeBSD/ports 978896adevel/cvs-devel/files patch-lib_mktime.c

devel/cvs-devel: fix build on armv7

Same issue as was previously fixed in 36fcf661b for devel/blame.
A 64 bit time_t with a 32 bit long confuses the gnulib mktime.c
implementation.  Apply the same upstream patch to fix the build.

Obtained from:  36fcf661ba23c96004395f6ee52cf2e6133b31f0
MFH:            2026Q2
Approved by:    portmgr (build fix blanket)
DeltaFile
+77-0devel/cvs-devel/files/patch-lib_mktime.c
+77-01 files

FreeBSD/ports ca4eb00archivers/zipmix Makefile

archivers/zipmix: DEPRECATE. No longer supported upstream.

Replaced by archivers/archmerge.

PR:             293749
DeltaFile
+3-0archivers/zipmix/Makefile
+3-01 files

FreeBSD/ports 164d89asysutils/beats8 Makefile, sysutils/beats91 Makefile

sysutils/beats*: Revert "Mark as not for arch i386"

Port now builds fine on i386.

MFH:            2026Q2
This reverts commit 3d572ac39d0f36d654c2d5e6f1db8ac7077331ec.
DeltaFile
+0-2sysutils/beats91/Makefile
+0-2sysutils/beats8/Makefile
+0-2sysutils/beats92/Makefile
+0-2sysutils/beats93/Makefile
+0-84 files

OpenZFS/src c18e8baconfig kernel-dentry-alias.m4 kernel.m4, include/os/linux/kernel/linux dcache_compat.h

Linux 7.1: access dentry d_alias directly

The d_u union introduced in 3.18 is now anonymous, so we need to detect
it and decide the right way to name d_alias.

Note that we used to have support for both names to support kernels
before 3.18, so this commit is effectively reverting the commit that
removed that support, efc293e371.

Sponsored-by: TrueNAS
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18471
DeltaFile
+32-0config/kernel-dentry-alias.m4
+2-0config/kernel.m4
+2-0include/os/linux/kernel/linux/dcache_compat.h
+36-03 files

FreeBSD/ports 22c1284sysutils/beats8/files patch-go-sysinfo, sysutils/beats91/files patch-go-sysinfo

sysutils/beats*: fix build on armv7

The patch "patch-go-sysinfo" ports a Linux-only go module to FreeBSD.
Due to two oversights, the patch did not build on armv7.  Fix the patch,
ensuring that all beats versions build on armv7 FreeBSD.  A subtle bug
is addressed, too: the patch would previously convert from microseconds
to nanoseconds for time.Unix() by multiplying with time.Microsecond,
which is not the correct value.  Multiply with 1000 instead.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q2
DeltaFile
+15-15sysutils/beats93/files/patch-go-sysinfo
+2-2sysutils/beats8/files/patch-go-sysinfo
+2-2sysutils/beats91/files/patch-go-sysinfo
+2-2sysutils/beats92/files/patch-go-sysinfo
+21-214 files

LLVM/project fe8ff67llvm/test/CodeGen/AMDGPU amdgpu-lower-exec-sync-and-module-lds.ll amdgpu-lower-exec-sync.ll

[AMDGPU][NFC] Update join/signal ordering in named barrier tests (#195316)

The ISA requires that you join a barrier before signaling it if you're
planning to wait on that barrier. Some IR-level tests have the join and
signal in the wrong order, confusing people.

This PR reorders join and signal.var in order to make correct usage more
obvious going forward.

AI: none
DeltaFile
+8-8llvm/test/CodeGen/AMDGPU/amdgpu-lower-exec-sync-and-module-lds.ll
+8-8llvm/test/CodeGen/AMDGPU/amdgpu-lower-exec-sync.ll
+4-4llvm/test/CodeGen/AMDGPU/s-barrier-lowering.ll
+4-4llvm/test/CodeGen/AMDGPU/amdgpu-lower-exec-sync-and-sw-lds.ll
+3-3llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+2-2llvm/test/CodeGen/AMDGPU/lds-link-time-named-barrier.ll
+29-296 files