LLVM/project ee2a2ae — llvm/lib/Target/AMDGPU SIPreEmitPeephole.cpp, llvm/test/CodeGen/AMDGPU wmma-set-reuse-bits.mir

[AMDGPU] Set WMMA source-operand reuse bits in SIPreEmitPeephole

gfx1250 WMMA instructions can set matrix_a_reuse / matrix_b_reuse bits
that keep the A or B source operand in a high-temporality state in the
VALU source-operand cache, so a later WMMA reusing the same registers
hits in the cache instead of re-reading the register file.

Add a late, post-RA peephole in the existing pre-emit peephole pass that,
for every WMMA, sets the A or B reuse bit when the next WMMA in the basic
block reads the same physical registers as its A or B operand and those
registers are not redefined in between. Other instructions between the
two WMMAs are allowed.

The cache is only a few entries deep, so at most one reuse bit is set per
WMMA, and none is added if one is already set.

Stale sticky entries in the cache are cleared when a register is used in
an instruction without a reuse bit being set. Therefore, the final WMMA
use of the same source should not set the bit.
DeltaFile
+311-0llvm/test/CodeGen/AMDGPU/wmma-set-reuse-bits.mir
+70-1llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
+381-12 files

LLVM/project df8a613 — clang/lib/CodeGen CodeGenFunction.h CodeGenFunction.cpp, clang/test/CodeGen attr-counted-by-base-exprs.c attr-counted-by-debug-info.c

[Clang][counted_by] Capture the field l-value instead of re-emitting the load

To share the pointer field's address with the -fsanitize=array-bounds
check, EmitArraySubscriptExpr emitted the field load itself instead of
going through EmitPointerWithAlignment and ScalarExprEmitter. That
duplicated the scalar member-load path by hand, and the copy missed
several things that path does: the 'align_value' assumption (fixed in
the previous commit), the member's debug location, and the
-fdebug-info-for-profiling pseudo variable for the struct base. So
enabling the sanitizer changed debug info and sample-profile
attribution, even for fields where no bounds check was emitted at all.

