LLVM/project ec32f94 — llvm/tools/llvm-jitlink llvm-jitlink.cpp

[llvm-jitlink] Add -show-jit-result option (#226149)

Add a -show-jit-result option that prints the int result of the JIT'd
main / entry function to stdout as:

  JIT result: <return value>

This makes the result of the JIT'd main / entry function FileCheck-able,
and distinguishable from an llvm-jitlink failure.

This will be used in upcoming ORC runtime tests.

Since we don't currently run code under llvm-jitlink in LLVM regression
tests, this commit does not include an LLVM-side test.
DeltaFile
+7-0llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+7-01 files

LLVM/project 25ba11d — mlir/include/mlir/IR OpDefinition.h

[mlir] Constant-initialize registered operation hook tables (NFC) (#226320)

Make the generic operation hook accessors constexpr so registered
operation hook tables can be constant-initialized. Keep the table
declared static const to support non-constexpr downstream overrides.

In OpenMPDialect.cpp this removes 72 initialization guards and 10,368
bytes of object text, and saves about 0.56B compiler instructions.

Assisted-by: Codex
DeltaFile
+5-5mlir/include/mlir/IR/OpDefinition.h
+5-51 files

FreeBSD/ports e7b88fd — net/frr10 Makefile pkg-plist, net/frr10/files patch-pimd_pim__igmp.c patch-pimd_pim__sock.c

net/frr10: Enable pimd, install daemons in lib/frr

Add four patches to make pimd work on FreeBSD (submitted upstream).

Daemons move from ${PREFIX}/sbin to ${PREFIX}/lib/frr, matching the
Linux packages. Only vtysh and mtracebis stay in bin/. This avoids filename
collision with net/openbgpd*, net/pimd, net/quagga, etc.
DeltaFile
+306-0net/frr10/files/patch-pimd_pim__mroute.c
+57-48net/frr10/pkg-plist
+71-0net/frr10/files/patch-pimd_pim__upstream.c
+41-0net/frr10/files/patch-pimd_pim__sock.c
+22-0net/frr10/files/patch-pimd_pim__igmp.c
+4-3net/frr10/Makefile
+501-511 files not shown
+502-527 files

NetBSD/pkgsrc-wip 289f799 — evernote-mode TODO

evernote-mode: update TODO
DeltaFile
+1-1evernote-mode/TODO
+1-11 files

NetBSD/pkgsrc-wip 21ab1e1 — ever-note-mode Makefile

evernote-mode: mark as BROKEN

Needs an older Ruby than is in pkgsrc.
DeltaFile
+4-3ever-note-mode/Makefile
+4-31 files

NetBSD/pkgsrc-wip c2400c6 — ever-note-mode MESSAGE Makefile, evernote-mode MESSAGE Makefile

evernote-mode: fix directory name
DeltaFile
+0-56ever-note-mode/PLIST
+56-0evernote-mode/PLIST
+0-51ever-note-mode/Makefile
+51-0evernote-mode/Makefile
+0-14ever-note-mode/MESSAGE
+14-0evernote-mode/MESSAGE
+121-1217 files not shown
+130-13013 files

LLVM/project 2f8fdbe — lld/Common DriverDispatcher.cpp, lld/ELF DriverUtils.cpp Driver.cpp

[lld][ELF] Support virtual filesystems for library inputs

Allow ELF library callers to supply an `llvm::vfs::FileSystem` to
`lld::lldMain`. Use it for objects, bitcode, regular and thin archives,
linker scripts, response files, library searches, and IR-level LTO profiles.

This enables embedded users such as AMD COMGR to avoid staging linker inputs
on disk. For example, COMGR's `linkToRelocatable` writes in-memory data
objects to temporary files before calling `linkWithLLD`. A COMGR follow-up
can instead expose those buffers through an `InMemoryFileSystem` and pass
it to `lldMain`.

Retain the filesystem for the invocation and preserve logical filenames when
backing buffers have different identifiers, including during ThinLTO imports.
Profile loading and sample-profile cache-key reads use the supplied
filesystem.

Calls that omit the filesystem retain their existing behavior. The shared
`lld::Driver` callback gains a filesystem argument; non-ELF drivers reject

    [14 lines not shown]
DeltaFile
+328-0lld/unittests/AsLibELF/VirtualFileSystem.cpp
+142-0llvm/unittests/LTO/VirtualFileSystemTest.cpp
+29-11lld/ELF/Driver.cpp
+20-13lld/Common/DriverDispatcher.cpp
+15-11lld/ELF/DriverUtils.cpp
+18-0llvm/unittests/LTO/CMakeLists.txt
+552-3526 files not shown
+709-7532 files

LLVM/project 16cbe80 — llvm/test/CodeGen/AMDGPU si-lower-i1-copies-order-of-phi-incomings.mir si-annotate-nested-control-flows.ll, llvm/test/CodeGen/AMDGPU/GlobalISel divergence-divergent-i1-phis-no-lane-mask-merging.mir divergence-temporal-divergent-i1.mir

AMDGPU: Mark the SCC def dead when merging lane masks (#226282)

The scalar and/or/xor used to merge a lane mask with EXEC clobber SCC,
but nothing reads the result. Avoid depending on later dead flag inference.

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+78-78llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.mir
+72-72llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.mir
+24-24llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-temporal-divergent-i1.mir
+24-20llvm/test/CodeGen/AMDGPU/si-annotate-nested-control-flows.ll
+9-9llvm/test/CodeGen/AMDGPU/si-lower-i1-copies-order-of-phi-incomings.mir
+9-9llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-phis-no-lane-mask-merging.mir
+216-21210 files not shown
+268-26616 files

LLVM/project 3a4d410 — offload/liboffload/src OffloadImpl.cpp, offload/libompaccsupport PluginManager.cpp device.cpp

[offload] Extract OMPT out of PluginInterface  (#221726)

Some of the OMPT callbacks, namely the device lifetime and image related
ones, lived in the generic PluginInterface even though they are OpenMP
specific. This patch extracts them out to the PluginManager, and removes
some device ID tracking functionality which was only necessary for
OpenMP from PluginInterface. The OpenMP device ID mapping should live
only in libomptarget.
DeltaFile
+0-60offload/plugins-nextgen/common/src/PluginInterface.cpp
+0-26offload/plugins-nextgen/common/include/PluginInterface.h
+11-5offload/libompaccsupport/PluginManager.cpp
+16-0offload/libompaccsupport/device.cpp
+0-15offload/liboffload/src/OffloadImpl.cpp
+2-4offload/libomptarget/OpenMP/OMPT/Callback.cpp
+29-1107 files not shown
+33-12113 files

FreeBSD/src 6429199 — sys/powerpc/pseries phyp_llan.c

llan: byte swap the receive queue entries

The receive queue of a PAPR logical LAN is filled in by the hypervisor, so
its fields are big endian, but llan_intr() read the offset and the length of
each frame natively.  On a little endian kernel the length of a 134 byte
frame reads as 0x86000000, and ether_input() discards the mbuf because m_len
is not even large enough for an ethernet header.  No frame is ever received.

Reproduced on a POWER9 pseries guest with a spapr-vlan interface.  Before:

  llan0: discard frame w/o leading ethernet header (len -2046820352
      pkt len -2046820352)
  llan0 1500 <Link#1> 52:54:00:12:34:56  123  118  0  5838733312  7  0

that is 118 input errors out of 123 packets, dhclient(8) never completes and
ping(8) loses every packet, although transmit works because the transmit
path passes the lengths in hcall registers rather than through memory.
Afterwards the interface gets a DHCP lease and ping reports no loss.


    [3 lines not shown]
DeltaFile
+4-4sys/powerpc/pseries/phyp_llan.c
+4-41 files

LLVM/project 032ba42 — llvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen AllocationOrder.cpp MachineRegisterInfo.cpp

Merge branch 'users/mssefat/anti-hints-pr3-amdgpu-apply' into users/mssefat/anti-hints-pr4-amdgpu-pre-ra
DeltaFile
+0-22llvm/lib/CodeGen/MachineRegisterInfo.cpp
+19-1llvm/lib/CodeGen/AllocationOrder.cpp
+0-5llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+19-283 files

LLVM/project 42dc120 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIInstrInfo.h, llvm/test/CodeGen/AMDGPU vperm-pk16-exec-hazard.mir llvm.amdgcn.perm.pk.ll

[AMDGPU] Ensure v_perm_pk16 hazard is applied to both gfx1250 and gfx1251.
DeltaFile
+11-14llvm/lib/Target/AMDGPU/SIInstrInfo.h
+4-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3-2llvm/test/CodeGen/AMDGPU/remove-short-exec-branches-vperm-pk16.mir
+2-1llvm/test/CodeGen/AMDGPU/vperm-pk16-exec-hazard.ll
+2-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.perm.pk.ll
+1-0llvm/test/CodeGen/AMDGPU/vperm-pk16-exec-hazard.mir
+23-196 files

LLVM/project 79d20ee — llvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen AllocationOrder.cpp MachineRegisterInfo.cpp

Merge branch 'users/mssefat/anti-hints-pr2-mir-serialize' into users/mssefat/anti-hints-pr3-amdgpu-apply
DeltaFile
+0-22llvm/lib/CodeGen/MachineRegisterInfo.cpp
+19-1llvm/lib/CodeGen/AllocationOrder.cpp
+0-5llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+19-283 files

LLVM/project 1b23705 — llvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen AllocationOrder.cpp MachineRegisterInfo.cpp

Merge branch 'users/mssefat/anti-hints-pr1-infra' into users/mssefat/anti-hints-pr2-mir-serialize
DeltaFile
+0-22llvm/lib/CodeGen/MachineRegisterInfo.cpp
+19-1llvm/lib/CodeGen/AllocationOrder.cpp
+0-5llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+19-283 files

LLVM/project a6fda0a — llvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen AllocationOrder.cpp MachineRegisterInfo.cpp

[NFC] Moved getBitVecRegAntiHints from MachineRegisterInfo to AllocationOrder
DeltaFile
+0-22llvm/lib/CodeGen/MachineRegisterInfo.cpp
+19-1llvm/lib/CodeGen/AllocationOrder.cpp
+0-5llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+19-283 files

LLVM/project 4b6b970 — clang/test/CodeGenHLSL/builtins RWBuffer-Interlocked.hlsl RasterizerOrderedByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl, clang/test/SemaHLSL/BuiltIns ByteAddressBuffer-InterlockedCompareExchangeFloatBitwise-sm60.hlsl InterlockedCompareExchangeFloatBitwise-errors.hlsl

First attempt implementing InterlockedCompareExchangeFloatBitwise



DeltaFile
+119-0clang/test/SemaHLSL/BuiltIns/InterlockedCompareExchangeFloatBitwise-errors.hlsl
+43-0clang/test/CodeGenHLSL/builtins/InterlockedCompareExchangeFloatBitwise.hlsl
+42-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedCompareExchangeFloatBitwise-sm60.hlsl
+32-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl
+25-0clang/test/CodeGenHLSL/builtins/RasterizerOrderedByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl
+10-0clang/test/CodeGenHLSL/builtins/RWBuffer-Interlocked.hlsl
+271-05 files not shown
+298-311 files

LLVM/project 00d06d9 — clang/include/clang/Basic Builtins.td

Remove the comment on the InterlockedCompareExchangeFloatBitwise builtin
DeltaFile
+0-1clang/include/clang/Basic/Builtins.td
+0-11 files

LLVM/project f4744f0 — clang/test/CodeGenHLSL/builtins RWTexture-Interlocked.hlsl

Add InterlockedCompareExchangeFloatBitwise coverage to the texture test
DeltaFile
+5-0clang/test/CodeGenHLSL/builtins/RWTexture-Interlocked.hlsl
+5-01 files

LLVM/project b4f993e — clang/test/CodeGenHLSL/builtins RWTexture-Interlocked.hlsl

Add InterlockedCompareStoreFloatBitwise coverage to the texture test
DeltaFile
+7-0clang/test/CodeGenHLSL/builtins/RWTexture-Interlocked.hlsl
+7-01 files

LLVM/project defd031 — clang/lib/Sema SemaHLSL.cpp, clang/test/CodeGenHLSL/builtins RWByteAddressBuffer-InterlockedCompareStoreFloatBitwise.hlsl InterlockedCompareStoreFloatBitwise.hlsl

First attempt implementing InterlockedCompareStoreFloatBitwise



DeltaFile
+100-0clang/test/SemaHLSL/BuiltIns/InterlockedCompareStoreFloatBitwise-errors.hlsl
+39-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedCompareStoreFloatBitwise-sm60.hlsl
+35-0clang/test/CodeGenHLSL/builtins/InterlockedCompareStoreFloatBitwise.hlsl
+30-0llvm/test/CodeGen/DirectX/ResourceAtomicCompareStoreFloat.ll
+27-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedCompareStoreFloatBitwise.hlsl
+16-6clang/lib/Sema/SemaHLSL.cpp
+247-66 files not shown
+311-1012 files

LLVM/project b894acd — clang/include/clang/Basic Builtins.td

Remove the comment on the InterlockedCompareStoreFloatBitwise builtin
DeltaFile
+0-1clang/include/clang/Basic/Builtins.td
+0-11 files

LLVM/project ce1dadd — clang/lib/Sema HLSLExternalSemaSource.cpp SemaHLSL.cpp, clang/test/CodeGenHLSL/builtins RasterizerOrderedByteAddressBuffer-InterlockedCompareExchange.hlsl RWByteAddressBuffer-InterlockedCompareExchange.hlsl

First attempt implementing InterlockedCompareExchange



DeltaFile
+93-81clang/lib/Sema/SemaHLSL.cpp
+113-0clang/test/SemaHLSL/BuiltIns/InterlockedCompareExchange-errors.hlsl
+70-0clang/test/CodeGenHLSL/builtins/InterlockedCompareExchange.hlsl
+41-24clang/lib/Sema/HLSLExternalSemaSource.cpp
+44-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedCompareExchange.hlsl
+35-0clang/test/CodeGenHLSL/builtins/RasterizerOrderedByteAddressBuffer-InterlockedCompareExchange.hlsl
+396-1056 files not shown
+480-12212 files

LLVM/project 950ef0d — clang/test/CodeGenHLSL/builtins RWTexture-Interlocked.hlsl

Add InterlockedCompareExchange coverage to the texture test
DeltaFile
+5-0clang/test/CodeGenHLSL/builtins/RWTexture-Interlocked.hlsl
+5-01 files

LLVM/project 8036e60 — clang/include/clang/Basic Builtins.td

Remove the comment on the InterlockedCompareExchange builtin
DeltaFile
+0-1clang/include/clang/Basic/Builtins.td
+0-11 files

LLVM/project dc1dc86 — clang/lib/CodeGen CGHLSLBuiltins.cpp, clang/lib/Sema HLSLExternalSemaSource.cpp

First attempt implementing InterlockedCompareStore
DeltaFile
+88-0clang/test/SemaHLSL/BuiltIns/InterlockedCompareStore-errors.hlsl
+54-0clang/test/CodeGenHLSL/builtins/InterlockedCompareStore.hlsl
+44-8clang/lib/Sema/HLSLExternalSemaSource.cpp
+29-7clang/lib/CodeGen/CGHLSLBuiltins.cpp
+36-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedCompareStore.hlsl
+33-0llvm/test/CodeGen/DirectX/ResourceAtomicCompareStore.ll
+284-157 files not shown
+392-1713 files

LLVM/project 7524a2f — clang/include/clang/Basic Builtins.td

Remove the comment on the InterlockedCompareStore builtin
DeltaFile
+0-1clang/include/clang/Basic/Builtins.td
+0-11 files

LLVM/project 5d1706b — clang/test/CodeGenHLSL/builtins RWTexture-Interlocked.hlsl

Add InterlockedCompareStore coverage to the texture test
DeltaFile
+13-8clang/test/CodeGenHLSL/builtins/RWTexture-Interlocked.hlsl
+13-81 files

LLVM/project 45ea3b9 — clang/test/SemaHLSL/BuiltIns InterlockedExchange-errors.hlsl ByteAddressBuffer-InterlockedExchangeFloat-sm60.hlsl, llvm/lib/Target/DirectX DXILLegalizePass.cpp

[HLSL] Add float overload for `InterlockedExchange` (#222163)

This PR adds the float overload of `InterlockedExchange`, and the
`InterlockedExchangeFloat` method on `RWByteAddressBuffer` and
`RasterizerOrderedByteAddressBuffer`. 

The HLSL interlocked builtins are declared with a variadic type in
`Builtins.td`, so Clang applies the default argument promotions to their
arguments. That promotion turns a `float` argument into a `double`
before Sema
sees it. The Sema check then rejects the call and names the type as
`'double'`
in the diagnostic, which does not match what the user wrote.

`CustomTypeChecking` suppresses that promotion, so the argument keeps
its
`float` type and the diagnostic names it correctly.

Only the builtins that can see a float argument need the attribute. This

    [9 lines not shown]
DeltaFile
+56-0llvm/test/CodeGen/DirectX/ResourceAtomicExchangeFloat.ll
+51-0llvm/test/CodeGen/DirectX/LegalizeAtomicExchangeFloat.ll
+40-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedExchangeFloat-sm60.hlsl
+37-0llvm/lib/Target/DirectX/DXILLegalizePass.cpp
+21-14clang/test/SemaHLSL/BuiltIns/InterlockedExchange-errors.hlsl
+30-0llvm/test/CodeGen/DirectX/LegalizeAtomicExchangeFloat-unsupported-width.ll
+235-1411 files not shown
+326-3517 files

LLVM/project 5e7f666 — mlir/include/mlir/IR OperationSupport.h, mlir/lib/IR OperationSupport.cpp

[mlir][ODS] Share generated legacy property splitting (NFC) (#226085)

Route generated legacy builder attributes through an out-of-line helper
that partitions inherent and discardable attributes before converting
properties. This avoids compiling the same loop and error path for every
operation.

Assisted-by: Codex
DeltaFile
+16-27mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+20-0mlir/lib/IR/OperationSupport.cpp
+4-4mlir/test/mlir-tblgen/op-decl-and-defs.td
+8-0mlir/include/mlir/IR/OperationSupport.h
+48-314 files

NetBSD/src 8PLLwy6 — distrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   t_sigio: New test of various SIGIO cases.

   PR kern/59056: poll POLLHUP bugs
   PR kern/60782: SIGIO says socket ready for send before send does
   PR kern/60783: tty: missing siginfo_t in SIGIO
   PR kern/60784: pty doesn't deliver SIGIO when writable
   PR kern/60785: fifo delivers SIGIO with wrong si_fd
VersionDeltaFile
1.1+2,107-0tests/lib/libc/sys/t_sigio.c
1.81+3-1tests/lib/libc/sys/Makefile
1.1431+2-1distrib/sets/lists/tests/mi
1.520+2-1distrib/sets/lists/debug/mi
+2,114-34 files