LLVM/project af3fdf3 — llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-phi.ll

[InstCombine] Fix infinite loop in demanded FP-class simplification (#230544)

SimplifyDemandedFPClass can recurse through a phi and revisit the same
operand before the outer call returns. In the test, the inner call
replaces the fmul's select operand with the phi.

The outer call then gets the original select back from
SimplifyDemandedUseFPClass, which returns it to indicate an in-place
change. Writing that select back undoes the inner call's replacement and
causes InstCombine to loop.

If NewVal == V but the operand has already changed, keep the replacement
made by the inner call.

Assisted-by: OpenAI Codex
DeltaFile
+30-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-phi.ll
+4-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-02 files

LLVM/project d69921f — llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_bfloat16_arithmetic bfloat16-ocl-ext.ll bfloat16-arithmetic.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_bfloat16_arithmetic bfloat16-ocl-ext.ll bfloat16-arithmetic.ll

[SPIR-V] Replace SPV_INTEL_bfloat16_arithmetic with SPV_EXT_bfloat16_arithmetic (#212505)

SPIRV-Headers renamed capability 6226 to BFloat16ArithmeticEXT, enabled
only by SPV_EXT_bfloat16_arithmetic
(https://github.com/KhronosGroup/SPIRV-Headers/pull/604)

spirv-val now rejects the INTEL extension
(https://github.com/KhronosGroup/SPIRV-Tools/pull/6813)

Emit the EXT extension and capability, drop the INTEL name from
--spirv-ext, and re-enable spirv-val checks that pass after
https://github.com/KhronosGroup/SPIRV-Tools/pull/6813
DeltaFile
+0-376llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_bfloat16_arithmetic/bfloat16-relational.ll
+376-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_bfloat16_arithmetic/bfloat16-relational.ll
+0-142llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_bfloat16_arithmetic/bfloat16-arithmetic.ll
+142-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_bfloat16_arithmetic/bfloat16-arithmetic.ll
+0-91llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_bfloat16_arithmetic/bfloat16-ocl-ext.ll
+90-0llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_bfloat16_arithmetic/bfloat16-ocl-ext.ll
+608-6099 files not shown
+694-69515 files

LLVM/project 757549f — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-amdgpu' into users/yonahgoldberg/metadata-utils-cleanup

# Conflicts:
#       llvm/include/llvm/Analysis/MetadataUtils.h
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 1378743 — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-scalarizer' into users/yonahgoldberg/metadata-amdgpu
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 058067f — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-masked-scalarization' into users/yonahgoldberg/metadata-scalarizer
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 1bf1d20 — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-vectorcombine' into users/yonahgoldberg/metadata-masked-scalarization
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 978430f — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-sroa' into users/yonahgoldberg/metadata-vectorcombine
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 634338d — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-instcombine' into users/yonahgoldberg/metadata-sroa
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 59e0635 — llvm/include/llvm/Analysis MetadataUtils.h

Merge branch 'users/yonahgoldberg/metadata-utils' into users/yonahgoldberg/metadata-instcombine
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

LLVM/project 1480df3 — llvm/include/llvm/Analysis MetadataUtils.h

[Analysis] Preserve metadata utility declaration order
DeltaFile
+14-14llvm/include/llvm/Analysis/MetadataUtils.h
+14-141 files

NetBSD/pkgsrc oR7ZJDm — doc CHANGES-2026

   Updated textproc/py-prettytable, textproc/py-texttable
VersionDeltaFile
1.8172+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 6mzE84f — textproc/py-texttable Makefile distinfo

   py-texttable: updated to 1.7.3

   v1.7.3 (2026-11-12)
   * Preserve precision of integer strings in integer columns
VersionDeltaFile
1.3+4-4textproc/py-texttable/distinfo
1.3+2-2textproc/py-texttable/Makefile
+6-62 files

NetBSD/pkgsrc OLzAJoW — textproc/py-prettytable distinfo Makefile

   py-prettytable: updated to 3.19.0

   3.19.0

   Changed

   Drop support for EOL Python 3.10

   Fixed

   Fix copy() failing when a format option is set
   Handle rows with fewer cells than header in from_html()
VersionDeltaFile
1.43+6-6textproc/py-prettytable/Makefile
1.37+4-4textproc/py-prettytable/distinfo
+10-102 files

NetBSD/pkgsrc ernXlQp — doc CHANGES-2026

   Updated devel/py-pygit2, devel/py-pyperf
VersionDeltaFile
1.8171+4-1doc/CHANGES-2026
+4-11 files

NetBSD/pkgsrc xe22F2H — devel/py-pyperf Makefile distinfo

   py-pyperf: updated to 2.11.0

   2.11.0 (2026-11-08)

   * Feature: Add ``--in-process`` option to run benchmarks in the current process.
     This is useful when you cannot spawn child processes, such as on WASM environments.
   * Feature: Add a new ``tachyon`` hook to profile benchmarks with the Tachyon
     sampling profiler of Python 3.15 (``--hook tachyon``).
   * Feature: Hooks can now be registered from code with the new ``hooks``
     parameter of :class:`Runner`.
   * Feature: Add :meth:`Runner.is_worker` to guard code which processes
     benchmark results in the main process.
   * Feature: Add ``cpu_quota`` metadata: the Linux cgroup CPU bandwidth limit of
     the process (ex: ``docker run --cpus=2``).
   * Bugfix: Allow a ``mem_max_rss`` metadata value of zero.
   * Bugfix: ``psutil`` is now optional on the Emscripten platform.
   * Optimization: ``format_number()`` and ``_common_metadata()`` are faster.
   * Maintenance: ``pyperf`` now requires Python 3.11 or higher.
VersionDeltaFile
1.3+4-4devel/py-pyperf/distinfo
1.2+7-1devel/py-pyperf/PLIST
1.3+3-4devel/py-pyperf/Makefile
+14-93 files

NetBSD/pkgsrc oJUK7A9 — devel/py-pygit2 Makefile distinfo

   py-pygit2: updated to 1.21.0

   1.21.0 (2026-11-04)

   - Add support for Python 3.15
   - New `Config` subclasses: `DefaultConfig` for the default configuration and
     `RepositoryConfig` for repository configurations
   - Fix `ConfigEntry` retaining `git_config_entry` pointers owned by config
     iterators, which could make entry values change unexpectedly and cause
     crashes; values are now copied eagerly
   - Fix custom ODB backends: acquire the GIL when calling back into Python,
     and fix `write_cb`'s type argument
   - Fix `References.get()`, `Branches.get()`, and the `in` operator on both
     collections raising `InvalidSpecError` for invalid names; they now return
     `None` and `False` respectively, as documented
   - Fix `sh build.sh stubtest`
   - Wheels: Build the bundled libgit2 and libssh2 in Release mode instead of Debug
   - Wheels: Update OpenSSL to 3.5.9
VersionDeltaFile
1.39+4-4devel/py-pygit2/distinfo
1.56+3-4devel/py-pygit2/Makefile
+7-82 files

LLVM/project ef0872a — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Support mixed-type load vectorization

Remove the restriction that every load in a top-level load chain must have the vector's element type. A chain of mixed types such as {i32, float} or {double, i32, i32} is loaded as a vector of integers (as chosen by VecUtils::getCombinedVectorTypeFor()), each original load is unpacked from the lanes it occupies, and then reinterpreted back to its own type with SameSizeReinterpret::reinterpretValue().

Chains involving a non-integral pointer are left alone, since such a pointer cannot be recovered from an integer lane.

SameSizeReinterpret is also used by createConstantVector() to pack constants of mixed types into a constant vector.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+140-0llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/load_store_vec_mixed_type_loads.ll
+38-10llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+11-1llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+189-113 files

LLVM/project b8af194 — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Rename ScalarConstReinterpret to SameSizeReinterpret (NFC)

The class reinterprets the bits of a value as another type of the same size. It is used to pack constants in createConstantVector(), and will also be used to unpack loads of mixed types, so the name ScalarConstReinterpret no longer describes it. The class comment and the reinterpretConstant() comment are updated to match.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+10-11llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+6-6llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+16-172 files

NetBSD/pkgsrc ZjPbSJJ — devel/py-assertpy distinfo Makefile

   py-assertpy: updated to 2.36.1

   2.36.1
   Tests now skip checks that need an absent optional dependency
VersionDeltaFile
1.2+132-2devel/py-assertpy/PLIST
1.2+10-3devel/py-assertpy/Makefile
1.2+4-4devel/py-assertpy/distinfo
+146-93 files

LLVM/project 51e2c88 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp

Adjust to removed std::optional in getSynchronizeAddrSpace's return type.
DeltaFile
+2-5llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+2-51 files

FreeBSD/ports 015bd11 — net/spoofdpi Makefile distinfo

net/spoofdpi: Update 1.5.5 => 1.5.6

Changelog:
* discover default route only when required.
https://github.com/xvzc/spoofdpi/releases/tag/v1.5.6

Reported by:    Repology, portscout
DeltaFile
+3-3net/spoofdpi/distinfo
+1-2net/spoofdpi/Makefile
+4-52 files

LLVM/project 191ea5e — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU noclobber-barrier.ll

[AMDGPU] Preserve noclobber after acquire operations from a different addrspace

Follow-up to #219991 to address reviewer comments:
AMDGPUAnnotateUniformValues should annotate uniform global loads as
`!amdgpu.noclobber` if the memory they are reading is never clobbered (since
kernel launch) before the load is executed.
PR #219991 strengthened the logic to consider acquire operations before the
load as clobbering (because they cause stores from other threads to be observed
by the load without a data race).

This PR weakens this criterion to ignore acquire operations that don't affect
the global address space (because they don't affect what the load in question
may or may not see). This addresses the performance-relevant case of s_barriers
with LDS-only fences.

The logic is still overly pessimistic for one-as load acquires, they could also
be ignored when looking for clobbering operations.

Disclaimer: Claude gave review comments and suggestions that I addressed during

    [5 lines not shown]
DeltaFile
+16-13llvm/test/CodeGen/AMDGPU/noclobber-barrier.ll
+12-2llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+28-152 files

LLVM/project 8c23c96 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.h

[NFC] Remove some obsolete includes

They were needed for intermediate states of this PR, but the current
final state doesn't need them any more.
DeltaFile
+0-2llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+0-21 files

LLVM/project 72f56d6 — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.h SIMemoryLegalizer.cpp

Pass Function and DebugLoc instead of a Diag function to getSynchronizeAddrSpace

Implemented by AI, manually checked.

Assisted-by: AI
DeltaFile
+7-6llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+2-8llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+5-3llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+14-173 files

LLVM/project 616c0a7 — llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp AMDGPUMemoryUtils.h

Remove std::optional from getSynchronizeAddrSpace's return type
DeltaFile
+7-7llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+6-7llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+3-6llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+16-203 files

LLVM/project 7aca8cd — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU implicit-kernarg-backend-usage.ll memory-legalizer-invalid-addrspace.mir

Put the toSIAtomicAddrSpace logic into a table and make it consistent with isExtendedGlobalAddrSpace

With that, the change is no longer NFC, since constant addrspaces and
addrspaces above `MAX_AMDGPU_ADDRESS` now map to `SIAtomicAddrSpace::GLOBAL`
instead of `OTHER`. This means that atomics on these addrspaces are no longer
rejected by SIMemoryLegalizer.

The tests only show differences in the generated ISA for volatile loads from
the constant addrspaces; so far we haven't waited directly after each such
volatile load, with this change we do. Arguably, these waits are unnecessary
since the accessed memory is not supposed to change, but, on the other hand,
one could argue that volatile accesses to memory that doesn't change are
pointless in the first place.
DeltaFile
+0-73llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-addrspace.mir
+20-17llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+8-14llvm/test/CodeGen/AMDGPU/GlobalISel/load-uniform-in-vgpr.ll
+14-8llvm/test/CodeGen/AMDGPU/implicit-kernarg-backend-usage.ll
+12-8llvm/test/CodeGen/AMDGPU/GlobalISel/implicit-kernarg-backend-usage-global-isel.ll
+5-8llvm/test/CodeGen/AMDGPU/GlobalISel/load-zero-and-sign-extending-uniform-in-vgpr.ll
+59-1284 files not shown
+72-13410 files

LLVM/project 1d1fecb — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.h AMDGPUMemoryUtils.cpp

[AMDGPU][NFC] Extract SIAtomicAddrSpace and fence MMRA parsing from SIMemoryLegalizer

Determining which memory accesses are ordered by a fence is already
useful in the middle-end; this PR extracts the code to do that from
SIMemoryLegalizer, so that it can be used in middle-end transformations.

So far, unexpected suffix values for the `amdgpu-synchronize-as` were
reported when they were encountered in SIMemoryLegalizer. This PR keeps
that and doesn't report them in the middle end, since that would lead to
a lot of repeated diagnostics for them.

Disclaimer: Claude gave review comments and suggestions that I addressed
during development.

Preparation for ROCM-29879.

Assisted-by: AI
DeltaFile
+10-83llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+65-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+45-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+120-833 files

LLVM/project da1df6b — llvm/lib/Target/AMDGPU AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU noclobber-barrier.ll promote-kernel-arguments.ll

Update comments, regenerate tests
DeltaFile
+73-73llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
+3-5llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll
+4-2llvm/test/CodeGen/AMDGPU/noclobber-barrier.ll
+2-2llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+82-824 files

LLVM/project 7d3a7f6 — llvm/docs AMDGPUUsage.md

Formulate the noclobber spec in terms of ordering relations
DeltaFile
+4-3llvm/docs/AMDGPUUsage.md
+4-31 files

LLVM/project 3d87268 — llvm/lib/Target/AMDGPU AMDGPUAnnotateUniformValues.cpp, llvm/test/CodeGen/AMDGPU move-to-valu-pseudo-scalar-trans.ll move-to-valu-pseudo-scalar-trans-f16-true16.ll

Don't infer noclobber for volatile accesses.
DeltaFile
+9-9llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
+7-7llvm/test/CodeGen/AMDGPU/move-to-valu-addsubu64.ll
+5-5llvm/test/CodeGen/AMDGPU/move-to-valu-pseudo-scalar-trans.ll
+5-5llvm/test/CodeGen/AMDGPU/move-to-valu-pseudo-scalar-trans-f16-true16.ll
+5-5llvm/test/CodeGen/AMDGPU/move-to-valu-pseudo-scalar-trans-f16-fake16.ll
+4-4llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
+35-351 files not shown
+36-367 files