Instead, emit the base exactly as before, and have
ScalarExprEmitter::EmitLoadOfLValue record the l-value it loads from
when it matches an expression registered in the new
CodeGenFunction::CurLoadedLValueCapture. The bounds check then uses the
recorded field address. Since the base is emitted the same way with and
without the sanitizer, the load keeps everything the scalar path does.
This also covers a cast between the field load and the subscript (e.g.

    [7 lines not shown]
DeltaFile
+57-0clang/test/CodeGen/attr-counted-by-debug-info.c
+19-26clang/lib/CodeGen/CGExpr.cpp
+41-4clang/lib/CodeGen/CGExprScalar.cpp
+0-35clang/lib/CodeGen/CodeGenFunction.cpp
+16-6clang/lib/CodeGen/CodeGenFunction.h
+15-6clang/test/CodeGen/attr-counted-by-base-exprs.c
+148-771 files not shown
+150-797 files

FreeBSD/ports 858083d — x11/hyprlauncher distinfo Makefile

x11/hyprlauncher: Update to 0.1.7

While here, add missing depedencies as per a suggestion from stage-qa.

Changelog: https://github.com/hyprwm/hyprlauncher/releases/tag/v0.1.7

Reported by:    GitHub (watch releases)
DeltaFile
+5-3x11/hyprlauncher/Makefile
+3-3x11/hyprlauncher/distinfo
+8-62 files

LLVM/project 446eb2c — llvm/lib/Target/AVR AVRRegisterInfo.cpp AVRExpandPseudoInsts.cpp, llvm/test/CodeGen/AVR alloca-tiny.ll

[AVR] Support STDSPQRr on reduced tiny cores (#230226)

Currently we always expand `STDSPQRr` to `STDPtrQRr`: which is wrong, because 
`STDPtrQRr` doesn't exist on Tiny. This merge request fixes this expansion, same 
way we already have `if (STI.hasTinyEncoding()) { ...}` for several other instructions.

Closes https://github.com/llvm/llvm-project/issues/226680.
DeltaFile
+104-0llvm/test/CodeGen/AVR/alloca-tiny.ll
+27-3llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
+8-1llvm/lib/Target/AVR/AVRRegisterInfo.cpp
+139-43 files

FreeBSD/ports 65d5d09 — databases/kividb Makefile

databases/kividb: remove "include" directive

Such a functionality is a part of the USES=cargo framework.
No functional changes, so do not bump PORTREVISION.

Reported by:    vanilla

Sponsored by:   tipi.work
DeltaFile
+0-2databases/kividb/Makefile
+0-21 files

LLVM/project e9a7fbf — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP flatten_codegen.cpp

Revert "[Clang][OpenMP] Convert `flatten` floating-point trip-count to integers " (#233657)

Reverts llvm/llvm-project#229458

Revert-to-green; failure:
https://lab.llvm.org/buildbot/#/builders/231/builds/1969/steps/11/logs/FAIL__libomp__floating-bounds_c
https://github.com/llvm/llvm-project/pull/233521 appears to be blocked
on review.
DeltaFile
+17-54clang/lib/Sema/SemaOpenMP.cpp
+0-32openmp/runtime/test/transform/flatten/floating-bounds.c
+0-28clang/test/OpenMP/flatten_codegen.cpp
+17-1143 files

LLVM/project 6ec4fff — llvm/lib/IR IROptions.cpp Constants.cpp, llvm/unittests/IR LibraryOptionsContextTest.cpp

[IR] Declare command line options in TableGen (#233195)

Move the IR options that code with an LLVMContext reads into IROptions.

-disable-auto-upgrade-debug-info and -disable-i2p-p2i-opt become
-auto-upgrade-debug-info and -i2p-p2i-opt, keeping the old spellings as
aliases (with a TODO for removal).

llvm/unittests/IR/LibraryOptionsContextTest.cpp no longer depends on
InstCombine (a makeshift before LLVMCore is ported)

LLM-aided
DeltaFile
+51-54llvm/lib/IR/AsmWriter.cpp
+70-0llvm/lib/IR/IROptions.td
+16-46llvm/unittests/IR/LibraryOptionsContextTest.cpp
+32-0llvm/lib/IR/IROptions.h
+8-11llvm/lib/IR/Constants.cpp
+15-0llvm/lib/IR/IROptions.cpp
+192-11115 files not shown
+253-17821 files

LLVM/project 3a856a2 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP flatten_codegen.cpp

Revert "[Clang][OpenMP] Convert `flatten` floating-point trip-count to intege…"

This reverts commit 5db657b9d7afdf469398f562288aba6aa2fb68e4.
DeltaFile
+17-54clang/lib/Sema/SemaOpenMP.cpp
+0-32openmp/runtime/test/transform/flatten/floating-bounds.c
+0-28clang/test/OpenMP/flatten_codegen.cpp
+17-1143 files

LLVM/project 49f291a — llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/test/Transforms/InstCombine exp2-to-ldexp.ll exp2-1.ll

Update for comments
DeltaFile
+11-10llvm/test/Transforms/InstCombine/exp2-1.ll
+8-6llvm/test/Transforms/InstCombine/exp2-to-ldexp.ll
+4-3llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+23-193 files

LLVM/project 172e9c2 — llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/test/Transforms/InstCombine pow_fp_int16.ll pow_fp_int.ll

[InstCombine] Fold exp2(uitofp x) to ldexp(1.0, x) with ninf

`exp2(uitofp iN x) -> ldexp(1.0, zext x)` currently requires N to be
narrower than `int`, because `ldexp` takes a signed `int` exponent.
When N equals the width of `int`, the fold is still correct under `ninf`.
Every LLVM FP type has $E_{\max} \le 16383 < 2^{15} \le 2^{N-1}$, so:

- $x < 2^{N-1}$: signed and unsigned $x$ agree, so $\operatorname{ldexp}(1.0, x) = 2^{x} = \operatorname{exp2}(x)$.
- $x \ge 2^{N-1}$: $\operatorname{exp2}(x) \ge 2^{2^{N-1}} > 2^{E_{\max}}$ overflows to $+\infty$, which is poison under `ninf`.

This only applies to the intrinsic, since the `exp2` libcall may set
`errno` on overflow.

This also enables `pow(2.0, uitofp x) -> ldexp` via the existing
`pow(2^n, x) -> exp2(n * x)` fold.
DeltaFile
+23-30llvm/test/Transforms/InstCombine/exp2-to-ldexp.ll
+33-18llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+8-12llvm/test/Transforms/InstCombine/exp2-1.ll
+4-4llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
+3-4llvm/test/Transforms/InstCombine/pow_fp_int16.ll
+3-4llvm/test/Transforms/InstCombine/pow_fp_int.ll
+74-726 files

LLVM/project d22038f — llvm/test/Transforms/InstCombine pow_fp_int16.ll

[InstCombine] Autogenerate test checks in pow_fp_int16.ll. NFC (#227379)

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
DeltaFile
+121-84llvm/test/Transforms/InstCombine/pow_fp_int16.ll
+121-841 files

FreeBSD/src 93c05b7 — release/tools oci-image-static.conf

OCI: Remove dead code

We don't need to pick a repository URL when all we're doing is enabling
one which was specified in /etc/pkg/.

Reviewed by:    dch, imp
Fixes:  c73ae6734899 ("release/tools: use same pkg settings ...")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D60868
DeltaFile
+0-8release/tools/oci-image-static.conf
+0-81 files

LLVM/project b054b9c — mlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Dialect/Arith canonicalize.mlir

[mlir][arith] Fix integer-to-float comparison canonicalization (#233631)

Reject conversions that can produce NaN or saturate, and formats that
cannot represent zero or signed inputs. Preserve safe rewrites when the
integer range fits the floating-point exponent range.

Handle unconditional `cmpf` predicates without reaching an unreachable
case. Add regression coverage for exotic formats and rounding limits.

Assisted-by: Codex
DeltaFile
+193-0mlir/test/Dialect/Arith/canonicalize.mlir
+33-2mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+226-22 files

OpenBSD/ports SQZahJi — games/godot Makefile.inc, games/godot/pack1 Makefile

   as discussed with op@, I will take sole MAINTAINER for now
VersionDeltaFile
1.3+1-2games/godot/Makefile.inc
1.9+1-1games/godot/pack3/Makefile
1.5+1-1games/godot/pack2/Makefile
1.6+1-1games/godot/pack1/Makefile
+4-54 files

FreeBSD/ports 291f045 — misc/shimmy Makefile Makefile.crates

misc/shimmy: Update to 2.6.5

Changelog: https://github.com/Michael-A-Kuykendall/shimmy/blob/v2.6.5/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+9-9misc/shimmy/distinfo
+3-3misc/shimmy/Makefile.crates
+1-2misc/shimmy/Makefile
+13-143 files

NetBSD/pkgsrc BNvfVs7 — doc CHANGES-2026

   Note update of devel/libagcre and textproc/agcre from versino 20261017 to 20261019
VersionDeltaFile
1.7122+3-1doc/CHANGES-2026
+3-11 files

OpenBSD/ports Ox6a32b — games/love Makefile.inc, games/love/0.10 Makefile

   as discussed with op@, take over MAINTAINER from him
VersionDeltaFile
1.3+1-2games/love/12/Makefile
1.9+1-1games/love/Makefile.inc
1.10+1-1games/love/11/Makefile
1.9+1-1games/love/0.8/Makefile
1.7+1-1games/love/0.10/Makefile
+5-65 files

LLVM/project 65cb504 — mlir/lib/Dialect/Arith/IR ArithOps.cpp

address comments
DeltaFile
+3-2mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+3-21 files

FreeBSD/ports 3f194b7 — archivers/peazip Makefile distinfo

archivers/peazip: Update to 11.4.0
DeltaFile
+3-4archivers/peazip/pkg-plist
+3-3archivers/peazip/distinfo
+1-1archivers/peazip/Makefile
+7-83 files

FreeBSD/ports 8079622 — editors/cudatext Makefile distinfo

editors/cudatext: Update to 1.237.3.0

ChangeLog at:   https://github.com/Alexey-T/CudaText/blob/master/app/readme/history.txt
DeltaFile
+5-5editors/cudatext/distinfo
+2-2editors/cudatext/Makefile
+7-72 files

OpenBSD/src 1cOi3e7 — sys/dev/usb if_mue.c

   Wait up to 1 second for lite software reset to complete instead of 5 ms,
   matching the Linux lan78xx driver.  This fixes "timeout on lite software reset"
   on a LAN7800.

   ok kettenis@
VersionDeltaFile
1.14+2-2sys/dev/usb/if_mue.c
+2-21 files

FreeBSD/ports 1415802 — www/monolith Makefile Makefile.crates

www/monolith: Update to 2.11.5

Changelog:
- https://github.com/Y2Z/monolith/releases/tag/v2.11.0
- https://github.com/Y2Z/monolith/releases/tag/v2.11.1
- https://github.com/Y2Z/monolith/releases/tag/v2.11.2
- https://github.com/Y2Z/monolith/releases/tag/v2.11.3
- https://github.com/Y2Z/monolith/releases/tag/v2.11.4
- https://github.com/Y2Z/monolith/releases/tag/v2.11.5

PR:             299166
Approved by:    lcook (maintainer, timeout 2 weeks)
DeltaFile
+867-619www/monolith/distinfo
+432-308www/monolith/Makefile.crates
+1-2www/monolith/Makefile
+1,300-9293 files

OpenBSD/src 1yv5DV1 — sys/dev/usb if_mue.c

   Fix a kernel stack overflow in mue_init_ltm().

   idx[] was uint8_t[6] but the LTM table read into it is 24 bytes.
   Also handle mue_read_eeprom() errors like Linux does and byte swap
   the values with letoh32().

   Reported by Acts1631
   ok kettenis@
VersionDeltaFile
1.13+23-15sys/dev/usb/if_mue.c
+23-151 files

LLVM/project a18ce3f — llvm/test/Instrumentation/MemorySanitizer load-origin.ll

[𝘀𝗽𝗿] initial version

Created using spr 2.0.0-beta.1
DeltaFile
+131-0llvm/test/Instrumentation/MemorySanitizer/load-origin.ll
+131-01 files

OpenBSD/ports PFyust9 — net/tailscale Makefile modules.inc, net/tailscale/pkg PLIST

   Update to tailscale-1.104.1

   From Adriano Barbosa (maintainer)
VersionDeltaFile
1.71+2,804-3,398net/tailscale/distinfo
1.43+1,424-1,772net/tailscale/modules.inc
1.74+1-1net/tailscale/Makefile
1.22+1-0net/tailscale/pkg/PLIST
+4,230-5,1714 files

LLVM/project 0a44be7 — libcxx/utils/ci/lnt run-benchmarks, libcxx/utils/ci/lnt/schemas libcxx.json

[libc++] Record more information about commits submitted to LNT (#233634)
DeltaFile
+17-0libcxx/utils/ci/lnt/schemas/libcxx.json
+8-1libcxx/utils/ci/lnt/run-benchmarks
+25-12 files

FreeBSD/src 97b9e96 — share/misc bsd-family-tree

bsd-family-tree: add OpenBSD 8.0
DeltaFile
+2-1share/misc/bsd-family-tree
+2-11 files

OpenBSD/ports WI8CPU1 — devel/gopls Makefile modules.inc, devel/gopls/pkg PLIST

   Update to gopls-0.24.0

   From Laurent Cheylus (maintainer)
VersionDeltaFile
1.20+84-78devel/gopls/distinfo
1.20+24-22devel/gopls/modules.inc
1.21+1-1devel/gopls/Makefile
1.7+1-0devel/gopls/pkg/PLIST
+110-1014 files

LLVM/project 266656b — offload/test/offloading/fortran derived_type_allocatable_skipped_from_no_restore.f90 derived_type_pointer_repointed_host_kept.f90

[OpenMP][OMPTarget][test] Fortran tests for host pointers after FROM transfers

From #229966:

  -------------------------------------------------+---------------------------
  Test                                             | Checks
  -------------------------------------------------+---------------------------
  derived_type_allocatable_skipped_from_no_restore | skipped FROM: host
                                                   | descriptor is not restored
  derived_type_pointer_repointed_host_kept         | re-pointed host pointer is
                                                   | kept after a target region
  -------------------------------------------------+---------------------------

Co-authored-by: agozillon <Andrew.Gozillon at amd.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+69-0offload/test/offloading/fortran/derived_type_pointer_repointed_host_kept.f90
+58-0offload/test/offloading/fortran/derived_type_allocatable_skipped_from_no_restore.f90
+127-02 files

LLVM/project a3a4a46 — offload/include/OpenMP Mapping.h, offload/libomptarget interface.cpp omptarget.cpp

[OpenMP][OMPTarget] Restore host pointers to their value before the FROM transfer

A FROM transfer of storage that holds an attached pointer/descriptor
overwrites the host copy with the device address, so the runtime writes a
host value back afterwards. That value was the one saved at attach time, and
it was written back for every FROM entry, transferred or not:

  -------------------------------+---------------------+---------------------
  Case                           | Before              | After
  -------------------------------+---------------------+---------------------
  FROM skipped (ref count > 1)   | host ptr reverted   | untouched
  FROM of the struct             | host ptr reverted   | value before FROM
  FROM not covering the ptr      | host ptr reverted   | untouched
  target update from(s.x)        | host ptr reverted   | untouched
  -------------------------------+---------------------+---------------------

"Reverted" means set to its value at attach time. Since OpenMP 6.1 (TR15) the
host pointer may be re-pointed while its device pointer stays attached, so
that value can be stale.

    [17 lines not shown]
DeltaFile
+97-73offload/libomptarget/omptarget.cpp
+99-0offload/test/mapping/attach_host_ptr_repointed_kept.c
+33-0offload/test/mapping/attach_host_ptr_restore_deferred_from_mapper.c
+21-1offload/include/OpenMP/Mapping.h
+3-7offload/libomptarget/interface.cpp
+253-815 files