LLVM/project 0464cc7llvm/test/CodeGen/AArch64 sve-fixed-length-masked-64-128bit-loads.ll sve-fixed-length-masked-64-128bit-stores.ll

Address review comments
DeltaFile
+8-8llvm/test/CodeGen/AArch64/sve-fixed-length-masked-64-128bit-loads.ll
+8-8llvm/test/CodeGen/AArch64/sve-fixed-length-masked-64-128bit-stores.ll
+16-162 files

OPNSense/core 9c4bf73src/opnsense/scripts/netflow/lib parse.py

Correctly map netflow indexes when there are gaps (#10542)
DeltaFile
+20-3src/opnsense/scripts/netflow/lib/parse.py
+20-31 files

LLVM/project 66e8cc5llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination or-non-negative.ll

[ConstraintElim] Handle (X | Y) >s -1 as X >s -1 && Y >s -1. (#209743)

InstCombine canonicalizes X >=s 0 && Y >=s 0 as (X | Y) >=s 0. Teach
ConstraintElimination to recover the signed-positive information by
looking through compares of binary ORs.

Alive2 Proof: https://alive2.llvm.org/ce/z/sqNF8M

Compile-time impact is neutral

https://llvm-compile-time-tracker.com/compare.php?from=88acd428fd72f44312408c3fb6165992fb3b043a&to=a2aa4cacb953b32d6319939b9aee3226a7294334&stat=instructions%3Au

PR: https://github.com/llvm/llvm-project/pull/209743
DeltaFile
+20-0llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+3-9llvm/test/Transforms/PhaseOrdering/constraint-eliminiation-interactions.ll
+2-4llvm/test/Transforms/ConstraintElimination/or-non-negative.ll
+25-133 files

FreeNAS/freenas e992d08src/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/plugins/pool_ pool_disk_operations.py info.py

When a leaf vdev cannot be opened during pool import, the kernel marks
it ZPOOL_CONFIG_NOT_PRESENT and libzfs degrades its display name to the
bare guid instead of a device path. pool.transform_topology derives
`path` from that name, so the vdev ends up with `path: None`, and
pool.find_disk_from_topology crashed with AttributeError on
`c['path'].replace(...)` before it could match the vdev by guid. This
broke pool.replace (and detach/offline/online/remove) for exactly the
disks that most need replacing: physically failed ones.

- find_disk_from_topology: match by guid first and only touch `path`
  when it is set.
- detach/offline/online/remove: tolerate `path: None` in the
  label_to_disk lookup and audit messages (fall back to the vdev guid,
  matching zpool status display).
- ZPoolVdev API model: add nullable `path` field for the upcoming
  truenas_pylibzfs change that exposes the raw ZPOOL_CONFIG_PATH
  (which is preserved for missing devices). Defaults to null, so it is
  compatible with both old and new pylibzfs.
- Add unit tests for find_disk_from_topology covering the
  missing-disk (path=None) regression.
DeltaFile
+54-0src/middlewared/middlewared/pytest/unit/plugins/pool/test_find_disk_from_topology.py
+13-11src/middlewared/middlewared/plugins/pool_/pool_disk_operations.py
+8-0src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+3-1src/middlewared/middlewared/plugins/pool_/info.py
+78-124 files

LLVM/project 0e7944cllvm/docs AMDGPUUsage.rst

Update docs
DeltaFile
+20-13llvm/docs/AMDGPUUsage.rst
+20-131 files

LLVM/project 67ec62dllvm/lib/Target/AMDGPU SIDefines.h SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-barrier.ll

Comments
DeltaFile
+4-3llvm/lib/Target/AMDGPU/SIDefines.h
+1-3llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+1-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+1-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+9-106 files

LLVM/project 2151e85llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp SIISelLowering.cpp

[AMDGPU] Add synthetic apertures and use them for barriers

Define what a synthetic aperture is, and adjust the barrier AS
to use this new system. This makes the barrier AS even safer to
use as now we can use all 32 bits of it without ever risking
hitting a valid address of any kind (LDS or outside LDS).
DeltaFile
+72-87llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+44-5llvm/docs/AMDGPUUsage.rst
+21-23llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+18-17llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+12-0llvm/lib/Target/AMDGPU/SIDefines.h
+9-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+176-1324 files not shown
+186-13710 files

LLVM/project c14a9b2llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-barrier.ll s-barrier-signal-var-gep.ll

[RFC][AMDGPU] Add BARRIER address space

Add a new BARRIER address space that is used for global variables that are used to represent the barrier IDs in GFX12.5.

These barrier addresses just have values corresponding 1-1 to barrier IDs. They are still implemented on top of LDS, but the offsetting happens during an addrspacecast to generic, not whenever the barrier GV is used.

The motivation for this is to make the relation between LDS and barrier GVs explicit in the compiler. It does add a bit more complexity, but that complexity was already there, just hidden by pretending barrier GVs were actual LDS.
DeltaFile
+474-0llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+81-74llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll
+72-61llvm/test/CodeGen/AMDGPU/s-barrier.ll
+59-43llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+52-14llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+32-32llvm/test/CodeGen/AMDGPU/amdgpu-lower-exec-sync.ll
+770-22448 files not shown
+1,234-57454 files

LLVM/project 380f8b1clang/include/clang/Basic DiagnosticSemaKinds.td, clang/test/SemaCXX amdgpu-barrier.cpp

Comment
DeltaFile
+2-2clang/test/SemaHIP/amdgpu-barrier.hip
+2-2clang/test/SemaCXX/amdgpu-barrier.cpp
+1-1clang/test/SemaOpenCL/amdgpu-barrier.cl
+1-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+6-64 files

LLVM/project 1c31c49clang/lib/AST Type.cpp, clang/lib/Sema SemaAMDGPU.cpp

[clang][AMDGPU] Clean-up handling of named barrier type

- Allow the type in struct/classes in very limited circumstances. The goal is to enable creating trivial wrappers around the named barrier variable, but ensure we can't get into situations where things would get awkward. Currently this means we only allow the named barrier in RecordDecls with exactly 1 field, that have no base class, and are not inherited.
- Use a `amdgpu_barrier` LangAS for this type that currently maps to the local AS. This allows easy switching to the barrier AS in a future patch.
DeltaFile
+85-0clang/lib/Sema/SemaAMDGPU.cpp
+72-0clang/test/SemaHIP/amdgpu-barrier.hip
+71-0clang/test/SemaCXX/amdgpu-barrier.cpp
+28-16clang/test/CodeGenHIP/amdgpu-barrier-type.hip
+26-1clang/lib/AST/Type.cpp
+24-0clang/test/SemaOpenCL/amdgpu-barrier.cl
+306-1722 files not shown
+377-3528 files

FreeBSD/ports 643276bMk/Uses electron.mk

Mk/Uses/electron.mk: Print error when Makefile.version is missing in electron port directory
DeltaFile
+4-0Mk/Uses/electron.mk
+4-01 files

OPNSense/src 496cf59lib/libpfctl libpfctl.c libpfctl.h, sbin/pfctl pf_print_state.c

pf: expose first rule label for states since rule number is insufficient

PR: https://forum.opnsense.org/index.php?topic=52351.0
DeltaFile
+5-1sbin/pfctl/pf_print_state.c
+1-0lib/libpfctl/libpfctl.c
+1-0lib/libpfctl/libpfctl.h
+1-0sys/netpfil/pf/pf_nl.c
+1-0sys/netpfil/pf/pf_nl.h
+9-15 files

LLVM/project ee5cff5libsycl/unittests/mock helpers.cpp

[libsycl] Fix mock error in unittest helper (#209726)

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+1-1libsycl/unittests/mock/helpers.cpp
+1-11 files

LLVM/project 3bf897ellvm/test/Transforms/SLPVectorizer/X86 loop-invariant-gather-inst-count.ll

[SLP][NFC]Add a test with the non-profitable instcount check across the loops, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/210045
DeltaFile
+181-0llvm/test/Transforms/SLPVectorizer/X86/loop-invariant-gather-inst-count.ll
+181-01 files

OpenBSD/src CuYy4uasys/netinet ip_mroute.c ip_var.h

   Make IP multicast router global variable MP safe.

   Use a multicast router rwlock to protect the mrt_mrouter array.
   Since we support one router per route table, also implement an API
   version per router.  Sockets in mrt_mrouter are reference counted.
   Fix the name space a bit by using mrt_ prefix consistently.  Keep
   existing netlock and kernel lock until fine grained locking has
   been finished.

   OK claudio@
VersionDeltaFile
1.154+190-112sys/netinet/ip_mroute.c
1.125+2-4sys/netinet/ip_var.h
1.168+2-3sys/netinet/raw_ip.c
1.431+2-2sys/netinet/ip_input.c
1.99+2-2sys/netinet/igmp.c
1.418+2-2sys/netinet/ip_output.c
+200-1256 files

OpenBSD/ports JGVoPYqinfrastructure/bin portimport

   Use proper quoting in test -z "$pkgpath"

   Else test -z does what's expected, but for the wrong reason.
   ok tb@
VersionDeltaFile
1.12+1-1infrastructure/bin/portimport
+1-11 files

OpenBSD/ports TklfMthinfrastructure/bin portimport

   Repair last steps of portimport(1) ran from mystuff/

   Obviously we can't update the freshly imported directory directly from
   mystuff/, it has to be done from the real target directory.  So trim
   mystuff/ from the path before cd'ing there.  This fixes the error below:

   cvs server: failed to create lock directory for `/cvs' (/cvs/#cvs.lock): Permission denied
   cvs server: failed to obtain dir lock in repository `/cvs'
   cvs [server aborted]: read lock failed - giving up

   While here revert rev 1.8 which didn't fix the underlying issue.

   ok tb@
VersionDeltaFile
1.11+6-3infrastructure/bin/portimport
+6-31 files

OpenBSD/ports J2RjZHhnet/snort Makefile, net/snort/patches patch-src_dynamic-plugins_sf_dynamic_plugins_c patch-src_packet_time_c

   fix bpf_timeval issues found by llvm 22; from Markus Lude (who also drops
   maintainer)
VersionDeltaFile
1.11+14-13net/snort/patches/patch-src_dynamic-plugins_sf_dynamic_plugins_c
1.1+26-0net/snort/patches/patch-src_packet_time_c
1.17+20-0net/snort/patches/patch-src_preprocessors_Stream6_snort_stream_tcp_c
1.1+18-0net/snort/patches/patch-src_packet_time_h
1.125+0-4net/snort/Makefile
+78-175 files

OpenBSD/ports HjlGUq1databases/redis/main Makefile

   mark BROKEN-i386 for now, linker error: undefined hidden symbol: __guard_local
VersionDeltaFile
1.2+3-0databases/redis/main/Makefile
+3-01 files

LLVM/project db7356dlibcxx/src new.cpp, libcxx/src/include overridable_function.h

[libc++] Partially revert #208330 (#209928)

We found out that the new mechanism for detecting overriden functions
does not support Arm Pointer Authentication (PAuth). Addressing this
limitation is going to require changes to Clang. In the meantime, we
switched back to the old mechanism when PAuth is enabled.
DeltaFile
+67-8libcxx/src/include/overridable_function.h
+4-4libcxx/src/new.cpp
+4-4libcxxabi/src/stdlib_new_delete.cpp
+75-163 files

OpenBSD/ports uTM3uTpgeo/pmtiles Makefile

   restrict archs, modernc.org/sqlite at v1.46.2 fails
VersionDeltaFile
1.2+2-0geo/pmtiles/Makefile
+2-01 files

OpenBSD/ports fmqovdhwww/p5-Mojo distinfo Makefile

   update to p5-Mojolicious-9.48
VersionDeltaFile
1.30+2-2www/p5-Mojo/distinfo
1.41+2-1www/p5-Mojo/Makefile
+4-32 files

OpenBSD/ports y9F5ZvSwww/p5-Mojo distinfo Makefile

   update to p5-Mojolicious-9.48
VersionDeltaFile
1.29.2.1+2-2www/p5-Mojo/distinfo
1.40.2.1+2-1www/p5-Mojo/Makefile
+4-32 files

LLVM/project 18fc5a8llvm/lib/Target/RISCV RISCVSubtarget.cpp, llvm/test/TableGen MacroFusion.td

[TableGen][RISCV] Generate pre/post-RA statistics for macro fusions (#209394)

Teach `MacroFusionPredicatorEmitter` to emit `Statistic` counters
recording how often each macro fusion is matched, and wire them
up for RISC-V.

This is based on the idea in #186499, generalized so counters are
generated automatically for any target using the emitter.

Because both the pre-RA and post-RA schedulers run MacroFusion,
a single counter would conflate the two. Counters are split into
pre-RA/post-RA variants, distinguished by the `NoVRegs` property,
addressing the double-counting concern from #186499:

```cpp
  STATISTIC(NumTuneLDADDFusionPreRA,  "Times TuneLDADDFusion Triggered (pre-ra)");
  STATISTIC(NumTuneLDADDFusionPostRA, "Times TuneLDADDFusion Triggered (post-ra)");
  ...
    if (SecondMI.getMF()->getProperties().hasNoVRegs())

    [8 lines not shown]
DeltaFile
+41-10llvm/test/TableGen/MacroFusion.td
+24-0llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp
+7-3llvm/lib/Target/RISCV/RISCVSubtarget.cpp
+72-133 files

OpenBSD/ports H2jo5g8net/daq Makefile

   Markus Lude drops maintainer
VersionDeltaFile
1.19+1-2net/daq/Makefile
+1-21 files

FreeNAS/freenas b4df615tests/api2/zfs_tier test_dedup_interaction.py

Fix ruff complaints
DeltaFile
+3-1tests/api2/zfs_tier/test_dedup_interaction.py
+3-11 files

LLVM/project 5201a4fllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp AMDGPUWaitcntTracking.cpp

[RFC][AMDGPU][InsertWaitcnts] Move `WaitcntBrackets` to a separate file

My previous stack of patches de-tangled quite a bit of InsertWaitcnt,
and now `WaitcntBrackets` can be moved into a separate file fairly
easily. I'm proposing this as a RFC. While I think this is a net
positive, I don't want to force this through if others feel it's unnecessary.

Implementation:
This pretty much moves `WaitcntBrackets` as-is, with a few changes:

- Instead of having a pointer to `SIInsertWaitcnts` for the "context"
  there is now a "Info" class that `SIInsertWaitcnts` implements.
  This enforces a small separation between the classes, not enough to
  force a massive redesign, but enough that we can't just access the
  entire state of `InsertWaitcnts` at will.
- Some unused/unnecessary functions were removed or made private.
- I reorganized the code a bit: moved all private functions together,
  moved method implementations to the .cpp if they had more than 2 lines of code.
  The goal is to keep things somewhat organized so it's easy to glance at the

    [23 lines not shown]
DeltaFile
+35-1,345llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+1,123-0llvm/lib/Target/AMDGPU/AMDGPUWaitcntTracking.cpp
+311-0llvm/lib/Target/AMDGPU/AMDGPUWaitcntTracking.h
+5-0llvm/lib/Target/AMDGPU/SIInstrInfo.h
+1-0llvm/lib/Target/AMDGPU/CMakeLists.txt
+1,475-1,3455 files

OpenBSD/ports AtIWOJUwww/nginx distinfo Makefile, www/nginx/pkg PLIST-main

   MFC update to nginx-1.30.4
VersionDeltaFile
1.4.18.1+9-0www/nginx/pkg/PLIST-main
1.96.2.3+2-2www/nginx/distinfo
1.201.2.3+2-1www/nginx/Makefile
+13-33 files

OpenBSD/ports nNKuvlmwww/lighttpd distinfo Makefile

   update to lighttpd-1.4.85, from Brad (maintainer)
VersionDeltaFile
1.79+2-2www/lighttpd/distinfo
1.186+1-1www/lighttpd/Makefile
+3-32 files

OpenBSD/ports WmXJ049devel/github-backup Makefile distinfo, devel/github-backup/pkg PLIST

   MFC update to github-backup-0.64.0, Laurie reports that a GitHub API
   change seems to have broken things for the old version
VersionDeltaFile
1.8.2.1+10-0devel/github-backup/pkg/PLIST
1.19.4.1+1-4devel/github-backup/Makefile
1.7.8.1+2-2devel/github-backup/distinfo
+13-63 files