LLVM/project 6b1484fllvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/test/Analysis/CostModel/AArch64 masked-divrem.ll

[TTI] Add BasicTTIImpl cost model for llvm.masked.{u,s}{div,rem} (#191240)

This implements a generic cost model for the intrinsics added in
#189705. It costs it equivalently to the current expansion, i.e. an
unmasked divide + select.
DeltaFile
+429-0llvm/test/Analysis/CostModel/AArch64/masked-divrem.ll
+295-0llvm/test/Analysis/CostModel/RISCV/masked-divrem.ll
+44-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+768-03 files

LLVM/project d6d99d9llvm/test/CodeGen/AMDGPU minmax3-tree-reduction.ll vector-reduce-umin.ll

[AMDGPU] Improve max3/min3 formation for tree-structured reductions (#190734)

The existing `performMinMaxCombine` forms `max3` by matching
`max(max(a,b), c) -> max3(a,b,c)`. For tree reductions like
`max(max(a,b), max(c,d))`, this produces `max3(a, b, max(c,d));` placing
`max3` on top. At the next tree level, `max(max3, max3)` cannot combine
because the 3-op opcode (`FMAXIMUM3`) differs from the 2-op opcode
(`FMAXIMUM`).

This patch:
1. Adds a tree combine: `max(max(a,b), max(c,d)) -> max(max3(a,b,c),
d)`, keeping a 2-op node on top that enables further combining.
2. Defers the existing combine when the operand is a tree node whose
children can still be combined, ensuring inner tree levels are optimized
before outer levels consume them.

Deferral is skipped when neither child has a single use, since the inner
combine cannot fire in that case.

Fix: LCOMPILER-1652
DeltaFile
+538-0llvm/test/CodeGen/AMDGPU/minmax3-tree-reduction.ll
+54-68llvm/test/CodeGen/AMDGPU/vector-reduce-umin.ll
+54-68llvm/test/CodeGen/AMDGPU/vector-reduce-umax.ll
+50-64llvm/test/CodeGen/AMDGPU/vector-reduce-smax.ll
+50-64llvm/test/CodeGen/AMDGPU/vector-reduce-smin.ll
+37-41llvm/test/CodeGen/AMDGPU/combine_andor_with_cmps.ll
+783-3053 files not shown
+825-3229 files

LLVM/project 55feddbclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen ptrauth-module-flags.c

[PAC][clang] Use `Error` behavior for ptrauth module flags (#189923)

Previous use of `Min` for `ptrauth-elf-got` and
`ptrauth-sign-personality` module flags was introducing a risk of silent
decrease of security during module merge. The previous choice for `Min`
was mimicking the behavior for the `sign-return-address*` family of
module flags, but it does not make sense to apply this behavior here.
DeltaFile
+3-3clang/lib/CodeGen/CodeGenModule.cpp
+2-2clang/test/CodeGen/ptrauth-module-flags.c
+5-52 files

LLVM/project 2f2bd5elldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

[NFC][lldb] Extract Do{Dis}EnableBreakpoint into helper functions (#191136)

Re-using this code will be important in an upcoming patch.

This commit also greatly simplifies the comments in the function.
DeltaFile
+97-130lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+97-1301 files

LLVM/project 611868bmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-target-launch-host.mlir openmp-target-launch-device.mlir

update
DeltaFile
+49-37mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+22-3mlir/test/Target/LLVMIR/openmp-target-launch-host.mlir
+21-0mlir/test/Target/LLVMIR/openmp-target-launch-device.mlir
+92-403 files

NetBSD/pkgsrc q7UfK98doc CHANGES-2026

   Updated multimedia/mkvtoolnix, games/wesnoth
VersionDeltaFile
1.2194+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 1JYH1tZgames/wesnoth distinfo Makefile

   wesnoth: updated to 1.18.7

   1.18.7
   Translations
   * Updated translations: Bengali, Chinese (Simplified), Czech, French, Hungarian, Portuguese (Brazil)
   Miscellaneous and Bug Fixes
   * Fix time of day sounds not playing.
VersionDeltaFile
1.98+4-4games/wesnoth/distinfo
1.240+2-3games/wesnoth/Makefile
+6-72 files

NetBSD/pkgsrc HUsYngOmultimedia/mkvtoolnix distinfo Makefile

   mkvtoolnix: updated to 98.0

   Version 98.0 "Chonks" 2026-04-05

   New features and enhancements

   * all: huge update to the Japanese translations which had been not worked on
     for several years. The program translation is now complete again, the man
     page translation has been extended as well. Both were reworked in most
     places. Translations by coolvitto.
   * GUI: chapter editor: added an option in the "additional modifications"
     dialog that toggles applying the selected modifications to all currently
     open chapter editor tabs.
   * GUI: macOS: added dock icon progress bar for job queue. Patch by Miklos
     Juhasz.

   Bug fixes

   * GUI: chapter editor: when renumbering chapters limiting the number of

    [8 lines not shown]
VersionDeltaFile
1.136+4-4multimedia/mkvtoolnix/distinfo
1.262+2-3multimedia/mkvtoolnix/Makefile
+6-72 files

LLVM/project 7459e10offload/test/offloading strided_update_count_expression_complex.c strided_update_multiple_arrays_count_expression.c, offload/test/offloading/strided_update strided_update_count_expression_complex.c strided_update_multiple_arrays_count_expression.c

[OpenMP][NFC] Refactor Non-contiguous Update Tests (#190923)

The PR refactors the non-contiguous update tests as raised as a TODO in
one of the comments in the related PR. Prefixed all with
`strided_update`. For offload tests, added a dedicated sub-directory.
DeltaFile
+0-290offload/test/offloading/strided_update_count_expression_complex.c
+290-0offload/test/offloading/strided_update/strided_update_count_expression_complex.c
+0-162offload/test/offloading/strided_update_multiple_arrays_count_expression.c
+162-0offload/test/offloading/strided_update/strided_update_multiple_arrays_count_expression.c
+145-0offload/test/offloading/strided_update/strided_update_multiple_arrays_variable_stride.c
+0-145offload/test/offloading/strided_update_multiple_arrays_variable_stride.c
+597-597118 files not shown
+4,593-4,593124 files

LLVM/project b6fff9fmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-teams.mlir openmp-target-launch-host.mlir

[OpenMP][MLIR] Add thread_limit mlir->llvm lowering
DeltaFile
+82-49mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+36-0mlir/test/Target/LLVMIR/openmp-teams.mlir
+3-3mlir/test/Target/LLVMIR/openmp-target-launch-host.mlir
+3-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+124-554 files

LLVM/project fc17b6dmlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-todo.mlir

add todo test
DeltaFile
+10-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+11-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+21-32 files

LLVM/project 0a0a333llvm/lib/Target/AMDGPU AMDGPUIGroupLP.cpp AMDGPUIGroupLP.h

[NFC][AMDGPU]: expose IGLPStrategyID in AMDGPUIGroupLP.h (#191340)

Move IGLPStrategyID and its enumerators into llvm::AMDGPU in the public
header so other translation units can share the immediate encoding.
DeltaFile
+1-7llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+8-0llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.h
+9-72 files

HardenedBSD/ports dd84904devel/py-pyinstaller distinfo Makefile, devel/py-pyinstaller-hooks-contrib Makefile distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-36devel/py-pyinstaller/files/patch-bootloader_src_main.c
+5-4devel/py-pyinstaller-hooks-contrib/Makefile
+3-3textproc/R-cran-rio/distinfo
+3-3devel/py-pyinstaller/distinfo
+3-3devel/py-pyinstaller-hooks-contrib/distinfo
+4-2devel/py-pyinstaller/Makefile
+18-514 files not shown
+28-5910 files

LLVM/project b34901cmlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Conversion/NVGPUToNVVM NVGPUToNVVM.cpp

[mlir][NVVM] Add InferTypeOpInterface to NVVM MBarrier ops with deterministic result types (#188173)

Add result type inference to 5 NVVM ops whose result types can be fully
determined from their operands and attributes. This enables the Python
binding generator to emit `results=None` as a default parameter,
removing the need for callers to pass explicit result types.

Ops with optional results (using `InferTypeOpAdaptorWithIsCompatible`):
- `MBarrierArriveOp`: i64 for non-cluster pointers, no result for
shared_cluster
- `MBarrierArriveDropOp`: same as above
- `MBarrierArriveExpectTxOp`: same, plus no result when predicate is set
- `MBarrierArriveDropExpectTxOp`: same as MBarrierArriveOp
- `BarrierOp`: i32 when reductionOp is present, no result otherwise

The optional-result ops use a permissive `isCompatibleReturnTypes` that
allows omitting the result, preserving backward compatibility with the
existing zero-result assembly form.


    [8 lines not shown]
DeltaFile
+88-0mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+38-9mlir/test/python/dialects/nvvm.py
+10-5mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+6-8mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
+7-0mlir/test/Dialect/LLVMIR/nvvm.mlir
+3-1mlir/test/Target/LLVMIR/nvvm/mbar_arrive.mlir
+152-236 files

LLVM/project adb986abolt/lib/Passes FixRISCVCallsPass.cpp, bolt/lib/Target/RISCV RISCVMCPlusBuilder.cpp

[BOLT][RISCV] Fix the inaccurate profile data check (#189338)
DeltaFile
+6-12bolt/lib/Passes/FixRISCVCallsPass.cpp
+8-0bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
+2-2bolt/test/RISCV/call-annotations.s
+3-1bolt/test/RISCV/relax.s
+19-154 files

LLVM/project 0609b23mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-target-launch-host.mlir openmp-target-launch-device.mlir

update
DeltaFile
+30-40mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+23-3mlir/test/Target/LLVMIR/openmp-target-launch-host.mlir
+19-0mlir/test/Target/LLVMIR/openmp-target-launch-device.mlir
+72-433 files

LLVM/project fe5d5b7llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/DebugInfo/X86 sdag-load-sext-trunc.ll sdag-load-sext.ll

[SelectionDAG] Salvage debuginfo when combining load and z|s ext instrs. (#188544)

Reland 2b958b9ee24b8ea36dcc777b2d1bcfb66c4972b6

Salvage debuginfo when combining load and z|s ext instrs.

SelectionDAG uses the DAGCombiner to fold a load followed by a sext to a
load and sext instruction. For example, in x86 we will see that

```
%1 = load i32, ptr @GlobArr
    #dbg_value(i32 %1, !43, !DIExpression(), !52)
%2 = sext i32 %1 to i64, !dbg !53
```

is converted to:

```
%0:gr64_nosp = MOVSX64rm32 $rip, 1, $noreg, @GlobArr, $noreg, debug-instr-number 1, debug-location !51

    [14 lines not shown]
DeltaFile
+89-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+70-0llvm/test/DebugInfo/X86/sdag-load-sext-trunc.ll
+61-0llvm/test/DebugInfo/X86/sdag-load-sext.ll
+48-0llvm/test/DebugInfo/X86/sdag-load-zext-multiple-args.ll
+268-34 files

LLVM/project 8401bebclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/Lowering address-space.cir

[CIR][Lowering] Handle address space cast in GlobalViewAttr lowering (#190197)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2099

This PR fixes the GlobalViewAttr LLVM lowering to use AddrSpaceCastOp
when the source and destination address spaces differ.
This fixes crashes when lowering globals referenced across address
spaces, such as AMDGPU globals in addrspace(1) referenced from
llvm.compiler.used arrays.
DeltaFile
+45-0clang/test/CIR/Lowering/address-space.cir
+21-3clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+66-32 files

LLVM/project 4bb06e2llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

Changed to a debug counter.
DeltaFile
+4-7llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+4-71 files

LLVM/project 9909223clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Adds amdgcn logb and scalebn builtins
DeltaFile
+89-10clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+42-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+131-102 files

NetBSD/pkgsrc l7y0wnXdoc CHANGES-2026

   Updated textproc/py-lxml, devel/py-test, devel/py-test-subprocess, www/py-test-httpx
VersionDeltaFile
1.2193+5-1doc/CHANGES-2026
+5-11 files

NetBSD/pkgsrc uIerOANwww/py-test-httpx distinfo Makefile

   py-test-httpx: updated to 0.36.2

   0.36.2
   Fixed
   - Document how to ignore query parameters while matching on URL.
VersionDeltaFile
1.18+4-4www/py-test-httpx/distinfo
1.20+2-2www/py-test-httpx/Makefile
+6-62 files

NetBSD/pkgsrc kWwDxRFdevel/py-test-subprocess distinfo Makefile

   py-test-subprocess: updated to 1.5.4

   1.5.4 (2026-03-21)

   Features
   * Improve matching commands that contain quoted arguments.

   Bug fixes
   * Fix ResourceWarning for unclosed file handles in test_universal_newlines and test_text by explicitly closing process.stdout after reading, preventing intermittent failures on Python 3.12+.
   * Handle stderr=STDOUT when stdout is a file handle.
   * Patch imported `subprocess.Popen` aliases.
   * Support file handles in stdout and stderr.

   Other changes
   * Officially support Python 3.14 and 3.15.
VersionDeltaFile
1.4+4-4devel/py-test-subprocess/distinfo
1.6+4-4devel/py-test-subprocess/Makefile
+8-82 files

OpenBSD/ports AfeSXvSsysutils/gemini-cli distinfo Makefile, sysutils/gemini-cli/pkg PLIST

   Update to gemini-cli-0.37.1.
VersionDeltaFile
1.17+33-23sysutils/gemini-cli/pkg/PLIST
1.18+2-2sysutils/gemini-cli/distinfo
1.20+1-2sysutils/gemini-cli/Makefile
+36-273 files

OpenBSD/ports EYqsflYproductivity/libphonenumber distinfo Makefile

   Update to libphonenumber-9.0.28.
VersionDeltaFile
1.84+2-2productivity/libphonenumber/distinfo
1.95+1-1productivity/libphonenumber/Makefile
+3-32 files

OpenBSD/ports GQJBDyvgraphics/babl Makefile distinfo, graphics/babl/patches patch-meson_build patch-tools_defcheck_py

   Update to babl-0.1.126.
VersionDeltaFile
1.88+3-3graphics/babl/Makefile
1.60+2-2graphics/babl/distinfo
1.6+1-1graphics/babl/patches/patch-meson_build
1.3+1-1graphics/babl/patches/patch-tools_defcheck_py
+7-74 files

HardenedBSD/ports 5e6fef1textproc/R-cran-rio Makefile distinfo

textproc/R-cran-rio: Update to 1.3.0

Changelog: https://github.com/gesistsa/rio/releases/tag/v1.3.0
DeltaFile
+3-3textproc/R-cran-rio/Makefile
+3-3textproc/R-cran-rio/distinfo
+6-62 files

FreeBSD/ports 5e6fef1textproc/R-cran-rio distinfo Makefile

textproc/R-cran-rio: Update to 1.3.0

Changelog: https://github.com/gesistsa/rio/releases/tag/v1.3.0
DeltaFile
+3-3textproc/R-cran-rio/distinfo
+3-3textproc/R-cran-rio/Makefile
+6-62 files

NetBSD/pkgsrc enDYOoDdevel/py-test distinfo Makefile

   py-test: updated to 9.0.3

   pytest 9.0.3 (2026-04-07)

   Bug fixes

   * Fixed pytest.approx() which now correctly takes into account Mapping keys order to compare them.
   * Blocking a conftest.py file using the -p no: option is now explicitly disallowed.
   Previously this resulted in an internal assertion failure during plugin loading.

   Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.

   * Fixed crash when a test raises an exceptiongroup with __tracebackhide__ = True.
   * Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.
   * Fixed use of insecure temporary directory (CVE-2025-71176).

   Improved documentation

   * Clarified documentation for -p vs PYTEST_PLUGINS plugin loading and fixed an incorrect -p example.

    [5 lines not shown]
VersionDeltaFile
1.126+4-4devel/py-test/distinfo
1.144+2-2devel/py-test/Makefile
+6-62 files

NetBSD/pkgsrc 1MDNpYttextproc/py-lxml distinfo Makefile

   py-lxml: updated to 6.0.3

   6.0.3 (2026-04-09)

   Bugs fixed

   * Several out of memory error cases now raise ``MemoryError`` that were not handled before.
   * Slicing with large step values (outside of ``+/- sys.maxsize``) could trigger undefined C behaviour.
   * LP-125399: Some failing tests were fixed or disabled in PyPy.
   * LP-2138421: Memory leak in error cases when setting the ``public_id`` or ``system_url`` of a document.
   * Memory leak in case of a memory allocation failure when copying document subtrees.
   * When mapping an XPath result to Python failed, the result memory could leak.
   * When preparing an XSLT transform failed, the XSLT parameter memory could leak.
VersionDeltaFile
1.83+4-4textproc/py-lxml/distinfo
1.127+2-3textproc/py-lxml/Makefile
+6-72 files