LLVM/project fda6309llvm/lib/Target/AArch64 AArch64Combine.td, llvm/lib/Target/AArch64/GISel AArch64PreLegalizerCombiner.cpp

[AArch64][GlobalISel] Add tablegen pattern for uaddo combine (#198724)

Related to #197693 which filters the worklist to only include opcodes
for which there are combines. It's mostly handled by canMatchOpcode
which is tablgen'ed but some old combines like this one are missing a
tablegen pattern and require extra handling. This adds a simple wrapper
so it gets picked up by canMatchOpcode and we can delete the C++
handling.

Assisted-by: codex
DeltaFile
+17-10llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
+10-1llvm/lib/Target/AArch64/AArch64Combine.td
+27-112 files

FreeBSD/ports 4ea6d07emulators/libmt32emu distinfo Makefile

emulators/libmt32emu: Update 2.8.0 => 2.8.2

Changelog:
https://github.com/munt/munt/compare/libmt32emu_2_8_0...libmt32emu_2_8_2

PR:             295602
Reported by:    Stefan Schlosser <bsdcode at disroot.org> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3emulators/libmt32emu/distinfo
+1-1emulators/libmt32emu/Makefile
+4-42 files

LLVM/project d06d3a7clang/lib/AST ASTImporter.cpp, clang/test/Analysis/ctu constraintsatisfaction.cpp

[clang][ASTImporter] Fix of crash at ConstraintSatisfaction import (#197407)

Null pointer dereference could happen during `ASTImporter` import of a
`ConstraintSatisfaction` object.
DeltaFile
+48-0clang/test/Analysis/ctu/constraintsatisfaction.cpp
+5-0clang/lib/AST/ASTImporter.cpp
+53-02 files

LLVM/project a69ce91clang/test/CodeGenCXX builtin-amdgcn-fence.cpp

[Clang][AMDGPU] clean up auto-generated CHECK lines in a test (NFC) (#199614)
DeltaFile
+40-86clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
+40-861 files

LLVM/project 49e2295llvm/lib/Transforms/Scalar GVN.cpp, llvm/test/Transforms/GVN/PRE pre-load-combine-metadata.ll

[GVN] Properly combine AA metadata if available load is hoisted (#197948)

Ensure the AA metadata are properly merged between the new load and the
old one during PRE. Actually set `DoesKMove` in `combineMetadataForCSE`,
otherwise the new load is assumed not to move, which is not correct if
the new load has happened to be hoisted.

Fixes: https://github.com/llvm/llvm-project/issues/196787.
DeltaFile
+97-0llvm/test/Transforms/GVN/PRE/pre-load-combine-metadata.ll
+1-1llvm/lib/Transforms/Scalar/GVN.cpp
+98-12 files

LLVM/project a225aafllvm/docs ProgrammersManual.rst ReleaseNotes.md, llvm/include/llvm/ADT DenseMap.h

[DenseMap] Invalidate iterators on erase (#199369)

Tighten DenseMap's `erase` contract so that, like `insert` and `grow`,
it invalidates iterators and references obtained before the call.
Under the current tombstone-based deletion this is purely an
LLVM_ENABLE_ABI_BREAKING_CHECKS check — the bucket array is not actually
mutated for other entries — but it surfaces stale-iterator-after-erase
patterns now rather than when DenseMap's deletion scheme changes.

Mirrors the SmallPtrSet change in #96762, which dropped tombstones in
small mode and likewise had `erase` invalidate iterators.

Depends on #198982 and #199365
DeltaFile
+8-7llvm/docs/ProgrammersManual.rst
+11-0llvm/unittests/ADT/DenseMapTest.cpp
+11-0llvm/unittests/ADT/DenseSetTest.cpp
+5-0llvm/docs/ReleaseNotes.md
+2-0llvm/include/llvm/ADT/DenseMap.h
+37-75 files

FreeBSD/ports 2dbc787Mk/Uses tcl.mk

Mk/Uses/tcl.mk: allow combining build, test, and run

PR:             295582
Reported by:    michaelo@
DeltaFile
+13-16Mk/Uses/tcl.mk
+13-161 files

LLVM/project 0259687clang/test/CodeGenCXX builtin-amdgcn-fence.cpp

[Clang][AMDGPU] clean up auto-generated CHECK lines in a test (NFC)
DeltaFile
+40-86clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
+40-861 files

LLVM/project be39e06llvm/lib/IR LegacyPassManager.cpp

[IR] Inline remove_if in PMDataManager::removeNotPreservedAnalysis (#199571)

PR #198982 rewrote removeNotPreservedAnalysis to use DenseMap::remove_if
with one predicate shared across two call sites. The predicate is always
inlined; the cost is that two call sites make
DenseMapBase::remove_if<...>
itself emit out of line instead of inlining into the caller. As this
runs
after every modifying codegen pass (legacy PM), it shows up as a small
instructions:u regression, most visibly at -O0 where the legacy codegen
PM
is a large fraction of compile time:

https://llvm-compile-time-tracker.com/compare.php?from=69a5cf515fd317bcf918e48de9137dd8549870c5&to=6302439f5aaea6cb776d8ceb5c2ef9108fccf702&stat=instructions%3Au

Collect the maps into a SmallVector and prune them from a single
remove_if
call site, so the instantiation is inlined again.
DeltaFile
+21-18llvm/lib/IR/LegacyPassManager.cpp
+21-181 files

LLVM/project 377af85llvm/lib/Transforms/Utils BuildLibCalls.cpp, llvm/test/Transforms/InferFunctionAttrs annotate.ll

[InferAttrs] Annotate math and basic string libcalls with `nosync` (#197761)

Math libcalls as well as some simple string ones do not create
synchronizes-with edges, thus `nosync` may be derived.

Co-authored-by: Johannes Doerfert <jdoerfert.llvm at gmail.com>
DeltaFile
+194-194llvm/test/Transforms/InferFunctionAttrs/annotate.ll
+29-0llvm/lib/Transforms/Utils/BuildLibCalls.cpp
+1-1llvm/test/Transforms/MergeICmps/X86/alias-merge-blocks.ll
+1-1llvm/test/Transforms/LICM/strlen.ll
+1-1llvm/test/Transforms/MergeICmps/X86/entry-block-shuffled.ll
+1-1llvm/test/Transforms/PreISelIntrinsicLowering/X86/memset-pattern.ll
+227-1986 files

LLVM/project b86512cllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll

[RISCV][P-ext] Split v4i16/v8i8 vselect on RV32. (#198898)

We don't have a 64-bit merge instruction on RV32.

Assisted-by: Claude Sonnet 4.5
DeltaFile
+69-117llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+27-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+96-1192 files

LLVM/project c618e11mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[MLIR][NVVM] Add `nvvm.divf` Op (#198744)

Adds the `nvvm.divf` NVVM dialect op covering all 16 PTX `div` forms via attribute-driven selection:

- Default (`approx = false, full = false`): IEEE-compliant rounded divide (`div.<RM>[.ftz].{f32,f64}`), 12 forms -- requires `rnd` ∈ `{rn, rm, rp, rz}`; supports f32 and f64 (f64 does not accept `ftz`).
- `approx = true`: fast hardware approximation (`div.approx[.ftz].f32`), 2 forms -- f32 only.
- `full = true`: full-range approximation (`div.full[.ftz].f32`), 2 forms -- f32 only.
DeltaFile
+75-0mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+64-0mlir/test/Target/LLVMIR/nvvm/divf/divf_invalid.mlir
+57-0mlir/test/Target/LLVMIR/nvvm/divf/divf.mlir
+22-0mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+218-04 files

NetBSD/src xF9kHDwsys/arch/riscv/conf GENERIC64

   risc-v: add rgephy(4)

   Add rgephy(4) for Allwinner D1 / Mango Pi MQ-Pro
VersionDeltaFile
1.27+2-1sys/arch/riscv/conf/GENERIC64
+2-11 files

LLVM/project eb96d58flang/lib/Lower/OpenMP ClauseProcessor.cpp ClauseProcessor.h, llvm/include/llvm/Frontend/OpenMP ConstructDecompositionT.h

NFC code changes
DeltaFile
+68-68flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+18-18llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
+3-3flang/lib/Lower/OpenMP/ClauseProcessor.h
+4-1flang/lib/Lower/OpenMP/OpenMP.cpp
+93-904 files

LLVM/project 10fafe5flang/lib/Lower/OpenMP ClauseProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP dyn-groupprivate-clause.f90

[flang][mlir] Add flang to mlir lowering for dyn_groupprivate
DeltaFile
+186-0flang/test/Lower/OpenMP/dyn-groupprivate-clause.f90
+68-0flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+18-0llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
+0-10flang/test/Lower/OpenMP/Todo/dyn-groupprivate-clause.f90
+4-2flang/lib/Lower/OpenMP/OpenMP.cpp
+3-1flang/lib/Lower/OpenMP/ClauseProcessor.h
+279-136 files

OpenBSD/ports 3zr988cwww/firefox-esr distinfo Makefile

   www/firefox-esr: MFC update to 140.11.0.

   see https://www.firefox.com/en-US/firefox/140.11.0/releasenotes/
   fixes https://www.mozilla.org/en-US/security/advisories/mfsa2026-48/
VersionDeltaFile
1.180.2.1+4-4www/firefox-esr/distinfo
1.270.2.1+2-2www/firefox-esr/Makefile
+6-62 files

OpenBSD/ports 0Q7r5MPmail/mozilla-thunderbird distinfo Makefile, mail/mozilla-thunderbird/pkg PLIST

   mail/mozilla-thunderbird: MFC update to 140.11.0

   see https://www.thunderbird.net/en-US/thunderbird/140.11.0esr/releasenotes/
   fixes https://www.mozilla.org/en-US/security/advisories/mfsa2026-51/
VersionDeltaFile
1.312.2.1+2-2mail/mozilla-thunderbird/distinfo
1.31.8.1+2-0mail/mozilla-thunderbird/pkg/PLIST
1.525.2.1+1-1mail/mozilla-thunderbird/Makefile
+5-33 files

FreeBSD/ports 7ce2f25www/iocaine distinfo Makefile.crates, www/iocaine/files iocaine.in pkg-message.in

www/iocaine: Add new port

Iocaine is the deadliest poison known to AI since it poisons AI models
by generating an infinite maze of garbage for them to consume.
WWW: https://iocaine.madhouse-project.org

PR:             287944
Reported by:    Sebastian Oswald <sko at rostwald.de>
Co-authored-by: Paul Armstrong <freebsd at otoh.org>
Tested-by:      pi, void at f-m.fm, Mark Millard <marklmi26-fbsd at yahoo.com>
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+1,045-0www/iocaine/distinfo
+519-0www/iocaine/Makefile.crates
+79-0www/iocaine/Makefile
+61-0www/iocaine/files/iocaine.in
+21-0www/iocaine/files/pkg-message.in
+18-0www/iocaine/pkg-plist
+1,743-03 files not shown
+1,758-09 files

LLVM/project fb8243fllvm/lib/Target/RISCV RISCVInstrInfoXqci.td

[RISCV] Use append TableGen feature in RISCVInstrInfoXqci.td (#199603)

This improves the readability of the file.

An AI came up with the patch which I reviewed and ensured that the tests
pass.
DeltaFile
+28-28llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td
+28-281 files

OpenBSD/ports Ie3swfzwww/firefox-i18n distinfo Makefile.inc, www/mozilla-firefox distinfo Makefile

   www/mozilla-firefox: update to 151.0.1.

   see https://www.firefox.com/en-US/firefox/151.0.1/releasenotes/
VersionDeltaFile
1.388+164-164www/firefox-i18n/distinfo
1.401+2-2www/mozilla-firefox/distinfo
1.343+1-1www/firefox-i18n/Makefile.inc
1.685+1-1www/mozilla-firefox/Makefile
+168-1684 files

FreeBSD/ports 0b30442x11-fm/xfe distinfo Makefile

x11-fm/xfe: Update to 2.1.7
DeltaFile
+3-3x11-fm/xfe/distinfo
+1-1x11-fm/xfe/Makefile
+4-42 files

LLVM/project de188bbllvm/lib/MC CMakeLists.txt

[DirectX][ObjectYAML] Fix CI build issue in DXContainerInfo.cpp (#199605)

After https://github.com/llvm/llvm-project/pull/198222, the following
error was reported in CI bots:

```
[1546/5356] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/DXContainerInfo.cpp.o
FAILED: [code=1] lib/MC/CMakeFiles/LLVMMC.dir/DXContainerInfo.cpp.o
sccache /usr/bin/g++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/runner/work/circt/circt/build/lib/MC -I/home/runner/work/circt/circt/llvm/llvm/lib/MC -I/home/runner/work/circt/circt/build/include -I/home/runner/work/circt/circt/llvm/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/MC/CMakeFiles/LLVMMC.dir/DXContainerInfo.cpp.o -MF lib/MC/CMakeFiles/LLVMMC.dir/DXContainerInfo.cpp.o.d -o lib/MC/CMakeFiles/LLVMMC.dir/DXContainerInfo.cpp.o -c /home/runner/work/circt/circt/llvm/llvm/lib/MC/DXContainerInfo.cpp
/home/runner/work/circt/circt/llvm/llvm/lib/MC/DXContainerInfo.cpp:14:10: fatal error: llvm/Support/VCSRevision.h: No such file or directory
   14 | #include "llvm/Support/VCSRevision.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[1547/5356] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[1548/5356] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/DXContainerRootSignature.cpp.o
[1549/5356] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/DXContainerPSVInfo.cpp.o
[1550/5356] Building CXX object lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
[1551/5356] Building CXX object lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/BitcodeReader.cpp.o
ninja: build stopped: subcommand failed.

    [2 lines not shown]
DeltaFile
+1-0llvm/lib/MC/CMakeLists.txt
+1-01 files

LLVM/project 44583ecmlir/lib/Dialect/X86/Transforms VectorContractToAMXDotProduct.cpp, mlir/lib/Dialect/X86/Utils X86Utils.cpp

[mlir][x86] Fix - multiple issues / F8 support for AMX dot-product lowering (#196984)

This patch fixes issues or support additional patterns for AMX
`dot-product` lowering.

1. Fix issue related to write-back to `C` matrix,
2. Supports additional lowering pattern where the cache tile sizes are:
32,32,32,
3. Online packing - loop peeling is now based on `step` size,
4. Extends support for `f8` lowering (`mx-fp8` lowering will be
supported after vector.contract has `mx` support).
DeltaFile
+514-7mlir/test/Dialect/X86/AMX/vector-contract-to-tiled-dp.mlir
+300-199mlir/lib/Dialect/X86/Transforms/VectorContractToAMXDotProduct.cpp
+3-3mlir/lib/Dialect/X86/Utils/X86Utils.cpp
+817-2093 files

LLVM/project fe3d6b0clang-tools-extra/clangd ProjectModules.cpp

[NFC] [clangd] [C++20] [Modules] Fix false duplicate module warning for equivalent paths (#199343)

When checking for multiple source files declaring the same module, the
comparison used raw string equality on file paths. This causes false
positives when the same file is represented by different but equivalent
path strings.

Use pathEqual(normalizePath(...), normalizePath(...)) instead to compare
canonical paths, consistent with how clangd handles path comparisons
elsewhere.
DeltaFile
+2-1clang-tools-extra/clangd/ProjectModules.cpp
+2-11 files

FreeBSD/ports 4287dbemisc/llama-cpp pkg-plist distinfo

misc/llama-cpp: update 9222 → 9331
DeltaFile
+9-1misc/llama-cpp/pkg-plist
+3-3misc/llama-cpp/distinfo
+1-1misc/llama-cpp/Makefile
+13-53 files

FreeBSD/ports 1f8a4admath/fricas pkg-plist distinfo

math/fricas: update 1.3.10 → 1.3.13
DeltaFile
+33-8math/fricas/pkg-plist
+3-3math/fricas/distinfo
+1-2math/fricas/Makefile
+37-133 files

FreeBSD/ports bb20d17audio/whisper.cpp Makefile, misc/ggml distinfo Makefile

misc/ggml: update 0.12.0 → 0.13.0
DeltaFile
+3-3misc/ggml/distinfo
+2-2misc/ggml/Makefile
+1-1audio/whisper.cpp/Makefile
+6-63 files

FreeBSD/ports 87d2ea0math/dbcsr Makefile pkg-plist, science/cp2k Makefile

math/dbcsr: update 2.8.0 → 2.9.1
DeltaFile
+5-3math/dbcsr/Makefile
+4-4math/dbcsr/pkg-plist
+3-3math/dbcsr/distinfo
+1-1science/cp2k/Makefile
+1-1science/latte/Makefile
+14-125 files

FreeBSD/ports cabc03dwww/cpp-httplib distinfo Makefile

www/cpp-httplib: update 0.45.1 → 0.46.0
DeltaFile
+3-3www/cpp-httplib/distinfo
+1-1www/cpp-httplib/Makefile
+4-42 files

FreeBSD/ports db7a2daaudio/whisper.cpp distinfo pkg-plist

audio/whisper.cpp: update 1.8.2-407 → 1.8.4
DeltaFile
+3-3audio/whisper.cpp/distinfo
+3-2audio/whisper.cpp/pkg-plist
+1-3audio/whisper.cpp/Makefile
+7-83 files