LLVM/project 4c092f6clang/lib/AST/ByteCode Compiler.h, clang/test/AST/ByteCode records.cpp

[clang][bytecode] Add a missing fallthrough() call (#194537)

When the local variable is enabled but we don't emit any dtor
instructions, we need to fallthrough to the `EndLabel`.
DeltaFile
+8-1clang/test/AST/ByteCode/records.cpp
+1-0clang/lib/AST/ByteCode/Compiler.h
+9-12 files

LLVM/project 7b49e58libc/src/__support/math CMakeLists.txt fminimumf128.h, libc/src/math/generic CMakeLists.txt

[libc][math] Refactor fmaximum-fminimum family to header-only (#194533)

Refactors the fmaximum-fminimum math family to be header-only.

part of: #147386

Target Functions:
  - fmaximum
  - fmaximumbf16
  - fmaximumf
  - fmaximumf128
  - fmaximumf16
  - fmaximuml
  - fminimum
  - fminimumbf16
  - fminimumf
  - fminimumf128
  - fminimumf16
  - fminimuml
DeltaFile
+176-6utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+130-0libc/src/__support/math/CMakeLists.txt
+12-38libc/src/math/generic/CMakeLists.txt
+31-0libc/src/__support/math/fminimumf128.h
+31-0libc/src/__support/math/fmaximumf128.h
+31-0libc/src/__support/math/fminimumf16.h
+411-4438 files not shown
+1,065-10144 files

FreeBSD/doc 40cd860website/tools hardware-notes-processor.rb

Make links to drivers man in hardware.adoc

Reviewed by: carlavilla, mhorne
Approved by: carlavilla
Differential Revision: https://reviews.freebsd.org/D56646
PR: 283060
DeltaFile
+28-1website/tools/hardware-notes-processor.rb
+28-11 files

LLVM/project 50a6d97clang/lib/AST/ByteCode Interp.cpp, clang/test/AST/ByteCode openmp.cpp

[clang][bytecode] Reject more constexpr-unknown pointers in CheckStore (#194529)

Even in constant contexts.
DeltaFile
+8-1clang/test/AST/ByteCode/openmp.cpp
+1-1clang/lib/AST/ByteCode/Interp.cpp
+9-22 files

FreeBSD/ports 508160adevel/py-uv distinfo Makefile, devel/uv distinfo Makefile.crates

devel/{,py-}uv: update 0.11.7 → 0.11.8
DeltaFile
+19-23devel/uv/distinfo
+8-10devel/uv/Makefile.crates
+3-3devel/py-uv/distinfo
+1-2devel/uv/Makefile
+1-1devel/py-uv/Makefile
+32-395 files

FreeBSD/ports d1eea15misc/py-wandb distinfo Makefile.crates, misc/py-wandb/files patch-core_hatch.py patch-wandb_sdk_wandb__settings.py

misc/py-wandb: update 0.17.9 → 0.26.1
DeltaFile
+995-3misc/py-wandb/distinfo
+496-0misc/py-wandb/Makefile.crates
+66-6misc/py-wandb/Makefile
+38-0misc/py-wandb/files/patch-core_hatch.py
+23-0misc/py-wandb/files/patch-wandb_sdk_wandb__settings.py
+11-0misc/py-wandb/files/patch-wandb_sdk_lib_filesystem.py
+1,629-96 files

FreeBSD/ports 707ec96sysutils/mise distinfo Makefile

sysutils/mise: update 2026.4.23 → 2026.4.24
DeltaFile
+3-5sysutils/mise/distinfo
+1-2sysutils/mise/Makefile
+4-72 files

FreeBSD/ports 97139aedevel/py-cucumber-tag-expressions Makefile, devel/py-cucumber-tag-expressions/files patch-pyproject.toml

devel/py-uv-build: update 0.11.7 → 0.11.8
DeltaFile
+10-0devel/py-cucumber-tag-expressions/files/patch-pyproject.toml
+3-3devel/py-uv-build/distinfo
+2-1devel/py-uv-build/files/patch-pyproject.toml
+1-1devel/py-cucumber-tag-expressions/Makefile
+1-1devel/py-uv-build/Makefile
+17-65 files

FreeBSD/ports 4b2d658devel/args distinfo Makefile

devel/args: update 6.4.11 → 6.4.13
DeltaFile
+3-3devel/args/distinfo
+2-1devel/args/Makefile
+5-42 files

FreeBSD/ports 63e960emisc/lean-ctx distinfo Makefile

misc/lean-ctx: update 3.4.2 → 3.4.3
DeltaFile
+3-3misc/lean-ctx/distinfo
+1-1misc/lean-ctx/Makefile
+4-42 files

LLVM/project fb2c65dmlir/lib/Conversion/TosaToLinalg TosaToLinalgPass.cpp, mlir/test/Conversion/TosaToLinalg tosa-to-linalg-pipeline-no-validation.mlir

[mlir][tosa] Make tosa-attach-target optional in addTosaToLinalgPasses (#193467)

addTosaToLinalgPasses unconditionally scheduled tosa-attach-target, thus
adding a `tosa.target_env` attribute to the module. Callers therefore
had no way to opt out of such attribute. This attribute is consumed if
validationOptions is enabled, which is optional. Therefore, if the
caller disables validationOptions, the tosa-attach-target attribute will
exist even after TosaToLinalg. So consumers that don't load the TOSA
dialect can't even parse the resulting module.

This PR makes sure that we schedule tosa-attach-target only when the
caller actually needs it, i.e. when validationOptions or
attachTargetOptions is set. The default values stay inside the
`!attachTargetOptions` branch so callers that set validationOptions
still get a target env to validate against, preserving existing
behavior.

Also add a `validation` pipeline option (default `true`) to the
registered `tosa-to-linalg-pipeline`, so it can be invoked without
scheduling either `tosa-attach-target` / `tosa-validate`. A lit test is
also added.
DeltaFile
+33-12mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
+14-0mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-pipeline-no-validation.mlir
+47-122 files

LLVM/project 33b9e74clang-tools-extra/clang-tidy/bugprone SuspiciousIncludeCheck.cpp

[clang-tidy] Fix UB in SuspiciousIncludeCheck when IgnoredRegex is not set (#194521)

When the "IgnoredRegex" option is not set, `IgnoredRegexString` is
default-constructed, i.e. initialized with a null data pointer. This is
passed to `llvm_regcomp` as the pattern argument, causing a nullptr+0 UB
in regcomp.c (caught by UBSan). Fix by initializing
`IgnoredRegexString` with an empty string literal instead.
DeltaFile
+1-1clang-tools-extra/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp
+1-11 files

LLVM/project c8ff862llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp AsmPrinterInlineAsm.cpp, llvm/lib/Target/AArch64 AArch64AsmPrinter.cpp

[CodeGen] Make AsmPrinter::MAI a reference. NFC (#194538)

AsmPrinter::MAI is non-null. This is made more explicit after
PR #194523 changed TargetMachine::getMCAsmInfo to return a reference
with recent MCAsmInfo/MCTargetOptions related refactoring.

Convert the member from const MCAsmInfo * to const MCAsmInfo & and
update all consumers.
DeltaFile
+55-55llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+11-11llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+8-8llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
+8-8llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
+6-6llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+4-4llvm/lib/Target/X86/X86AsmPrinter.cpp
+92-9228 files not shown
+142-14134 files

LLVM/project 4049935clang/test/Driver modules-driver-import-std.cpp

Fix UNSUPPORTED added to test in #194502. (#194541)

The change in #194502 attempted to mark the test as UNSUPPORTED for
AArch64, but it didn't work because it wasn't specified correctly. This
fixes it.
DeltaFile
+1-1clang/test/Driver/modules-driver-import-std.cpp
+1-11 files

LLVM/project e4196c1clang/test/CIR/CodeGenHIP target-features.hip

fix comment in test
DeltaFile
+0-2clang/test/CIR/CodeGenHIP/target-features.hip
+0-21 files

LLVM/project 259f40dllvm/include/llvm/Bitcode LLVMBitCodes.h, llvm/include/llvm/Support AMDGPUSummary.h

[RFC][AMDGPU] Add AMDGPU_SUMMARY bitcode block for ThinLTO

With AMDGPU object linking, device functions are compiled separately from the
kernels that call them. Without whole-program visibility, the compiler must be
conservative about occupancy for every device function, leading to suboptimal
resource usage. However, GPU kernels typically carry explicit occupancy control
attributes that constrain the launch environment. ThinLTO is the natural place
to propagate these kernel attributes to callees: the combined module summary
index contains a cross-TU call graph, allowing occupancy information to be
propagated top-down from kernels to all reachable device functions. The backend
can then generate better code with the propagated constraints, achieving
whole-program awareness without the compile-time overhead of full LTO.

This patch introduces a dedicated AMDGPU_SUMMARY bitcode block that serializes
per-function summary data alongside the standard module summary. The block is
scoped to AMDGPU so that non-AMDGPU targets are completely unaffected. A
follow-up patch will add the ThinLTO propagation logic that reads these
summaries and applies conservative attribute bounds to device functions
reachable from multiple kernels.
DeltaFile
+92-0llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+82-0llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+47-0llvm/test/ThinLTO/AMDGPU/amdgpu-summary-roundtrip.ll
+46-0llvm/include/llvm/Support/AMDGPUSummary.h
+11-0llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
+10-0llvm/include/llvm/Bitcode/LLVMBitCodes.h
+288-01 files not shown
+293-07 files

LLVM/project ec88858clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGenHIP target-features.hip

add comments and update test
DeltaFile
+35-0clang/test/CIR/CodeGenHIP/target-features.hip
+10-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+45-02 files

LLVM/project 3deb42borc-rt/include/orc-rt/sps-ci AllSPSCI.h, orc-rt/lib/executor/sps-ci AllSPSCI.cpp

[orc-rt] Sink include into implementation file. (#194379)
DeltaFile
+1-1orc-rt/include/orc-rt/sps-ci/AllSPSCI.h
+1-0orc-rt/lib/executor/sps-ci/AllSPSCI.cpp
+2-12 files

FreeBSD/ports 517d74asecurity/dehydrated Makefile, security/dehydrated/files 000.dehydrated.weekly.in

security/dehydrated: Ensure the periodic script exits with the proper error code

PR:             294021
Reported by:    Henrik <henrik at eyetea.se>
Reviewed by:    linimon
MFH:            2026Q2

(cherry picked from commit d26d65b87313f3e16d449e96eb09727734e523b1)
DeltaFile
+4-0security/dehydrated/files/000.dehydrated.weekly.in
+1-0security/dehydrated/Makefile
+5-02 files

LLVM/project 549ecfemlir/include/mlir/Dialect/Vector/Transforms LoweringPatterns.h, mlir/lib/Dialect/Vector/Transforms LowerVectorContract.cpp

experimental expose vector contract lowerings to have multiple options

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+202-84mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
+91-0mlir/test/Dialect/Vector/vector-contract-composable-lowering.mlir
+64-0mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
+27-0mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
+384-844 files

LLVM/project e6676b0mlir/include/mlir/Dialect/AMDGPU/Utils Chipset.h, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

experimental amdgpu reduction

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+379-0mlir/lib/Dialect/AMDGPU/Transforms/VectorReductionToDot.cpp
+323-0mlir/test/Dialect/AMDGPU/vector-reduction-to-dot.mlir
+103-20mlir/lib/Dialect/AMDGPU/IR/AMDGPUOps.cpp
+0-53mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+53-0mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
+43-0mlir/test/Dialect/AMDGPU/vector-reduction-to-dot-gfx9.mlir
+901-734 files not shown
+938-7310 files

LLVM/project 4940171llvm/unittests/Frontend OpenMPIRBuilderTest.cpp

Try to fix unit tests
DeltaFile
+35-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+35-01 files

LLVM/project 0f9dd88llvm/docs LangRef.rst ReleaseNotes.md, llvm/include/llvm/IR DataLayout.h

[DataLayout] Add null pointer value infrastructure

Add support for specifying the null pointer bit representation per address space
in DataLayout via new pointer spec flags:
- 'z': null pointer is all-zeros
- 'o': null pointer is all-ones

When neither flag is present, the address space inherits the default set by the
new 'N<null-value>' top-level specifier ('Nz' or 'No'). If that is also absent,
the null pointer value is zero.

No target DataLayout strings are updated in this change. This is pure
infrastructure for a future ConstantPointerNull semantic change to support
targets with non-zero null pointers (e.g. AMDGPU).
DeltaFile
+136-1llvm/unittests/IR/DataLayoutTest.cpp
+61-6llvm/lib/IR/DataLayout.cpp
+23-1llvm/include/llvm/IR/DataLayout.h
+17-1llvm/docs/LangRef.rst
+8-0llvm/docs/ReleaseNotes.md
+245-95 files

LLVM/project 922d95aclang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn.hip

[CIR][AMDGPU] Add lowering for amdgcn div fmas builtins (#194334)

Upstreaming ClangIR PR: https://github.com/llvm/clangir/pull/2051

This PR adds support for lowering of _builtin_amdgcn_div_fmas* amdgpu
builtins to clangIR.
Followed similar lowering from reference clang->llvmir in
clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp.
DeltaFile
+16-0clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+10-4clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+26-42 files

LLVM/project 7b5051ellvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[MLIR][OpenMP] Post-translate declare-target USM indirection in OpenMPIRBuilder

When lowering OpenMP to LLVM IR for the target device, record pairs of the
`declare target` device global and the OMPIRBuilder "ref" pointer global
(used for unified shared memory) via `OpenMPIRBuilder`. During the
`OpenMPIRBuilder::finalize` pass, run a postpass that rewrites remaining uses of the
original global to load from the ref global and adjust the pointer (shared
path for `ConstantExpr` addrspace/bitcast chains and for direct
instruction uses).

This follows what is done by clang for similar cases:
https://reviews.llvm.org/D63108.

Co-authored-by: Composer
Co-authored-by: Gemini Pro
DeltaFile
+68-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+39-0offload/test/offloading/fortran/declare-target-usm-ref-ptr.f90
+24-0mlir/test/Target/LLVMIR/omptarget-declare-target-usm-ref-ptr.mlir
+20-0llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+11-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+162-35 files

LLVM/project 57b3929llvm/unittests/Frontend OpenMPIRBuilderTest.cpp

Try to fix unit tests
DeltaFile
+33-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+33-01 files

LLVM/project 0b71448llvm/docs RemoveDIsDebugInfo.md SandboxIR.md

[Docs] Update indents for SandboxIR and RemoveDIsDebugInfo (#194528)

This distinguishes the doc title from the headers.

Fixes navigation indents for Furo theme update (see
https://github.com/llvm/llvm-project/pull/184440).
DeltaFile
+17-17llvm/docs/RemoveDIsDebugInfo.md
+7-7llvm/docs/SandboxIR.md
+24-242 files

LLVM/project 1cb85ddflang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/test/Transforms omp-map-info-finalization-usm.fir

[Flang][OpenMP] Clear close on descriptor members for box parents in USM (#194287)

Extend the MapInfoFinalization walk introduced in #185330 so
parent/member close consistency is enforced whenever
unified_shared_memory is in effect, not only when the parent map's
variable is a fir.RecordType. Allocatable (box) roots expand to member
maps the same way as derived-type instances; getDescriptorMapType may
add OMP_MAP_CLOSE to implicit descriptor members while the parent map
does not set close, which led to bad device behavior under
-fopenmp-force-usm with multiple mapped allocatables.

PR stack:
- https://github.com/llvm/llvm-project/pull/194287 (this one)
- https://github.com/llvm/llvm-project/pull/194291

Co-authored-by: Composer (Cursor) <ai at cursor.com>
DeltaFile
+49-0offload/test/offloading/fortran/usm-box-parent-descriptor-close.f90
+12-12flang/test/Transforms/omp-map-info-finalization-usm.fir
+6-12flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+67-243 files

LLVM/project 6a0a18blibc/shared/math sqrtl.h, libc/src/__support/math sqrtl.h CMakeLists.txt

[libc][math] Refactor sqrtl family to header-only (#194510)

part of: #147386

---------

Co-authored-by: bassiounix <muhammad.m.bassiouni at gmail.com>
DeltaFile
+29-0libc/src/__support/math/sqrtl.h
+29-0libc/shared/math/sqrtl.h
+12-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/sqrtl.cpp
+2-0libc/test/shared/shared_math_test.cpp
+82-54 files not shown
+87-610 files

LLVM/project f61e1e4llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/MC MCDwarf.cpp MCStreamer.cpp

[MC] Make MCContext::getAsmInfo return a reference. NFC (#194523)

The MAI member is non-null. #194280 made this clearer by making the
MCContext constructor take MCAsmInfo by reference. Convert getAsmInfo to
return const MCAsmInfo & and the member to a reference.
DeltaFile
+41-43llvm/lib/MC/MCDwarf.cpp
+20-22llvm/lib/MC/MCStreamer.cpp
+13-13llvm/lib/MC/MCContext.cpp
+13-13llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
+12-12llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+8-8llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+107-11144 files not shown
+200-20550 files