LLVM/project fad1241 — flang/docs Aliasing.md, flang/lib/Lower ConvertVariable.cpp Bridge.cpp

[flang] Mark all visible Cray pointer targets (#241388)

When a Cray pointer is set to a variable's address, flang gives that
variable the TARGET attribute so alias analysis knows the pointee can
modify it. It only caught `ptr = loc(x)` with nothing else on the
right-hand side, and it only marked `x`.

This patch marks anything passed to LOC or %LOC anywhere in the
procedure, its host or their internal procedures, however the result
is used. It also marks the variable behind an ASSOCIATE name,
everything that shares storage with a marked variable through
EQUIVALENCE or COMMON, and assumed-shape dummies, which were missed
before.

This fixes an EQUIVALENCE case that is already wrong at -O1 on main,
and it is needed before #230699 can remove the runtime call on
pointee references.

Assisted-by: Claude Code

    [3 lines not shown]
DeltaFile
+202-4flang/test/Lower/HLFIR/visible-cray-pointer-target.f90
+143-54flang/lib/Lower/Bridge.cpp
+6-0flang/docs/Aliasing.md
+2-0flang/lib/Lower/ConvertVariable.cpp
+353-584 files

FreeBSD/ports 2957623 — lang/idris2 Makefile pkg-plist

lang/idris2: Improve port

- Pet port{clippy,fmt,lint}.
- Simplify building and installing the port.
- Remove leftover file from pkg-plist after using sed.
- Use %%VERSION%% substitution in pkg-plist to reduce large diffs.

Reported by:    arrowd
Approved by:    Jens Grassel <freebsd-ports at jan0sch.de> (implicit)
DeltaFile
+850-851lang/idris2/pkg-plist
+13-11lang/idris2/Makefile
+863-8622 files

LLVM/project 5b7b9ec — libc/src/string CMakeLists.txt stpncpy.cpp

[libc][string] Optimize stpncpy() with strnlen() and inline_memcpy() (#246447)

The current stpncpy implementation copies characters using a byte by
byte loop before padding trailing null bytes with inline_bzero. Replace
the copy loop with internal::strnlen and inline_memcpy to leverage
vectorized string and memory operations, matching strncpy.

In a microbenchmark copying a 512 byte string into a 1024 byte buffer,
this reduces execution time by about 83%, or 6.1x faster.
DeltaFile
+12-6libc/src/string/stpncpy.cpp
+5-0libc/src/string/CMakeLists.txt
+17-62 files

LLVM/project 362f937 — llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

Update test.
DeltaFile
+42-21llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+42-211 files

LLVM/project 9e57761 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

Format.
DeltaFile
+2-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-21 files

LLVM/project 101dd0f — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVOptions.td, llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

[SPIRV] Let explicit NSDI flags override AMD defaults
DeltaFile
+5-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVOptions.td
+3-2llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+2-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+14-124 files

LLVM/project 48bc1b6 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-amd-vendor-defaults.ll

[SPIRV] Enable NSDI features by default for AMD

Enable -spirv-debug-lexical-block-discriminator-scope,
-spirv-debug-scope-forward-refs and -spirv-debug-declare-untyped-variable
when the target vendor is AMD.
DeltaFile
+73-0llvm/test/CodeGen/SPIRV/debug-info/debug-amd-vendor-defaults.ll
+16-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+11-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+100-103 files

LLVM/project 5ddb354 — llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

Improve test.
DeltaFile
+1-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+1-01 files

LLVM/project d11a03d — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

[SPIRV] Treat OpUntypedVariableKHR as a function-level variable
DeltaFile
+10-8llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+1-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+11-82 files

LLVM/project ef8cb7e — llvm/lib/Target/SPIRV SPIRVOptions.td SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-declare-untyped-variable.ll

[SPIRV] Add flag to allow OpUntypedVariableKHR in DebugDeclare (#244305)

This PR lets `DebugDeclare` use an `OpUntypedVariableKHR`.
[NonSemantic.Shader.DebugInfo](https://github.khronos.org/SPIRV-Registry/nonsemantic/NonSemantic.Shader.DebugInfo.html#DebugDeclare)
requires that _Variable_ operand to be an `OpVariable`, so the new
behavior is off by default and enabled with
`-spirv-debug-declare-untyped-variable`.

On `spirv64-amd-amdhsa` the backend enables `SPV_KHR_untyped_pointers`.
Ordinary allocas are then emitted as `OpUntypedVariableKHR`, so a
`DebugDeclare` for those locals has no `OpVariable` available. This
showed up while running the ROCgdb test suite with the SPIR-V backend.

A follow-up PR will enable this flag by default for
`spirv64-amd-amdhsa`, along with the other NSDI emission defaults for
that triple. I would also be happy to work towards allowing this in the
specification for `DebugDeclare`. The reverse translation was also
validated with the SPIRV-LLVM-Translator.
DeltaFile
+42-0llvm/test/CodeGen/SPIRV/debug-info/debug-declare-untyped-variable.ll
+12-8llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+2-0llvm/lib/Target/SPIRV/SPIRVOptions.td
+56-83 files

NextBSD/src 5b19b29 — . build.sh

Live ISO: find the boot media by its NEXTBSD label only (#381)

/init took any /dev/cd0 as the boot medium. The mfsroot is the root
file system, so mountroot never waits for USB: on a machine with an
optical drive, cd0 attached before the USB stick, the settle loop
stopped on it, mount_cd9660 failed (no disc), and the one-pass
candidate loop gave up seconds before da0 and iso9660/NEXTBSD
appeared. init then pivoted into an empty union and the kernel
panicked: Going nowhere without my init!

Look only for /dev/iso9660/NEXTBSD, which GEOM_LABEL gives the
volume on a burned disc and on a USB stick alike. Retry each second
for up to 60 s until it mounts and holds rootfs.uzip, unmounting a
volume without one. If it never turns up, say so, list the labels
and disks, and hold a shell on the console; exiting it looks again.
No optical drive, one, or several make no difference now.

Closes #381

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+30-11build.sh
+30-111 files

LLVM/project ea6dc6f — llvm/lib/Target/SystemZ SystemZISelLowering.cpp

Also flag i128
DeltaFile
+7-5llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+7-51 files

LLVM/project b75054c — llvm/lib/Target/AMDGPU GCNSchedStrategy.h GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU av-split-dead-valno-crash.ll

[AMDGPU] Use the latency metric to break RP ties in the initial stages (#243116)

When neither pressure was less than the other in mayCauseSpilling, the
schedule was reverted based on the tie. In the initial stages, the old
schedule would be just the input order, so a tie could discard a
schedule and go back to the input order that was never selected for
latency.

Add a new helper, shouldRevertInitialSchedule, for the initial stages.
It reverts when mayCauseSpilling returns true, unless there is a tie in
the before/after register pressure and the new schedule reduces latency.
The Max Occupancy, ILP, and Memory Clause initial stages use this new
helper. The later rescheduling stages keep reverting on a tie, since
their old schedule was already chosen by a previous stage.

Fixes LCOMPILER-3191.

Assisted-by: Cursor/Claude Opus


    [2 lines not shown]
DeltaFile
+52-52llvm/test/CodeGen/AMDGPU/av-split-dead-valno-crash.ll
+30-3llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+10-0llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
+92-553 files

LLVM/project a734ed5 — llvm/test/CodeGen/AArch64 fixed-two-lane-vector-interleave.ll, llvm/test/CodeGen/X86 vector-interleave7-i64.ll vector-deinterleave3-i64.ll

rebase

Created using spr 2.0.0-beta.2
DeltaFile
+1,436-1,649llvm/test/CodeGen/X86/vector-deinterleave7-i64.ll
+1,007-1,207llvm/test/CodeGen/X86/vector-deinterleave5-i64.ll
+1,277-0llvm/test/CodeGen/AArch64/fixed-two-lane-vector-interleave.ll
+412-416llvm/test/CodeGen/X86/vector-deinterleave3-i64.ll
+453-0llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
+190-171llvm/test/CodeGen/X86/vector-interleave7-i64.ll
+4,775-3,443175 files not shown
+6,565-5,064181 files

LLVM/project 23b7c75 — llvm/include/llvm/MC MCAsmInfo.h, llvm/lib/Target/ARM/MCTargetDesc ARMMCAsmInfo.h ARMMCAsmInfo.cpp

[ARM] Never use symbolic register names in .cfi directives for old binutils (#246661)

GNU as handles named CFI registers since version 2.25. To remove the
virtual function from MCAsmInfo, always disable register names in CFI
directives if we are unsure whether they are supported in the end; as it
is unknown at this point whether the integrated assembler will be used,
do this always when the binutils version is explicitly lowered. (Note
that binutils-version defaults to 2.26.)

This saves ~400B of .data.rel.ro.
DeltaFile
+4-6llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
+3-2llvm/test/CodeGen/ARM/debug-frame.ll
+1-3llvm/include/llvm/MC/MCAsmInfo.h
+0-1llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h
+8-124 files

LLVM/project 35675f3 — mlir/include/mlir/Dialect/Tosa/IR TosaOps.td, mlir/lib/Dialect/Tosa/IR TosaOps.cpp

[mlir][tosa] Require unsigned attribute to be set for unsigned types (#245666)

TOSA carries signedness information via operator attributes
input_unsigned and output_unsigned. This is because tensor data types
are expected to be signless. However, the dialect implemenation also
allows unsigned inputs and outputs to help with conversion. This commit
changes the verifiers of both cast and rescale to ensure the operator
attribute and input/output type are consistent when the input/output
type is unsigned.
DeltaFile
+56-0mlir/test/Dialect/Tosa/verifier.mlir
+48-1mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+28-1mlir/test/Dialect/Tosa/ops.mlir
+27-0mlir/test/Dialect/Tosa/tosa-decompose-depthwise.mlir
+20-0mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+4-4mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
+183-61 files not shown
+185-107 files

FreeBSD/src 58e1a0c — etc/mtree BSD.tests.dist, tools/build/mk OptionalObsoleteFiles.inc

bhyve: add basic tests

Add sanity checks for:

 * bhyve -l help
 * bhyve -s help
 * bhyve -o help
 * bhyve -o config.dump=1

Validate that commands run successfully, have no duplicates,
sorted where applicable, and the dumped configuration can be consumed
again with the -k option.

Reviewed by:    ngie, Osvaldo Janeri Filho <ojanerif at amd.com>
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D60981
DeltaFile
+133-0usr.sbin/bhyve/tests/bhyve_test.sh
+5-0usr.sbin/bhyve/tests/Makefile
+3-0usr.sbin/bhyve/Makefile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+2-0etc/mtree/BSD.tests.dist
+146-05 files

FreeBSD/ports a1e27ed — irc/ngircd pkg-plist distinfo

irc/ngircd: update to 29

While here, enable the test suite. All tests pass.
DeltaFile
+5-2irc/ngircd/Makefile
+3-3irc/ngircd/distinfo
+2-1irc/ngircd/pkg-plist
+10-63 files

FreeBSD/ports 595d3c5 — graphics/d2 Makefile distinfo

graphics/d2: Update to 0.10.0
DeltaFile
+5-5graphics/d2/distinfo
+1-2graphics/d2/Makefile
+6-72 files

LLVM/project cf1a97a — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

fixup! [AArch64] Implement InstCombine for sve_and_u and sve_eor_u
DeltaFile
+17-41llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+17-411 files

OpenBSD/ports ycfgpqK — sysutils/grafana Makefile distinfo, sysutils/grafana/pkg PLIST

   sysutils/grafana: update to 13.1.11
VersionDeltaFile
1.57+4-4sysutils/grafana/pkg/PLIST
1.57+4-4sysutils/grafana/distinfo
1.74+1-1sysutils/grafana/Makefile
+9-93 files

LLVM/project 31864b1 — llvm/lib/Target/AMDGPU SIInstrInfo.td

[AMDGPU][NFC] Remove unused operand defs (#246643)

Were added in b9b7b31e2368 and b49855fc5684, but never used.
DeltaFile
+0-3llvm/lib/Target/AMDGPU/SIInstrInfo.td
+0-31 files

LLVM/project 6b5d975 — llvm/test/CodeGen/AArch64 fixed-interleave7-intrinsics.ll fixed-two-lane-vector-interleave.ll, llvm/test/CodeGen/X86 vector-interleave7-i64.ll vector-deinterleave3-i64.ll

[CodeGen][AArch64] Expand two lane interleave to shuffles (#243155)

Build each result with a two lane shuffle of two input vectors.
This produces pairwise zip shuffles and avoids costly structured loads
and stores.
DeltaFile
+1,436-1,649llvm/test/CodeGen/X86/vector-deinterleave7-i64.ll
+1,007-1,207llvm/test/CodeGen/X86/vector-deinterleave5-i64.ll
+1,277-0llvm/test/CodeGen/AArch64/fixed-two-lane-vector-interleave.ll
+412-416llvm/test/CodeGen/X86/vector-deinterleave3-i64.ll
+190-171llvm/test/CodeGen/X86/vector-interleave7-i64.ll
+122-143llvm/test/CodeGen/AArch64/fixed-interleave7-intrinsics.ll
+4,444-3,58612 files not shown
+5,137-4,44218 files

LLVM/project 73c7faa — llvm/include/llvm/MC MCAsmInfo.h, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

[MC][NFC] Remove MCAsmInfo::getStackSection (#246690)

Remove the ELF-only function in favor a bool indicating whether the
section should be emitted (i.e., not Solaris and not BPF).

The downside is that this duplicates the name ".note.GNU-stack" into
AsmPrinter and MCELFStreamer, which seems acceptable as it is unlikely
to change. (Alternatively, this could be a new virtual hook in
MCStreamer, but I'd rather not add that, as the vtables of
MCStreamer+subclasses already take 58 kiB.)

This saves ~400B of .data.rel.ro.
DeltaFile
+8-6llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+6-7llvm/include/llvm/MC/MCAsmInfo.h
+3-8llvm/lib/MC/MCAsmInfoELF.cpp
+3-5llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
+3-4llvm/lib/MC/MCELFStreamer.cpp
+2-3llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp
+25-3320 files not shown
+46-5426 files

LLVM/project 5bcc227 — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU waitcnt-vavdst-exec.mir

[AMDGPU] Ignore EXEC writes that cannot zero EXEC for VA_VDST

Only an EXEC write that may produce zero can cause later VALUs to be
skipped. Moves of a nonzero immediate, ORs and WQMs of EXEC, and
S_OR_SAVEEXEC keep a nonzero EXEC nonzero, so pending VA_VDST accesses
keep their credit across them.

Assisted-by: Claude
DeltaFile
+29-2llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+4-4llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+33-62 files

LLVM/project 9fa1e8c — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU expert_scheduling_gfx12.mir waitcnt-vavdst-exec.mir

[AMDGPU] Stop crediting skippable VALUs as VA_VDST successors

When EXEC is zero most VALUs are skipped and never increment VA_VDST,
but lane accesses, V_NOP, VALUs that write an SGPR, VCC or NULL, and
WMMA/SWMMAC are still issued. A skipped VALU therefore must not count as
a successor of a pending access that was issued, which happens across
EXEC writes and after these always-issued VALUs.

Mark pending accesses at EXEC writes, and the accesses of always-issued
VALUs. A marked access keeps the count it had already earned and is
otherwise credited only by later always-issued VALUs and ordered XDL
writes. A later skippable access to the same register does not clear
the mark. Partial waits keep unsatisfied marked accesses pending, and
merges take the smaller count.

Assisted-by: Claude
DeltaFile
+178-22llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+27-25llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+2-2llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+207-493 files

LLVM/project 5d1f15f — llvm/test/CodeGen/AMDGPU expert_scheduling_gfx12.mir waitcnt-vavdst-exec.mir

[AMDGPU] Precommit tests for VA_VDST across EXEC writes

Record current waitcnt behavior for VALU dependencies across EXEC writes.

Assisted-by: Claude
DeltaFile
+1,022-0llvm/test/CodeGen/AMDGPU/waitcnt-vavdst-exec.mir
+78-0llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+1,100-02 files

OpenBSD/ports wKDFPQv — www/yt-dlp Makefile distinfo, www/yt-dlp/pkg PLIST

   www/yt-dlp: update to 2026.11.23
VersionDeltaFile
1.64+0-11www/yt-dlp/pkg/PLIST
1.74+2-2www/yt-dlp/distinfo
1.82+1-1www/yt-dlp/Makefile
+3-143 files

OpenBSD/ports aidAbDz — net/powerdns Makefile distinfo

   update to powerdns-5.1.7
VersionDeltaFile
1.65.2.2+2-2net/powerdns/distinfo
1.121.2.2+1-1net/powerdns/Makefile
+3-32 files

OpenBSD/ports 91Z1CFT — mail/pecl-mailparse Makefile distinfo

   update to pecl-mailparse-3.2.1
VersionDeltaFile
1.17+2-2mail/pecl-mailparse/distinfo
1.51+1-2mail/pecl-mailparse/Makefile
+3-42 files