LLVM/project 1969e30llvm/lib/Transforms/IPO WholeProgramDevirt.cpp, llvm/test/Transforms/WholeProgramDevirt virtual-const-prop-interposable.ll

[WPD] Don't perform virtual constant propagation for interposable functions (#204317)

We can't do constant propagation through interposable functions, as the
definition we see may not be the prevailing one. Doing it through
inexact definitions (linkonce_odr) is fine.

TBH, I'm not completely sure whether this is necessary, maybe there is
some precondition for this pass (given that it's whole-program) that
makes it unnecessary. This behavior came up in
https://github.com/llvm/llvm-project/pull/203304.
DeltaFile
+84-0llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-interposable.ll
+1-1llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+85-12 files

FreeBSD/ports 8725643databases/duckdb distinfo Makefile, databases/py-duckdb distinfo Makefile

databases/{,py-}duckdb: update 1.5.3 → 1.5.4
DeltaFile
+25-25databases/duckdb/distinfo
+13-13databases/duckdb/Makefile
+3-3databases/py-duckdb/distinfo
+1-1databases/py-duckdb/Makefile
+1-0databases/duckdb/pkg-plist
+43-425 files

FreeBSD/ports 6c7921fwww/libdatachannel distinfo Makefile

www/libdatachannel: update 0.24.4 → 0.24.5
DeltaFile
+3-3www/libdatachannel/distinfo
+1-1www/libdatachannel/Makefile
+1-1www/libdatachannel/pkg-plist
+5-53 files

FreeBSD/ports 51b41ecgames/iqpuzzle pkg-plist distinfo

games/iqpuzzle: update 1.5.0 → 1.5.1
DeltaFile
+11-11games/iqpuzzle/pkg-plist
+3-3games/iqpuzzle/distinfo
+1-1games/iqpuzzle/Makefile
+15-153 files

FreeBSD/ports 340bdf6textproc/toml-f distinfo Makefile

textproc/toml-f: update 0.5.0 → 0.5.1
DeltaFile
+3-3textproc/toml-f/distinfo
+2-2textproc/toml-f/Makefile
+2-2textproc/toml-f/pkg-plist
+7-73 files

FreeBSD/ports e71c0d7misc/py-equinox distinfo Makefile

misc/py-equinox: update 0.13.5 → 0.13.8
DeltaFile
+3-3misc/py-equinox/distinfo
+1-1misc/py-equinox/Makefile
+4-42 files

FreeBSD/ports ea8f1f4science/tblite pkg-plist distinfo

science/tblite: update 0.5.0-10 → 0.6.0
DeltaFile
+13-12science/tblite/pkg-plist
+3-3science/tblite/distinfo
+1-3science/tblite/Makefile
+17-183 files

FreeBSD/ports cd85e9ddevel/catch2 distinfo Makefile

devel/catch2: update 3.15.0 → 3.15.1
DeltaFile
+3-3devel/catch2/distinfo
+2-2devel/catch2/Makefile
+2-2devel/catch2/pkg-plist
+7-73 files

FreeBSD/ports e53f1fbmisc/astc-encoder Makefile distinfo, misc/astc-encoder/files patch-Source_cmake__core.cmake

misc/astc-encoder: update 5.4.0 → 5.5.0
DeltaFile
+4-4misc/astc-encoder/files/patch-Source_cmake__core.cmake
+3-4misc/astc-encoder/Makefile
+3-3misc/astc-encoder/distinfo
+10-113 files

FreeBSD/ports 4bba147misc/antigravity-cli distinfo Makefile

misc/antigravity-cli: update 1.0.8 → 1.0.9
DeltaFile
+5-5misc/antigravity-cli/distinfo
+2-2misc/antigravity-cli/Makefile
+7-72 files

LLVM/project fe0e658llvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine freeze.ll shift.ll

[InstCombine] Re-queue users after freezeOtherUses rewrites their operands (#202306)

`freezeOtherUses()` rewrites dominated uses to a single frozen copy, but
does not re-queue the rewritten users. Any fold enabled by the rewrite
is therefore left for the next InstCombine iteration, which breaks the
expected single-iteration fixpoint and requires
`instcombine-no-verify-fixpoint` in the affected tests.

Re-queue each rewritten user and its users so the newly exposed folds
are visited in the same iteration.
DeltaFile
+11-11llvm/test/Transforms/PGOProfile/chr.ll
+20-0llvm/test/Transforms/InstCombine/freeze.ll
+7-0llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+2-2llvm/test/Transforms/InstCombine/shift.ll
+40-134 files

LLVM/project 836f91bmlir/test/lib/Dialect/Test TestInterfaces.td, mlir/tools/mlir-tblgen OpInterfacesGen.cpp

[mlir][tblgen]: forward overloaded interface methods to external models (#203507)

The FallbackModel/ExternalModel forwarders generated for an OpInterface
dispatched to the concrete model by the method's unique name (e.g.
`getOverloadedValue_1`), whereas the Model path already forwards by the
method's source name. For an interface that overloads a method this
prevents an external model from overriding an overload by its real name.
Forward by the source name in both paths so external models can
implement overloaded interface methods. No change for non-overloaded
methods, where the unique and source names coincide.

Previously, the external model interfaces exposed the internal name
mangling that we do for overloaded methods to the implementers,
prohibiting them from overriding these. This PR fixes that and hides the
internal name mangling from the implementers/users, and exposes source
names for overloaded methods, symmetrically to the `Model` case. E.g.
this PR allows:

```cpp

    [33 lines not shown]
DeltaFile
+45-0mlir/unittests/IR/InterfaceAttachmentTest.cpp
+14-5mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
+12-0mlir/test/lib/Dialect/Test/TestInterfaces.td
+71-53 files

LLVM/project 46e22fallvm/docs LangRef.rst

"un-simplify" the no-tearing constraint
DeltaFile
+5-2llvm/docs/LangRef.rst
+5-21 files

OPNSense/core e272c8esrc/opnsense/www/js opnsense.js

ui: add generic escaping function
DeltaFile
+15-0src/opnsense/www/js/opnsense.js
+15-01 files

LLVM/project f8a0c40offload/libomptarget omptarget.cpp, offload/plugins-nextgen/common/src RecordReplay.cpp

[offload][OpenMP] Fix record replay when no memory is used

Progams that do not use any memory (e.g., no mappings) were failing because
we were trying to execute zero size transfers.
DeltaFile
+17-18offload/plugins-nextgen/common/src/RecordReplay.cpp
+18-12offload/libomptarget/omptarget.cpp
+26-0offload/test/tools/omp-kernel-replay/record-replay-empty-memory.cpp
+2-1offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
+63-314 files

LLVM/project 004f829clang/cmake/caches Fuchsia-stage2.cmake

[clang][cmake] Disable exceptions for ASan runtime on Fuchsia (#204512)

Fuchsia's default runtime environment prefers no-exceptions. Compiling
the C++ slice of ASan (asan_new_delete.cpp) with exceptions introduces
dependencies on EH symbols
(__cxa_begin_catch, etc.) in libclang_rt.asan.so. This causes link
failures when linking ASan-enabled binaries with noexcept libc++abi.
Explicitly disable COMPILER_RT_ASAN_ENABLE_EXCEPTIONS for Fuchsia
targets in the stage2 cache.
DeltaFile
+1-0clang/cmake/caches/Fuchsia-stage2.cmake
+1-01 files

FreeBSD/ports 48d84adnet-im/libsignal-node distinfo Makefile

net-im/libsignal-node: Update to 0.94.4
DeltaFile
+5-5net-im/libsignal-node/distinfo
+1-1net-im/libsignal-node/Makefile
+6-62 files

FreeBSD/ports 90aa9e2net-im/signal-desktop distinfo Makefile, net-im/signal-desktop/files pnpm-lock.yaml

net-im/signal-desktop: Update to 8.14.0

PR:             296044
DeltaFile
+57-35net-im/signal-desktop/files/pnpm-lock.yaml
+5-5net-im/signal-desktop/distinfo
+4-5net-im/signal-desktop/Makefile
+1-1net-im/signal-desktop/get_deps.sh
+67-464 files

FreeBSD/ports 58f4e25multimedia/ringrtc distinfo Makefile.crates, multimedia/ringrtc/files patch-build_config_compiler_BUILD.gn patch-build_config_linux_pkg-config.py

multimedia/ringrtc: Update to 2.69.1
DeltaFile
+359-337multimedia/ringrtc/distinfo
+164-153multimedia/ringrtc/Makefile.crates
+23-14multimedia/ringrtc/files/patch-build_config_compiler_BUILD.gn
+16-16multimedia/ringrtc/Makefile
+4-4multimedia/ringrtc/files/patch-build_config_linux_pkg-config.py
+1-1multimedia/ringrtc/update.txt
+567-5251 files not shown
+568-5267 files

OpenBSD/ports lAdHRGMdevel/llvm/22 Makefile distinfo, devel/llvm/22/patches patch-lld_ELF_Symbols_h

   update to 22.1.8
VersionDeltaFile
1.3+5-5devel/llvm/22/patches/patch-lld_ELF_Symbols_h
1.17+1-5devel/llvm/22/Makefile
1.8+2-2devel/llvm/22/distinfo
+8-123 files

LLVM/project 3a9fdecllvm/lib/Target/AArch64 AArch64SystemOperands.td AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Convert PSB to use PSBHint for consistency
DeltaFile
+7-23llvm/lib/Target/AArch64/AArch64SystemOperands.td
+17-5llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+5-6llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+4-4llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
+3-2llvm/lib/Target/AArch64/AArch64InstrFormats.td
+1-1llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+37-411 files not shown
+38-417 files

LLVM/project 38e2806llvm/lib/Target/AArch64 AArch64SystemOperands.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Address PR comments
DeltaFile
+24-48llvm/lib/Target/AArch64/AArch64SystemOperands.td
+25-23llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+15-23llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+15-8llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
+5-13llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+9-8llvm/lib/Target/AArch64/AArch64InstrInfo.td
+93-1234 files not shown
+107-13610 files

LLVM/project 316e5a3llvm/lib/Target/X86 X86AvoidStoreForwardingBlocks.cpp

[X86] Simplify duplicate MMO offset tracking in breakBlockedCopies (NFC) (#202904)

LMMOffset and SMMOffset in breakBlockedCopies/buildCopies/buildCopy were
both initialized to 0 and advanced in lockstep by identical amounts, so
they were always equal. Collapse them into a single Offset used for both
the load and store MachineMemOperands.

This also removes a latent typo: the final buildCopies call passed
LMMOffset for the store offset argument instead of SMMOffset. Since the
two were always equal this was harmless, and the unified Offset makes
the divergence unrepresentable.

Found via @jlebar's X86 LLVM bug hunt / FuzzX effort:
https://github.com/SemiAnalysisAI/FuzzX/blob/master/x86/bugs/042-sfb-buildcopies-wrong-mmo-offset/NOTES.md

cc @jlebar
DeltaFile
+21-35llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
+21-351 files

LLVM/project 8199e9flldb/test/API/commands/process/attach TestProcessAttach.py

[lldb][test] Speed up ProcessAttach test (#201530)

ProcessAttach is our slowest test and runs for about 70s. We spend 60s
in the autocontinue test waiting for the target program to terminate.

The reason we wait for the program is that our autocontinue test is not
running its command in async mode, and we wait after the attach for the
next breakpoint or the program terminates.

This patch makes the attach and autocontinue run in async mode so we
don't wait for the program to finish. This reduces the test time from
70s to about 10s.

It also replaces the assertTrue call that was supposed to be an
assertEqual, which made the test succeed even though the inferior
process already terminated.
DeltaFile
+24-1lldb/test/API/commands/process/attach/TestProcessAttach.py
+24-11 files

LLVM/project c12e1adllvm/docs AMDGPUAsyncOperations.rst

review comments, and some clean up

- "produce and append"
- consistently use "initiate"
- use "dynamic instance" instead of "execute an instruction"
DeltaFile
+12-15llvm/docs/AMDGPUAsyncOperations.rst
+12-151 files

NetBSD/src bxbranldoc 3RDPARTY

   We have not yet imported the new bind
VersionDeltaFile
1.2220+2-2doc/3RDPARTY
+2-21 files

LLVM/project a02e66bllvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp AArch64RegisterBankInfo.cpp, llvm/test/CodeGen/AArch64/GlobalISel select-insert-vector-elt.mir regbank-insert-vector-elt.mir

[AArch64][GlobalISel] Select narrow G_INSERT_VECTOR_ELT GPR operands (#203568)

RegBankSelect currently extends narrow i8/i16 G_INSERT_VECTOR_ELT GPR
operands to 32-bits. Move this widening to pre-isel lowering. This will
help enable a simple fast pure type-based RBS alternative.

Assisted-by: codex
DeltaFile
+24-11llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+30-0llvm/test/CodeGen/AArch64/GlobalISel/select-insert-vector-elt.mir
+28-0llvm/test/CodeGen/AArch64/GlobalISel/regbank-insert-vector-elt.mir
+0-20llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+82-314 files

FreeBSD/ports db52628databases/cassandra4 Makefile pkg-descr, databases/cassandra5 Makefile

databases/cassandra[45]: add run_depends on java

These ports need to have a specific JDK installed to run.
In cassandra3 this was already correctly configured.

NB: Cassandra 4 is out of beta for a long time.

PR:     296095
Approved-by:     Angelo Polo <language.devel@>
DeltaFile
+2-1databases/cassandra5/Makefile
+2-1databases/cassandra4/Makefile
+0-2databases/cassandra4/pkg-descr
+4-43 files

LLVM/project 17143b0llvm/include/llvm/CodeGen UnreachableBlockElim.h RenameIndependentSubregs.h, llvm/include/llvm/Transforms/Scalar StructurizeCFG.h

[NPM] Make few more passes Required
DeltaFile
+4-4llvm/lib/Target/AMDGPU/AMDGPU.h
+2-2llvm/include/llvm/CodeGen/UnreachableBlockElim.h
+1-1llvm/include/llvm/CodeGen/RenameIndependentSubregs.h
+1-1llvm/include/llvm/CodeGen/TwoAddressInstructionPass.h
+1-1llvm/include/llvm/Transforms/Scalar/StructurizeCFG.h
+1-1llvm/include/llvm/Transforms/Utils/UnifyLoopExits.h
+10-1014 files not shown
+24-2420 files

LLVM/project d5194e2openmp/runtime/src kmp_adt.h, openmp/runtime/unittests/ADT TestVector.cpp CMakeLists.txt

[libomp] Add kmp_vector (ADT 2/2) (#176163)

See rationale in the commit adding kmp_str_ref.

This commit introduces kmp_vector, a class intended primarily for small
vectors. It currently only includes methods I need at the moment, but
it's easily extensible.
DeltaFile
+627-0openmp/runtime/unittests/ADT/TestVector.cpp
+194-0openmp/runtime/src/kmp_adt.h
+1-0openmp/runtime/unittests/ADT/CMakeLists.txt
+822-03 files