LLVM/project db3302dllvm/lib/CodeGen Rematerializer.cpp, llvm/unittests/CodeGen RematerializerTest.cpp

[CodeGen] Fix incorrect rematerialization order in rematerializer (#189485)

When rematerializing DAGs of registers wherein multiple paths exist
between some regsters of the DAG, it is possible that the
rematerialization determines an incorrect rematerialization order that
does not ensure that a register's dependencies are rematerialized before
itself; an invariant that is otherwise required.

This fixes that using a simpler recursive logic to determine a correct
rematerialization order that honors this invariant. A minimal unit test
is added that fails on the current implementation.
DeltaFile
+19-33llvm/lib/CodeGen/Rematerializer.cpp
+38-0llvm/unittests/CodeGen/RematerializerTest.cpp
+57-332 files

FreeNAS/freenas 29b382esrc/middlewared pyproject.toml

truenas_acme_utils and truenas_crypto_utils are type-safe now
DeltaFile
+1-1src/middlewared/pyproject.toml
+1-11 files

LLVM/project b79a6b5llvm/lib/Target/AMDGPU SIISelLowering.cpp

Review comments:
use input wave instruction for checks
DeltaFile
+7-7llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+7-71 files

LLVM/project b09f286llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.sub.ll llvm.amdgcn.reduce.add.ll

[AMDGPU] DPP wave reduction for long types - 2

Supported Ops: `add`, `sub`
DeltaFile
+1,113-146llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.sub.ll
+1,079-142llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.add.ll
+72-20llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,264-3083 files

LLVM/project bac21bellvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.fsub.ll llvm.amdgcn.reduce.fadd.ll

[AMDGPU] DPP wave reduction for double types - 2

Supported Ops: `fadd` and `fsub`
DeltaFile
+1,030-130llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fsub.ll
+1,008-130llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fadd.ll
+12-10llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,050-2703 files

LLVM/project 44172dallvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.fmax.ll llvm.amdgcn.reduce.fmin.ll

[AMDGPU] DPP wave reduction for double types - 1

Supported Ops: `fmin` and `fmax`
DeltaFile
+1,112-234llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmax.ll
+1,112-234llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmin.ll
+27-13llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,251-4813 files

LLVM/project 1639f1fllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.xor.ll llvm.amdgcn.reduce.and.ll

[AMDGPU] DPP wave reduction for long types - 3

Supported Ops: `and`, `or`, `xor`
DeltaFile
+984-132llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.xor.ll
+960-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.and.ll
+960-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.or.ll
+12-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,916-3494 files

LLVM/project a8dff3ellvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.max.ll llvm.amdgcn.reduce.min.ll

[AMDGPU] DPP wave reduction for long types - 1

Supported Ops: `min`, `max`, `umin`, `umax`
DeltaFile
+1,084-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.max.ll
+1,084-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.min.ll
+1,044-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umax.ll
+1,044-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umin.ll
+185-43llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+4,441-4755 files

LLVM/project e129d09llvm/lib/Target/AMDGPU SIISelLowering.cpp

Avoid capturing the structed binding.
DeltaFile
+3-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+3-11 files

FreeNAS/freenas e471a83.github/workflows mypy.yml

Use mypy from pip
DeltaFile
+0-3.github/workflows/mypy.yml
+0-31 files

FreeBSD/ports 7e109cdmisc Makefile, misc/py-openai-harmony distinfo Makefile

misc/py-openai-harmony: New port: OpenAI response format for gpt-oss open-weight model series
DeltaFile
+625-0misc/py-openai-harmony/distinfo
+342-0misc/py-openai-harmony/Makefile
+3-0misc/py-openai-harmony/pkg-descr
+1-0misc/Makefile
+971-04 files

FreeBSD/ports c7ff433misc Makefile, misc/py-mistral-common Makefile distinfo

misc/py-mistral-common: New port: Common utilities for Mistral AI models
DeltaFile
+40-0misc/py-mistral-common/Makefile
+12-0misc/py-mistral-common/files/patch-pyproject.toml
+3-0misc/py-mistral-common/distinfo
+3-0misc/py-mistral-common/pkg-descr
+1-0misc/Makefile
+59-05 files

FreeBSD/ports a34ecb5misc/gemini-cli pkg-plist Makefile, misc/gemini-cli/files package-lock.json

misc/gemini-cli: update 0.35.3 → 0.36.0
DeltaFile
+400-45,539misc/gemini-cli/pkg-plist
+42-7,670misc/gemini-cli/files/package-lock.json
+5-5misc/gemini-cli/Makefile
+3-3misc/gemini-cli/distinfo
+450-53,2174 files

FreeBSD/ports 3c8efd0misc/py-llama-cpp-python distinfo Makefile, misc/py-llama-cpp-python/files patch-vendor_llama.cpp_ggml_src_ggml-cpu_CMakeLists.txt

misc/py-llama-cpp-python: update 0.3.16 → 0.3.20
DeltaFile
+6-5misc/py-llama-cpp-python/files/patch-vendor_llama.cpp_ggml_src_ggml-cpu_CMakeLists.txt
+5-5misc/py-llama-cpp-python/distinfo
+2-3misc/py-llama-cpp-python/Makefile
+13-133 files

FreeBSD/ports 296f9e2misc/py-pytorch Makefile

misc/py-pytorch: Fix hardcoded C++ compiler in torch/_inductor/config.py
DeltaFile
+4-1misc/py-pytorch/Makefile
+4-11 files

FreeBSD/ports 6e895a4devel Makefile, devel/py-pybase64 Makefile distinfo

devel/py-pybase64: New port: Fast Base64 encoding/decoding using libbase64
DeltaFile
+26-0devel/py-pybase64/Makefile
+3-0devel/py-pybase64/distinfo
+3-0devel/py-pybase64/pkg-descr
+1-0devel/Makefile
+33-04 files

FreeBSD/ports 32f4f92textproc Makefile, textproc/py-llguidance distinfo Makefile

textproc/py-llguidance: New port: Low-level Guidance library for constrained LLM generation
DeltaFile
+689-0textproc/py-llguidance/distinfo
+389-0textproc/py-llguidance/Makefile
+3-0textproc/py-llguidance/pkg-descr
+1-0textproc/Makefile
+1,082-04 files

FreeBSD/ports a9e1854devel Makefile, devel/py-ninja Makefile distinfo

devel/py-ninja: New port: Python package providing the Ninja build tool
DeltaFile
+25-0devel/py-ninja/Makefile
+13-0devel/py-ninja/files/patch-pyproject.toml
+11-0devel/py-ninja/files/patch-CMakeLists.txt
+3-0devel/py-ninja/distinfo
+3-0devel/py-ninja/pkg-descr
+1-0devel/Makefile
+56-06 files

FreeBSD/ports aaadc00devel Makefile, devel/py-opentelemetry-semantic-conventions-ai Makefile distinfo

devel/py-opentelemetry-semantic-conventions-ai: New port: OpenTelemetry Semantic Conventions for AI/LLM systems
DeltaFile
+23-0devel/py-opentelemetry-semantic-conventions-ai/Makefile
+3-0devel/py-opentelemetry-semantic-conventions-ai/distinfo
+3-0devel/py-opentelemetry-semantic-conventions-ai/pkg-descr
+1-0devel/Makefile
+30-04 files

FreeBSD/ports 8f9efe2textproc Makefile, textproc/py-outlines-core distinfo Makefile

textproc/py-outlines-core: New port: Structured Text Generation in Rust (outlines-core)
DeltaFile
+519-0textproc/py-outlines-core/distinfo
+292-0textproc/py-outlines-core/Makefile
+3-0textproc/py-outlines-core/pkg-descr
+1-0textproc/Makefile
+815-04 files

FreeBSD/ports 92e871bmisc Makefile, misc/py-model-hosting-container-standards Makefile distinfo

misc/py-model-hosting-container-standards: New port: Standardized model hosting container implementations
DeltaFile
+28-0misc/py-model-hosting-container-standards/Makefile
+3-0misc/py-model-hosting-container-standards/distinfo
+3-0misc/py-model-hosting-container-standards/pkg-descr
+1-0misc/Makefile
+35-04 files

FreeBSD/ports 18c6f1amisc Makefile, misc/py-lm-format-enforcer Makefile distinfo

misc/py-lm-format-enforcer: New port: Enforce the output format (JSON Schema, regex) of a language model
DeltaFile
+26-0misc/py-lm-format-enforcer/Makefile
+3-0misc/py-lm-format-enforcer/distinfo
+3-0misc/py-lm-format-enforcer/pkg-descr
+1-0misc/Makefile
+33-04 files

FreeBSD/ports 787b675textproc Makefile, textproc/py-partial-json-parser Makefile distinfo

textproc/py-partial-json-parser: New port: Parse partial JSON generated by LLMs
DeltaFile
+23-0textproc/py-partial-json-parser/Makefile
+3-0textproc/py-partial-json-parser/distinfo
+3-0textproc/py-partial-json-parser/pkg-descr
+1-0textproc/Makefile
+30-04 files

FreeBSD/ports 85fbf34devel Makefile, devel/py-depyf Makefile distinfo

devel/py-depyf: New port: Decompile and understand Python bytecode from PyTorch
DeltaFile
+30-0devel/py-depyf/Makefile
+11-0devel/py-depyf/files/patch-setup.py
+3-0devel/py-depyf/distinfo
+3-0devel/py-depyf/pkg-descr
+1-0devel/Makefile
+48-05 files

FreeBSD/ports 9289104www Makefile, www/py-prometheus-fastapi-instrumentator Makefile distinfo

www/py-prometheus-fastapi-instrumentator: New port: Instrument your FastAPI app with Prometheus metrics
DeltaFile
+24-0www/py-prometheus-fastapi-instrumentator/Makefile
+3-0www/py-prometheus-fastapi-instrumentator/distinfo
+3-0www/py-prometheus-fastapi-instrumentator/pkg-descr
+1-0www/Makefile
+31-04 files

FreeBSD/ports 7ce0b24math/py-z3-solver distinfo Makefile, math/py-z3-solver/files patch-CMakeLists.txt

math/py-z3-solver: update 4.14.1 → 4.16.0
DeltaFile
+13-2math/py-z3-solver/files/patch-CMakeLists.txt
+3-3math/py-z3-solver/distinfo
+1-2math/py-z3-solver/Makefile
+17-73 files

FreeBSD/ports 56eb0aemisc Makefile, misc/py-xgrammar Makefile distinfo

misc/py-xgrammar: New port: Efficient, flexible and portable structured generation
DeltaFile
+32-0misc/py-xgrammar/Makefile
+11-0misc/py-xgrammar/files/patch-pyproject.toml
+3-0misc/py-xgrammar/distinfo
+3-0misc/py-xgrammar/pkg-descr
+1-0misc/Makefile
+50-05 files

FreeBSD/ports cd6400ftextproc/py-lingua-language-detector Makefile

textproc/py-lingua-language-detector: Remove 'concurrent'
DeltaFile
+1-1textproc/py-lingua-language-detector/Makefile
+1-11 files

FreeNAS/freenas c93e69dsrc/middlewared/middlewared/test/integration/utils mock_binary.py, tests/api2 test_tunables.py

Fix tunable tests
DeltaFile
+2-1tests/api2/test_tunables.py
+1-1src/middlewared/middlewared/test/integration/utils/mock_binary.py
+3-22 files

FreeNAS/freenas d3366c8src/middlewared/middlewared/plugins/tunable utils.py crud.py, src/middlewared/middlewared/test/integration/utils mock_binary.py

Propagate tunable changes to the backup node
DeltaFile
+58-12tests/api2/test_tunables.py
+60-7src/middlewared/middlewared/plugins/tunable/utils.py
+37-27src/middlewared/middlewared/plugins/tunable/crud.py
+29-12src/middlewared/middlewared/test/integration/utils/mock_binary.py
+11-3src/middlewared/middlewared/plugins/tunable/__init__.py
+195-615 files