LLVM/project d5233a4 — llvm/lib/Target/RISCV RISCVISelLowering.cpp

fixup! Rename helper functions
DeltaFile
+15-15llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+15-151 files

LLVM/project 65303e8 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll shrink-insts-scalar-bit-ops.mir

[AMDGPU] Preserve live SCC when shrinking disjoint S_OR_B32 to S_ADDK_I32 (#228025)

Do not shrink a disjoint `s_or_b32` to `s_addk_i32` when SCC is live.
The instructions produce equivalent data results but incompatible SCC
values.

`or` sets SCC when the result is nonzero whereas, `addk` sets SCC when
there's a signed overflow.
This causes silent code after compare folding.
DeltaFile
+35-0llvm/test/CodeGen/AMDGPU/shrink-insts-scalar-bit-ops.mir
+27-0llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+4-1llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+66-13 files

LLVM/project b135ced — llvm/test/Transforms/Util/DeclareRuntimeLibcalls sparc.ll riscv.ll

RuntimeLibcalls: Add signext/zeroext attributes to libcall signatures (#237481)

Try to match TargetLibraryInfo's behavior. Integer types narrower than
int are extended according to their signedness.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+480-480llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+292-292llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+235-235llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+221-221llvm/test/Transforms/Util/DeclareRuntimeLibcalls/mips.ll
+160-160llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+160-160llvm/test/Transforms/Util/DeclareRuntimeLibcalls/riscv.ll
+1,548-1,54815 files not shown
+2,364-2,28621 files

LLVM/project 52726c5 — llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp

[RISCV][P-ext] Add isel patterns for RISCVISD::MERGE with vector types. (#237361)

This avoids bitcasts to scalar and matches how AND, OR, and XOR
are handled.

Assisted-by: Claude
DeltaFile
+6-12llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+6-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+12-122 files

LLVM/project 3ebd8b9 — llvm/test/CodeGen/RISCV/GlobalISel/legalizer legalize-ctlz-rv64.mir legalize-sub-rv64.mir

[RISCV][GISel] Drop nsw and nuw flags when promoting s32 add, sub, and shl on RV64. (#234782)

Add tests to show that we don't drop the exact flag on right shifts.

Fixes #233432.
DeltaFile
+25-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-lshr-rv64.mir
+24-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ashr-rv64.mir
+23-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-shl-rv64.mir
+21-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-sub-rv64.mir
+21-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir
+4-4llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
+118-42 files not shown
+127-68 files

LLVM/project 3005314 — llvm/test/CodeGen/RISCV zcmp-cm-push-pop.mir zcmp-cm-popretz.mir

[RISCV] Add Defs to PseudoTAIL and PseudoTAILX7. (#237449)

Annonyingly PseudoTAIL can def either X6 or X7 depending on Zicfilp and
the version of the assembler being used.

Part of fixing #235697.
DeltaFile
+12-12llvm/test/CodeGen/RISCV/machineoutliner.mir
+6-6llvm/test/CodeGen/RISCV/machine-outliner-position.mir
+6-6llvm/test/CodeGen/RISCV/machine-outliner-cfi.mir
+6-6llvm/test/CodeGen/RISCV/determine-callee-saves-gpr.mir
+4-4llvm/test/CodeGen/RISCV/zcmp-cm-push-pop.mir
+4-4llvm/test/CodeGen/RISCV/zcmp-cm-popretz.mir
+38-382 files not shown
+46-438 files

LLVM/project 25af3ac — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV][P-Ext] Combine duplicate code for scalar i32 scalar intrinsics. (#237668)

These intrinsics are widened to a .w instruction on RV64 or converted
to a RISCVISD opcode on RV32.

Assisted-by: Claude
DeltaFile
+38-116llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+38-1161 files

LLVM/project 0fa80b9 — llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td

[RISCV][P-ext] Combine RISCVISD::PMULH_H_B0/PMULH_W_H0/MULH_H0 into a single ISD opcode. NFC

This matches how MHACC opcodes are implemented.
DeltaFile
+30-39llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+15-52llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+45-912 files

LLVM/project 981461a — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV][P-ext] Convert riscv_psati/usati to RISCVISD::SATI/USATI in ReplaceNodeResults. (#237752)

Instead of re-emitting an intrinsic.
DeltaFile
+15-4llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+15-41 files

OpenBSD/ports G2RfwV3 — x11/spectrwm Makefile

   use . not / for DIST_TUPLE
VersionDeltaFile
1.49+1-1x11/spectrwm/Makefile
+1-11 files

FreeBSD/ports ec84925 — archivers/libarchive pkg-plist distinfo

archivers/libarchive: Update to 3.8.11

Switch to libxml2 for full xar archive support

Changelog:
https://github.com/libarchive/libarchive/releases/tag/v3.8.11

PR:             299552
Approved by:    maintainer timeout, 2+ weeks
DeltaFile
+11-7archivers/libarchive/Makefile
+3-3archivers/libarchive/distinfo
+1-1archivers/libarchive/pkg-plist
+15-113 files

FreeBSD/ports 8a88f8b — audio/libresidfp pkg-plist Makefile

audio/libresidfp: Update to 1.2.3

Changelog:
https://github.com/libsidplayfp/libresidfp/releases/tag/v1.2.3
DeltaFile
+3-3audio/libresidfp/distinfo
+1-1audio/libresidfp/pkg-plist
+1-1audio/libresidfp/Makefile
+5-53 files

FreeBSD/ports bd0263b — x11-fonts Makefile, x11-fonts/nordwand-mono-ttf pkg-descr distinfo

x11-fonts/nordwand-mono-ttf: New port, Compact monospace neo-grotesque font

Nordwand Mono is a compact monospace neo-grotesque font designed for
developers (and adventurers)

PR:             299967
DeltaFile
+25-0x11-fonts/nordwand-mono-ttf/Makefile
+14-0x11-fonts/nordwand-mono-ttf/pkg-plist
+3-0x11-fonts/nordwand-mono-ttf/distinfo
+2-0x11-fonts/nordwand-mono-ttf/pkg-descr
+1-0x11-fonts/Makefile
+45-05 files

FreeBSD/ports 249ee79 — audio/fluidsynth pkg-plist Makefile

audio/fluidsynth: Update to 2.6.2

Changelog: https://github.com/FluidSynth/fluidsynth/releases/tag/v2.6.2
DeltaFile
+3-3audio/fluidsynth/distinfo
+1-1audio/fluidsynth/pkg-plist
+1-1audio/fluidsynth/Makefile
+5-53 files

OpenBSD/ports nYc7Fvn — games/zork Makefile, graphics/mapnik Makefile

   set WRKDIST = ${WRKDIR}/${DISTNAME} for now
VersionDeltaFile
1.57+3-0graphics/mapnik/Makefile
1.214+1-0www/nginx/Makefile
1.30+1-0lang/nim/Makefile
1.2+1-0games/zork/Makefile
+6-04 files

LLVM/project c797aca — llvm/lib/Transforms/Coroutines CoroSplit.cpp, llvm/test/Transforms/Coroutines coro-split-final-suspend-profile.ll

[CoroSplit] Use resume-switch weights on the final-suspend destroy branch (#237526)

The destroy null check replaces the removed final-suspend case. Copy
that case's weight and the sum of the remaining successor weights before
removeCase drops them, rather than marking the branch unknown.
DeltaFile
+67-0llvm/test/Transforms/Coroutines/coro-split-final-suspend-profile.ll
+19-3llvm/lib/Transforms/Coroutines/CoroSplit.cpp
+86-32 files

FreeBSD/ports 219175d — mail Makefile, mail/stalwart-migrate pkg-descr Makefile

mail/stalwart-migrate: Add new port

stalwart-migrate moves a Stalwart Mail Server v0.16.27 data store to
Stalwart v1 and can roll the migration back if needed.

WWW: https://github.com/stalwartlabs/stalwart-migrate
PR: 300418
DeltaFile
+1,669-0mail/stalwart-migrate/distinfo
+833-0mail/stalwart-migrate/Makefile.crates
+108-0mail/stalwart-migrate/Makefile
+22-0mail/stalwart-migrate/files/pkg-message.in
+11-0mail/stalwart-migrate/pkg-descr
+1-0mail/Makefile
+2,644-06 files

FreeBSD/ports 62efb92 — graphics/cegui/files patch-CMakeLists.txt patch-cmake_CEGUIMacros.cmake

graphics/cegui: Fix building with CMake 4

Approved by:    portmgr (blanket)
DeltaFile
+53-0graphics/cegui/files/patch-cmake_CEGUIMacros.cmake
+18-0graphics/cegui/files/patch-CMakeLists.txt
+71-02 files

LLVM/project 0d8e010 — llvm/lib/Target/BPF BPF.h BPFFuncTable.cpp, llvm/test/CodeGen/BPF func-table-no-target.ll func-table-not-static.ll

[BPF] Add func-table: call functions through a table (#235218)

program that keeps its data in arena keeps pointers to functions there
too: vtables, closures, `Box<dyn Trait>`. User space can write to arena.
Thus a value that the program loads from arena is a number (scalar) for
the
verifier, and `callx` does not accept a number.

With `-mattr=+func-table` a pointer to a function is a number from the
start. It is the index of the function in `__bpf_func_table`, which is
read-only data. An indirect call loads the function from the table:

```
  source       code
  -----------  ------------------------------------------------------
  &f           index of f
  (*p)(...)    __bpf_func_table[first + min(p - first, cnt - 1)](...)
```


    [72 lines not shown]
DeltaFile
+226-0llvm/lib/Target/BPF/BPFFuncTable.cpp
+91-0llvm/test/CodeGen/BPF/func-table-callback.ll
+83-0llvm/test/CodeGen/BPF/func-table.ll
+33-0llvm/test/CodeGen/BPF/func-table-not-static.ll
+25-0llvm/test/CodeGen/BPF/func-table-no-target.ll
+8-0llvm/lib/Target/BPF/BPF.h
+466-08 files not shown
+489-014 files

LLVM/project f7c2c49 — clang/test/Interpreter/CUDA lit.local.cfg sanity-codegen.cu

[clang-repl] Remove host assumptions from Interpreter/CUDA tests (#237794)

PR #236206 recently aadded tests in clang/test/Interpreter/CUDA that run
on any Linux host with the NVPTX target and JIT support, but these tests
have some assumptions that aren't true on some of the RISC-V buildbots:

* The stub libcudart.so is linked with the default linker, which fails
on hosts without one. This patch addresses this by linking with
-fuse-ld=lld and adding `REQUIRES: lld`, as clang/test/Driver does.

* The CHECK lines will break on targets such as RISC-V that add signext
to i32 returns and arguments. I've adjusted the CHECK lines to handle
this in a similar way to similar lines in Interpreter/emit-llvm.cpp.

Debugging the buildbot issues and searching the repo for similar
patterns in existing tests was LLM assisted.
DeltaFile
+4-3clang/test/Interpreter/CUDA/host-and-device-codegen.cu
+3-2clang/test/Interpreter/CUDA/sanity-codegen.cu
+3-2clang/test/Interpreter/CUDA/memory-codegen.cu
+3-2clang/test/Interpreter/CUDA/device-function-template-codegen.cu
+3-2clang/test/Interpreter/CUDA/device-function-codegen.cu
+4-0clang/test/Interpreter/CUDA/lit.local.cfg
+20-114 files not shown
+28-1510 files

FreeBSD/ports 99efa90 — devel/brpc/files patch-CMakeLists.txt

devel/brpc: Fix building with CMake 4

Approved by:    portmgr (blanket)
DeltaFile
+10-1devel/brpc/files/patch-CMakeLists.txt
+10-11 files

LLVM/project d5ef872 — llvm/include/llvm/IR RuntimeLibcalls.td

Use UInt8 for the __hot_cold_t operator new argument

tcmalloc declares __hot_cold_t as enum class __hot_cold_t : uint8_t
DeltaFile
+8-8llvm/include/llvm/IR/RuntimeLibcalls.td
+8-81 files

LLVM/project a7d587d — llvm/include/llvm/Analysis TargetLibraryInfo.h, llvm/include/llvm/IR RuntimeLibcalls.h

Use the target bool extension rule
DeltaFile
+30-30llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+15-1llvm/lib/IR/RuntimeLibcalls.cpp
+3-10llvm/include/llvm/Analysis/TargetLibraryInfo.h
+6-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+7-0llvm/lib/Analysis/TargetLibraryInfo.cpp
+5-0llvm/include/llvm/IR/RuntimeLibcalls.h
+66-476 files

LLVM/project 241d6e8 — llvm/include/llvm/IR RuntimeLibcalls.td

Use ULLong for MSVC new/delete and strtoull
DeltaFile
+7-7llvm/include/llvm/IR/RuntimeLibcalls.td
+7-71 files

LLVM/project e217b8d — llvm/test/Transforms/Util/DeclareRuntimeLibcalls sparc.ll riscv.ll

RuntimeLibcalls: Add signext/zeroext attributes to libcall signatures

Try to match TargetLibraryInfo's behavior. Integer types narrower than
int are extended according to their signedness.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+460-460llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+292-292llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+235-235llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+221-221llvm/test/Transforms/Util/DeclareRuntimeLibcalls/mips.ll
+160-160llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+160-160llvm/test/Transforms/Util/DeclareRuntimeLibcalls/riscv.ll
+1,528-1,52812 files not shown
+2,296-2,23718 files

LLVM/project bfca53f — llvm/lib/CodeGen MachineBasicBlock.cpp, llvm/test/CodeGen/PowerPC common-chain.ll

CodeGen: Remove stale last-block case when splitting a critical edge (#230930)

Before f264f9ad7df5, a new block at the end of the function began at the
old end index, so the isLastMBB case had to extend live-out intervals
over it. Now the new block always ends at the old end index, so they
already cover it. The extension became a no-op, and the case also
skipped trimming registers not live into the successor, leaving a dead
segment.

block-placement.ll needs a volatile store to keep its nested loop.
common-chain.ll gets shrink-wrapped.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+89-76llvm/test/CodeGen/PowerPC/common-chain.ll
+7-29llvm/lib/CodeGen/MachineBasicBlock.cpp
+36-0llvm/test/CodeGen/X86/phi-elimination-split-critical-edge-last-block.mir
+1-0llvm/test/CodeGen/X86/block-placement.ll
+133-1054 files

FreeBSD/ports 063887a — deskutils/birdtray/files patch-src_utils.cpp patch-CMakeLists.txt

deskutils/birdtray: Fix building with CMake 4
DeltaFile
+8-0deskutils/birdtray/files/patch-CMakeLists.txt
+3-3deskutils/birdtray/files/patch-src_utils.cpp
+11-32 files

LLVM/project 43a64d5 — flang/lib/Lower/Support ReductionProcessor.cpp, llvm/lib/Target/Sparc DelaySlotFiller.cpp

Merge branch 'main' into users/tmahatej/amdgpu/sdag-icmp-eq-s_addk
DeltaFile
+1,016-1,873llvm/test/CodeGen/AMDGPU/bf16.ll
+669-1,244llvm/test/CodeGen/AMDGPU/i1-to-bf16.ll
+716-199llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+846-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-d16-load.mir
+405-387flang/lib/Lower/Support/ReductionProcessor.cpp
+379-392llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+4,031-4,0951,893 files not shown
+58,116-27,9981,899 files

LLVM/project d58caec — llvm/include/llvm/IR RuntimeLibcalls.td

Use UInt8 for the __hot_cold_t operator new argument

tcmalloc declares __hot_cold_t as enum class __hot_cold_t : uint8_t
DeltaFile
+8-8llvm/include/llvm/IR/RuntimeLibcalls.td
+8-81 files

LLVM/project 84ca43d — llvm/include/llvm/Analysis TargetLibraryInfo.h, llvm/include/llvm/IR RuntimeLibcalls.h

Use the target bool extension rule
DeltaFile
+30-30llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+15-1llvm/lib/IR/RuntimeLibcalls.cpp
+3-10llvm/include/llvm/Analysis/TargetLibraryInfo.h
+6-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+7-0llvm/lib/Analysis/TargetLibraryInfo.cpp
+5-0llvm/include/llvm/IR/RuntimeLibcalls.h
+66-476 files