LLVM/project 93d8c2bllvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/test/CodeGen/AArch64/GlobalISel knownbits-srem.mir

[GlobalISel][KnownBits] Port SREM to GlobalISel (#198956)

This PR also move case statement for or `G_UREM `that is being
introduced by https://github.com/llvm/llvm-project/pull/193455 So that
`G_[U|S][DIV|REM] ` being grouped together, just like in
`SelectionDAG.cpp`

Related: https://github.com/llvm/llvm-project/issues/150515

---------

Signed-off-by: ZakyHermawan <zaky.hermawan9615 at gmail.com>
DeltaFile
+161-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-srem.mir
+32-12llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+2-6llvm/test/CodeGen/Mips/GlobalISel/legalizer/rem_and_div.mir
+1-3llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
+196-214 files

LLVM/project 63b905cllvm/include/llvm/IR IntrinsicsSPIRV.td, llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp

[SPIR-V] Add support for OpIsFinite and OpIsNormal intrinsics (#196961)
DeltaFile
+45-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/OpIsFinite.ll
+45-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/OpIsNormal.ll
+36-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+4-0llvm/include/llvm/IR/IntrinsicsSPIRV.td
+130-04 files

LLVM/project e453259lldb/source/Plugins/ScriptInterpreter/Python/Interfaces OperatingSystemPythonInterface.cpp ScriptedBreakpointPythonInterface.cpp

[lldb] Add missing includes. (#198996)

Failed to build in CI because,
ScriptedPythonInterface::CreatePlugingObject is a template function and
the arguments are of incomplete types gotten from `lldb-forward.h`
(typedef of lldb_private::XXXX = XXXXSP).

Introduced in commit 1b4a578a9f7760a00bf26525a603be1ec6e7d862
DeltaFile
+1-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.cpp
+1-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedBreakpointPythonInterface.cpp
+1-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedHookPythonInterface.cpp
+1-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStopHookPythonInterface.cpp
+1-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
+5-05 files

LLVM/project 1c305a3llvm/lib/Target/AMDGPU GCNRegPressure.h AMDGPUInstCombineIntrinsic.cpp

[AMDGPU] Coverity fixes - check ret val and init class members (#198570)

Coverity fixes:
* calling getIntrinsicSignature without checking return value (as is
done elsewhere 4 out of 5 times) in
llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
* non-static class member MaxSGPRs, MaxVGPRs and MaxUnifiedVGPRs is not
initialized in this constructor nor in any functions that it calls in
llvm/lib/Target/AMDGPU/GCNRegPressure.h
DeltaFile
+3-3llvm/lib/Target/AMDGPU/GCNRegPressure.h
+3-2llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+6-52 files

FreeBSD/src 198379dsys/netpfil/ipfw ip_fw_nat.c

ipfw: fix checksum after NAT

When checksum offloading is used, IPFW needs to fix the checksum
after libalias has done NAT. The ipfw_nat() function does so, but
only for mbufs without a receiving interface. However, if, for example,
the packet was sent inside a jail that used checksum offloading over
an epair, ipfw still needs to fix the checksum even though the mbuf
has set a receiving interface (epair).
This patch just removes the check whether a receiving interface is set.

PR:                     295057
Reviewed by:            tuexen
Differential Revision:  https://reviews.freebsd.org/D57091

(cherry picked from commit 81b47a7c604f1d563283759572fa7a1f9d4dc56f)
DeltaFile
+7-8sys/netpfil/ipfw/ip_fw_nat.c
+7-81 files

FreeBSD/ports ee5ab1dwww/rt50 distinfo pkg-plist

www/rt50: Update to 5.0.10

This release fixes the following vulnerabilities:
CVE-2026-44231
CVE-2026-41075
CVE-2026-41076
CVE-2026-6841
CVE-2026-44227
CVE-2026-44230
CVE-2026-44229
CVE-2026-41073

Changelog: https://github.com/bestpractical/rt/releases/tag/rt-5.0.10
(cherry picked from commit c9eb2148d0e97027d1cf79f79c33f416641c5924)
DeltaFile
+3-3www/rt50/distinfo
+3-1www/rt50/pkg-plist
+1-1www/rt50/Makefile
+7-53 files

FreeBSD/ports c9eb214www/rt50 distinfo pkg-plist

www/rt50: Update to 5.0.10

This release fixes the following vulnerabilities:
CVE-2026-44231
CVE-2026-41075
CVE-2026-41076
CVE-2026-6841
CVE-2026-44227
CVE-2026-44230
CVE-2026-44229
CVE-2026-41073

Changelog: https://github.com/bestpractical/rt/releases/tag/rt-5.0.10
DeltaFile
+3-3www/rt50/distinfo
+3-1www/rt50/pkg-plist
+1-1www/rt50/Makefile
+7-53 files

NetBSD/pkgsrc-wip 8c0d22arust-beta distinfo Makefile

rust-beta: update to 1.96.0-beta.8
DeltaFile
+3-3rust-beta/distinfo
+1-1rust-beta/Makefile
+4-42 files

LLVM/project 8b1c7eaclang-tools-extra/clangd/unittests CodeCompleteTests.cpp, clang/include/clang/Sema SemaCodeCompletion.h

[clang] Complete fields in __builtin_offsetof designators (#195126)

Code completion was a no-op inside `__builtin_offsetof`: a cursor at `
__builtin_offsetof(T, ^)` or `__builtin_offsetof(T, a.^)` fell through
to ordinary-name completion instead of suggesting fields. Route the
code_completion token to a new SemaCodeCompletion entry point that walks
the designator path so far, resolves the subobject's type, and
enumerates its members. Methods are filtered out, inherited fields are
included, indirect fields from anonymous unions and structs are peeled,
and `using Base::field` resolves through its UsingShadowDecl. A
code_completion token past a complete component (right after `]` or at
the end of the chain) is dropped rather than offering fields the user
can't paste without first typing `.`.

The offsetof and designated-initializer type walkers are folded into one
helper parameterized by a field-lookup callback, which incidentally
fixes reference-field and indirect-field traversal in
designated-initializer completion too.


    [9 lines not shown]
DeltaFile
+114-19clang/lib/Sema/SemaCodeComplete.cpp
+128-0clang/test/CodeCompletion/offsetof.cpp
+38-2clang/lib/Parse/ParseExpr.cpp
+39-0clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
+34-0clang/test/CodeCompletion/desig-init.cpp
+3-0clang/include/clang/Sema/SemaCodeCompletion.h
+356-216 files

LLVM/project 583de22llvm/docs AMDGPUMemoryModel.rst AMDGPUUsage.rst

cleanup scopes, fix visibility, update av operations, fix examples of !amdgcn-av-none
DeltaFile
+80-71llvm/docs/AMDGPUMemoryModel.rst
+5-7llvm/docs/AMDGPUUsage.rst
+85-782 files

FreeBSD/src 81b47a7sys/netpfil/ipfw ip_fw_nat.c

ipfw: fix checksum after NAT

When checksum offloading is used, IPFW needs to fix the checksum
after libalias has done NAT. The ipfw_nat() function does so, but
only for mbufs without a receiving interface. However, if, for example,
the packet was sent inside a jail that used checksum offloading over
an epair, ipfw still needs to fix the checksum even though the mbuf
has set a receiving interface (epair).
This patch just removes the check whether a receiving interface is set.

PR:                     295057
Reviewed by:            tuexen
MFC after:              immediately
Differential Revision:  https://reviews.freebsd.org/D57091
DeltaFile
+7-8sys/netpfil/ipfw/ip_fw_nat.c
+7-81 files

LLVM/project 2c4065fclang/lib/CIR/CodeGen CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic.c

[CIR] Atomic fetch-and-update operations on pointers (#195537)
DeltaFile
+196-0clang/test/CIR/CodeGen/atomic.c
+27-6clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+223-62 files

LLVM/project 607870aclang/lib/AST/ByteCode Interp.h, clang/test/AST/ByteCode cxx20.cpp

[clang][bytecode] Use `Pointer::computeOffsetForComparison()` for non-eq comparisons as well (#198243)
DeltaFile
+2-2clang/lib/AST/ByteCode/Interp.h
+1-1clang/test/AST/ByteCode/cxx20.cpp
+3-32 files

LLVM/project d473e14bolt/include/bolt/Core DIEBuilder.h

[BOLT][DebugInfo] Speed up DIEBuilder with DenseMap (#197655)

We replaced `std::unordered_map` with LLVM's `DenseMap` for the DIE maps
in DIEBuilder. Since this map is accessed frequently during DWARF
rewriting, the improved data layout translates directly into reduced
cache misses. As shown in the benchmark results, this change yields
1.22x–1.27x speedup.

**Program from Bytedance**
| BatchSize | Baseline (s) | Optimized (s) | Speedup |
|---|---|---|---|
| 2 | 120.01 | 98.32 | 1.22x |
| 4 | 104.12 | 85.37 | 1.22x |
| 16 | 82.31 | 66.41 | 1.24x |
| 32 | 77.45 | 61.01 | 1.27x |
| 64 | 71.69 | 56.35 | 1.27x |
DeltaFile
+3-3bolt/include/bolt/Core/DIEBuilder.h
+3-31 files

LLVM/project 3588902llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Change the cost model to interchange `[* =]`
DeltaFile
+30-53llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+33-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+63-552 files

LLVM/project cfe42a0llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Add test with dependency `[* =]` and `[= *]` (NFC)
DeltaFile
+117-0llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+117-01 files

LLVM/project 0ce2916llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll pr43176-move-to-new-latch.ll

[LoopInterchange] Relax legality check to accept more patterns
DeltaFile
+103-42llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+15-0llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+8-6llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
+4-6llvm/test/Transforms/LoopInterchange/inner-only-reductions.ll
+6-3llvm/test/Transforms/LoopInterchange/legality-check.ll
+0-8llvm/test/Transforms/LoopInterchange/innermost-latch-uses-values-in-middle-header.ll
+136-651 files not shown
+140-697 files

LLVM/project fbd8a18llvm/lib/Transforms/Scalar LoopInterchange.cpp

update impl
DeltaFile
+5-13llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+5-131 files

LLVM/project b8d9e01llvm/test/Transforms/LoopInterchange loop-interchange-optimization-remarks.ll

fix test
DeltaFile
+3-2llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
+3-21 files

LLVM/project eead440llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-vectorization.ll perserve-lcssa.ll

[LoopInterchange] Disable LoopCacheAnalysis-based heuristic by default
DeltaFile
+3-3llvm/test/Transforms/LoopInterchange/profitability-vectorization.ll
+1-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+1-1llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll
+1-1llvm/test/Transforms/LoopInterchange/delay-cachecost-calculation.ll
+1-1llvm/test/Transforms/LoopInterchange/lcssa-phi-outer-latch.ll
+1-1llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
+8-91 files not shown
+9-107 files

LLVM/project bd22833llvm/test/Transforms/LoopInterchange profitability-vectorization.ll

address review comment
DeltaFile
+1-1llvm/test/Transforms/LoopInterchange/profitability-vectorization.ll
+1-11 files

LLVM/project 6a9a4e7llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Take base pointer into account in profitability check
DeltaFile
+18-7llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+7-17llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+25-242 files

LLVM/project 807a36dllvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Add test for multiple accesses to same base ptr (NFC)
DeltaFile
+86-2llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+86-21 files

LLVM/project f156cd9llvm/test/Transforms/LoopInterchange profitability-instorder.ll

address review comment
DeltaFile
+7-7llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+7-71 files

LLVM/project 7be306cllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange many-load-stores.ll memory-instr-ratio.ll

[LoopInterchange] Bail out when memory instruction ratio is high (#192954)

Currently, to save compile-time, LoopInterchange limits the number of
memory instructions and bails out early if it exceeds a threshold.
However, the dependence analysis phase in LoopInterchange has `O(N^2)`
complexity, where `N` is the number of memory instructions. This means
that even a small number of memory instructions can have a
non‑negligible impact on compile-time. In fact, I found such a case
(about +5% compile‑time regression), which the most instructions in the
loop are stores.
This patch replaces the heuristic which determines whether we should
continue the analysis or bail out to save compile time. The idea is that
if the ratio of the squared number of memory instructions to the total
number of instructions is small, LoopInterchange is allowed to continue
its analysis. The existing option `-loop-interchange-max-meminstr-count`
is removed.

Compile-time improvement:
https://llvm-compile-time-tracker.com/compare.php?from=f344adcd2fb876d61f016fb92369a6530cc85a5b&to=6f7e5b0e4b35116728563913f2d98b7f9341409b&stat=instructions:u
DeltaFile
+0-260llvm/test/Transforms/LoopInterchange/many-load-stores.ll
+111-0llvm/test/Transforms/LoopInterchange/memory-instr-ratio.ll
+23-18llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+134-2783 files

FreeBSD/ports 838dc62misc/unclutter Makefile

misc/unclutter: Take maintainership

Add LICENSE and CONFLICTS_INSTALL.

PR:             295408
Approved by:    fluffy (mentor)
DeltaFile
+10-5misc/unclutter/Makefile
+10-51 files

FreeBSD/ports 22743dagraphics/zathura-pdf-mupdf distinfo Makefile

graphics/zathura-pdf-mupdf: Update to 2026.05.10

https://pwmt.org/projects/zathura-pdf-mupdf/changelog/2026.05.10/index.html

PR:             295461
Approved by:    uzsolt (maintainer)
Approved by:    fluffy (mentor)
DeltaFile
+3-3graphics/zathura-pdf-mupdf/distinfo
+1-1graphics/zathura-pdf-mupdf/Makefile
+4-42 files

NetBSD/pkgsrc Vlk4aEVdoc CHANGES-2026

   Updated www/freenginx to 1.30.0nb3
VersionDeltaFile
1.3170+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc w2oisVFwww/freenginx distinfo options.mk, www/freenginx/patches extra-patch-auto-quickjs

   www/freenginx: update njs 0.9.8 -> 0.9.9

   Bump PKGREVISION.

   Sponsored by:        tipi.work

   <ChangeLog>

   nginx modules:

   *) Security: a heap buffer overflow might occur in a worker process
      when the "js_fetch_proxy" directive value contains nginx
      variables derived from the client request ($http_*, $arg_*,
      $cookie_*, etc.) and the location's JS handler invokes
      ngx.fetch(). The issue was introduced in dea83189 (0.9.4).

   *) Feature: added js_access directive.

   *) Feature: added r.readRequestText(), r.readRequestArrayBuffer(),

    [21 lines not shown]
VersionDeltaFile
1.6+4-4www/freenginx/distinfo
1.5+2-2www/freenginx/options.mk
1.3+2-2www/freenginx/patches/extra-patch-auto-quickjs
1.7+2-2www/freenginx/Makefile
+10-104 files

FreeNAS/freenas 2653781docs/source/api aliases.rst index.rst, src/middlewared/middlewared main.py

API aliases
DeltaFile
+43-0docs/source/api/aliases.rst
+24-9src/middlewared/middlewared/main.py
+29-0src/middlewared/middlewared/api/base/handler/model_provider.py
+2-2src/middlewared/middlewared/api/aliases.py
+1-1tests/api2/test_legacy_api.py
+1-0docs/source/api/index.rst
+100-126 files