LLVM/project 0320f03libc/lib CMakeLists.txt

[libc] Fix install-libc to work with LLVM_LIBC_FULL_BUILD=OFF (#197366)

Initialize variables that are conditionally set to avoid undefined
references in install-libc and install-libc-stripped targets:

- Initialize added_bitcode_targets to empty string (may be undefined
when LIBC_TARGET_OS_IS_GPU=OFF)
- Initialize startup_target to empty string and only set to
"libc-startup" when both LLVM_LIBC_FULL_BUILD=ON and NOT baremetal
(startup directory is only included in full builds)
- Initialize header_install_target to empty string (may be undefined
when LLVM_LIBC_FULL_BUILD=OFF)
DeltaFile
+4-1libc/lib/CMakeLists.txt
+4-11 files

LLVM/project 88afb5amlir/include/mlir/Interfaces InferIntDivisibilityOpInterface.h, mlir/lib/Analysis/DataFlow IntegerDivisibilityAnalysis.cpp

Revert "[MLIR] Add `IntegerDivisibilityAnalysis` and `InferIntDivisibilityOpInterface`" (#198048)

Reverts llvm/llvm-project#197728

unblock bots: 
https://lab.llvm.org/buildbot/#/builders/226
https://lab.llvm.org/buildbot/#/builders/203
DeltaFile
+0-312mlir/lib/Dialect/Affine/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+0-152mlir/test/Analysis/DataFlow/integer-divisibility.mlir
+0-135mlir/lib/Analysis/DataFlow/IntegerDivisibilityAnalysis.cpp
+0-122mlir/lib/Dialect/Arith/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+0-120mlir/include/mlir/Interfaces/InferIntDivisibilityOpInterface.h
+0-93mlir/test/lib/Analysis/DataFlow/TestIntegerDivisibilityAnalysis.cpp
+0-93413 files not shown
+11-1,09519 files

LLVM/project 3864552llvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/test/tools/dxil-dis di-subprogram.ll

[DirectX] Do not emit !dbg on function definitions (#197449)

This was not done in LLVM 3.7. Instead, the !DISubprogram contains a
reference to the function (already emitted).
DeltaFile
+4-0llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+2-0llvm/test/tools/dxil-dis/di-subprogram.ll
+6-02 files

FreeBSD/ports 46e799ex11/xlockmore distinfo Makefile

x11/xlockmore: Update to 5.88

Changes:        https://sillycycle.com/xlock/xlockmore.README
Reported by:    portscout
DeltaFile
+3-3x11/xlockmore/distinfo
+1-1x11/xlockmore/Makefile
+4-42 files

FreeBSD/ports 19e7637math/octave Makefile

math/octave: Remove lib dependency.

- graphics/libosmesa no longer required as LIB_DEPENDS.
- Bump portrevision.

PR:             295308
Reported by:    arrowd at FreeBSD.org
DeltaFile
+1-3math/octave/Makefile
+1-31 files

LLVM/project a070a15libc/src/string/memory_utils inline_memmove.h inline_memset.h, libc/src/string/memory_utils/generic builtin.h

[libc] Add config option to use memory builtin functions. (#197977)

Add a new CMake and C++ definition configuration option
`LIBC_CONF_USE_MEM_BUILTINS` to allow users to use compiler builtins for
memory utility functions (memcpy, memset, memmove, memcmp, and bcmp)
instead of LLVM libc's internal implementations. Main use-cases are:
- when users want to bring their own memory functions implementations
that are highly optimized for their targets
- improve portability by providing a fallback for targets for which LLVM
libc does not have memory utility implementations yet
- to be used for libc/shared functions and their testings, as we expect
libc/shared functions to provide their own memory functions.
DeltaFile
+14-2libc/src/string/memory_utils/generic/builtin.h
+6-1libc/src/string/memory_utils/inline_memmove.h
+4-1libc/src/string/memory_utils/inline_memset.h
+4-1libc/src/string/memory_utils/inline_memcpy.h
+4-1libc/src/string/memory_utils/inline_memcmp.h
+4-1libc/src/string/memory_utils/inline_bcmp.h
+36-72 files not shown
+44-78 files

FreeBSD/ports ad8c40fnet/krakend-ce distinfo Makefile

net/krakend-ce: Update 2.13.4 => 2.13.5

* Use dedicated variable GO_LDFLAGS for -ldflags

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5net/krakend-ce/distinfo
+4-5net/krakend-ce/Makefile
+9-102 files

FreeBSD/ports 1682a31databases Makefile

databases/Makefile: Remove deleted port

The port databases/leofs was removed but Makefile entry kept intact.

PR:             295318
Reported by:    Robert William Vesterman <bob at vesterman.com>
Fixes:          acf281bfdd77
DeltaFile
+0-1databases/Makefile
+0-11 files

Linux/linux 6916d57drivers/gpu/drm/amd/amdgpu amdgpu_userq_fence.c amdgpu_userq.c, drivers/gpu/drm/xe xe_vm_madvise.c xe_bo.h

Merge tag 'drm-fixes-2026-05-16' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Weekly fixes pull, small and all over fixes, mostly xe and amdgpu,
  with some ttm and a core fix for the handle change pain.

  core:
   - fix for the fix for the handle change race

  ttm:
   - avoid infinite loop in swap out
   - avoid infinite loop in BO shrinking
   - convert -EAGAIN from dmem_cgroup_try_charge to -ENOSPC

  bridge:
   - imx8qxp-pxl2dpi: avoid ERR_PTR with device_node cleanup

  i915:
   - Skip __i915_request_skip() for already signaled requests

    [51 lines not shown]
DeltaFile
+119-126drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
+10-152drivers/gpu/drm/xe/xe_vm_madvise.c
+54-77drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
+86-2drivers/gpu/drm/xe/xe_bo.h
+38-42drivers/gpu/drm/xe/xe_dma_buf.c
+42-9drivers/gpu/drm/xe/xe_vm.c
+349-40826 files not shown
+540-49532 files

LLVM/project a0176fdlldb/include/lldb/Symbol ObjectFile.h, lldb/source/Symbol ObjectFile.cpp

[lldb] Fix data race in ObjectFile::GetSectionList (#197812)

The early `m_sections_up == nullptr` check was performed outside the
module mutex, so two threads sharing the same Module could both enter
the branch and race on the write in CreateSections. Restructure so the
check and populate both happen under the module mutex; this is a
standard double-checked locking fix.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+10-10lldb/source/Symbol/ObjectFile.cpp
+3-0lldb/include/lldb/Symbol/ObjectFile.h
+13-102 files

FreeBSD/ports b073251filesystems/httpdirfs Makefile distinfo, filesystems/httpdirfs/files patch-curl patch-src_link.c

filesystems/httpdirfs: Update 1.2.7 => 1.2.9

* Fit COMMENT within 70 characters limit
* Install more documentation files
* Prefer using pkg-plist for tracking installed files
* Combine 2 patches for the same file into one, remove upstreamed hunk

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+0-51filesystems/httpdirfs/files/patch-curl
+42-2filesystems/httpdirfs/files/patch-src_link.c
+5-8filesystems/httpdirfs/Makefile
+3-3filesystems/httpdirfs/distinfo
+4-0filesystems/httpdirfs/pkg-plist
+54-645 files

LLVM/project cc3f8adllvm/test/Transforms/PGOProfile consecutive-zeros.ll, llvm/test/Transforms/PGOProfile/Inputs consecutive-zeros.proftext

PGO] Drop consecutive-zeros.ll test

pgo-memop-opt has previously validated VP metadata and bailed if it runs
into duplicate values in the VP metadata. VP metadata values will soon
be deduplicated at construction, making this no longer necessary, and
will also cause this test to fail, so drop it. Keep the
verification/deduplication pgo-memop-opt for now to avoid leaving main
in a broken state.

Reviewers: mtrofin, ormris

Pull Request: https://github.com/llvm/llvm-project/pull/197615
DeltaFile
+0-58llvm/test/Transforms/PGOProfile/consecutive-zeros.ll
+0-47llvm/test/Transforms/PGOProfile/Inputs/consecutive-zeros.proftext
+0-1052 files

LLVM/project c7a4fb0llvm/test/CodeGen/AMDGPU/GlobalISel sdivrem.ll, llvm/test/CodeGen/Thumb2 mve-clmul.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+8,633-8,584llvm/test/CodeGen/Thumb2/mve-clmul.ll
+8,195-0llvm/test/MC/AMDGPU/gfx13_asm_vop3.s
+8,182-0llvm/test/MC/AMDGPU/gfx13_asm_vop3-fake16.s
+6,862-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+3,436-2,769llvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
+4,686-918llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
+39,994-12,2714,021 files not shown
+305,249-120,8534,027 files

LLVM/project 26e1238llvm/test/tools/dsymutil/AArch64 typedef-different-types.test

host-byteorder-little-endian derictaive to typedef-different-types.test (#197981)

The test case introduced in
https://github.com/llvm/llvm-project/pull/195749/changes#diff-d9b34bdc428ca5518742902b1226065daa6a89d3fe056e10bc29615b57aa2deb
fails on AIX
(https://lab.llvm.org/staging/#/builders/231/builds/610/steps/6/logs/FAIL__LLVM__typedef-different-types_test)
due to AIX being big endian, add requires directive similar to
https://github.com/llvm/llvm-project/issues/190481
DeltaFile
+2-0llvm/test/tools/dsymutil/AArch64/typedef-different-types.test
+2-01 files

Linux/linux dc36660drivers/gpu/drm drm_gem.c

drm: Replace old pointer to new idr

Commit 5e28b7b94408 introduced a logical error by failing to replace the
newly generated IDR pointer to old id's pointer at the correct location
within the "change handle" logic; this resulted in the issue reported by
syzbot [1].

Specifically, the new IDR object pointer is intended to replace the original
id's pointer during the normal execution flow.

Additionally, an unnecessary conditional check for the ret exit path has
been removed.

[1]
!RB_EMPTY_ROOT(&prime_fpriv->dmabufs)
WARNING: drivers/gpu/drm/drm_prime.c:224 at drm_prime_destroy_file_private+0x48/0x60 drivers/gpu/drm/drm_prime.c:224, CPU#0: syz.0.17/5833
Call Trace:
 drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269
 drm_file_free drivers/gpu/drm/drm_file.c:237 [inline]

    [11 lines not shown]
DeltaFile
+2-5drivers/gpu/drm/drm_gem.c
+2-51 files

LLVM/project 12e7840llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU gfx12_asm_vopd_features.s

[AMDGPU] Fix VOPD assembler validation for GFX12+ (#198034)

The related `codegen` side of this change was already landed by
https://github.com/llvm/llvm-project/commit/c510ee553e2057f94c2f023c72abb3c9afec0962
("[AMDGPU] VOPD: AllowSameVGPR on GFX12"), which changed
`GCNVOPDUtils.cpp` to use `hasGFX12Insts()` instead of
`hasGFX1250Insts()`.
However, the assembler validation in `AMDGPUAsmParser.cpp` was not
updated to match, causing it to reject valid VOPD instruction pairs that
share the same VGPR as src0 on `gfx1200`.
This fix aligns the assembler with the `codegen` by changing
`isGFX1250Plus()` to `isGFX12Plus()` in `checkVOPDRegBankConstraints`,
and adds a positive test case to verify same-VGPR src0 pairs assemble
correctly on `gfx12`.
DeltaFile
+8-0llvm/test/MC/AMDGPU/gfx12_asm_vopd_features.s
+1-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+9-12 files

FreeBSD/ports 280e9a8devel/brpc Makefile

devel/brpc: Add ONLY_FOR_ARCHS

PR:             295292
Reported by:    pkg-fallout, Daniel Morante (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-0devel/brpc/Makefile
+3-01 files

LLVM/project f6f0c9ellvm/lib/Transforms/IPO Instrumentor.cpp, llvm/test/Instrumentation/Instrumentor call_allocation_deallocation.ll call_flags.ll

[Instrumentor] Add call instrumentation support

We can now instrument call instructions and extract information about
the arguments, (de)allocation, intrinsic kind, etc.
DeltaFile
+403-0llvm/test/Instrumentation/Instrumentor/call_allocation_deallocation.ll
+228-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+139-0llvm/test/Instrumentation/Instrumentor/call_flags.ll
+77-0llvm/test/Instrumentation/Instrumentor/call_filters.ll
+60-0llvm/test/Instrumentation/Instrumentor/call_flags_config.json
+35-25llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+942-266 files not shown
+1,128-2912 files

LLVM/project f675972llvm/docs LangRef.rst

[IR] Note that duplicate profile values are illegal in VP metadata

It is not legal to have duplicate VP metadata as it should be merged
appropriately before it actually ends up transcribed into the IR.

I will put up a verifier patch for this to follow this one, but do so
separately in case we need to revert due to detecting actual issues in
the code base.

Reviewers: david-xl, teresajohnson, mtrofin

Pull Request: https://github.com/llvm/llvm-project/pull/193077
DeltaFile
+3-1llvm/docs/LangRef.rst
+3-11 files

LLVM/project 3cb39bdclang/lib/CIR/CodeGen CIRGenBuiltinNVPTX.cpp CIRGenBuiltin.cpp, clang/test/CIR/CodeGenCUDA device-printf.cu

[CIR][CUDA] Support device-side printf for NVPTX (#196573)

Implement device-side printf lowering for NVPTX targets in CIR codegen.
The variadic arguments are packed into a stack-allocated struct and
passed to vprintf, matching the classic codegen behavior in
CGGPUBuiltin.cpp

When the target triple is NVPTX and the builtin is
printf/__builtin_printf, we route to emitNVPTXDevicePrintfCallExpr
The no-varargs case passes a null pointer directly.

AMDGCN device printf remains NYI.
part of https://github.com/llvm/llvm-project/issues/179278
DeltaFile
+103-0clang/lib/CIR/CodeGen/CIRGenBuiltinNVPTX.cpp
+46-0clang/test/CIR/CodeGenCUDA/device-printf.cu
+11-0clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+3-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+163-04 files

LLVM/project ba0fef9mlir/include/mlir/Interfaces InferIntDivisibilityOpInterface.h, mlir/lib/Analysis/DataFlow IntegerDivisibilityAnalysis.cpp

[MLIR] Add `IntegerDivisibilityAnalysis` and `InferIntDivisibilityOpInterface` (#197728)

This patch is a port from
https://github.com/iree-org/iree/blob/main/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp
to upstream

It introduces a dataflow analysis that tracks integer divisibility
(divisor + remainder lattice) for SSA values, plus an op interface
`InferIntDivisibilityOpInterface` for ops to participate.

It adds:
* `IntegerDivisibilityAnalysis` produces a `Divisibility` lattice
`{divisor, remainder}`
* `InferIntDivisibilityOpInterface` interface
* External-model implementations for `arith` and `affine` ops
* `test-int-divisibility` test pass + lit tests

Example:
Here is the usual approach to laod element `i` from `i4` buffer emulated

    [11 lines not shown]
DeltaFile
+312-0mlir/lib/Dialect/Affine/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+152-0mlir/test/Analysis/DataFlow/integer-divisibility.mlir
+135-0mlir/lib/Analysis/DataFlow/IntegerDivisibilityAnalysis.cpp
+122-0mlir/lib/Dialect/Arith/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+120-0mlir/include/mlir/Interfaces/InferIntDivisibilityOpInterface.h
+93-0mlir/test/lib/Analysis/DataFlow/TestIntegerDivisibilityAnalysis.cpp
+934-013 files not shown
+1,095-1119 files

LLVM/project 0f8ad47flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-declare-global-component-not-supported.f90 acc-declare-global-component.f90

[flang][acc] Accept component of global variable in `acc declare` (#197819)

This MR partially extends the current implementation to accept cases of
`acc declare` on a `parent%comp` whenever the `parent` has been `acc
declare`d with the same clause. This is done by generating only the acc
global constructor only for mapping the parent as the child is expected
to be part of parent.

The limitations still remain as a TODO unless it can be proven parent is
mapped. A generic implementation would need either compiler generated
ordering on the global constructors used for mapping or runtime managed
ordering.
DeltaFile
+107-19flang/lib/Lower/OpenACC.cpp
+34-7flang/test/Lower/OpenACC/acc-declare-global-component-not-supported.f90
+38-0flang/test/Lower/OpenACC/acc-declare-global-component.f90
+179-263 files

FreeBSD/ports a618701multimedia/aom/files patch-cmake_aom__configure.cmake patch-build_cmake_aom__configure.cmake

multimedia/aom: update to 3.14.0

Changes:        https://aomedia.googlesource.com/aom/+log/v3.13.3..v3.14.0
Reported by:    Repology
DeltaFile
+50-0multimedia/aom/files/patch-cmake_aom__configure.cmake
+0-50multimedia/aom/files/patch-build_cmake_aom__configure.cmake
+13-0multimedia/aom/files/patch-cmake_cpu.cmake
+0-13multimedia/aom/files/patch-build_cmake_cpu.cmake
+0-13multimedia/aom/files/patch-build_cmake_pkg__config.cmake
+13-0multimedia/aom/files/patch-cmake_pkg__config.cmake
+76-763 files not shown
+83-819 files

FreeBSD/ports 63838e4x11/libei distinfo Makefile

x11/libei: update to 1.6.0

Changes:        https://gitlab.freedesktop.org/libinput/libei/-/releases/1.6.0
Reported by:    GitLab (notify releases)
DeltaFile
+3-5x11/libei/distinfo
+1-4x11/libei/Makefile
+4-92 files

FreeBSD/ports 5b7cabfaudio/maolan distinfo Makefile.crates

audio/maolan: Update 0.0.3 => 0.1.0

Changelogs:
- https://github.com/maolan/maolan/releases/tag/0.0.4
- https://github.com/maolan/maolan/releases/tag/0.0.5
- https://github.com/maolan/maolan/releases/tag/0.0.6
- https://github.com/maolan/maolan/releases/tag/0.0.7
- https://github.com/maolan/maolan/releases/tag/0.1.0

PR:             293997
Reported by:    Goran Mekić <meka at tilda.center> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+809-59audio/maolan/distinfo
+404-29audio/maolan/Makefile.crates
+14-10audio/maolan/Makefile
+5-0audio/maolan/pkg-plist
+1,232-984 files

FreeBSD/ports ba59dbcdatabases/R-cran-dbplyr distinfo Makefile

databases/R-cran-dbplyr: Update 2.5.1 => 2.5.2

While here, add more test dependencies

Changelog:
https://github.com/tidyverse/dbplyr/releases/tag/v2.5.2
Commit log:
https://github.com/tidyverse/dbplyr/compare/v2.5.1...v2.5.2

PR:             295286
Reported by:    Einar Bjarni Halldórsson <einar at isnic.is> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3databases/R-cran-dbplyr/distinfo
+3-1databases/R-cran-dbplyr/Makefile
+6-42 files

NetBSD/src uOkRqcMsys/arch/arm/arm psci.c psci.h, sys/arch/arm/fdt acpi_fdt.c psci_fdt.c

   psci: ensure cores are in a known state before SYSTEM_OFF

   The PSCI spec says that the caller must place all cores in a known state
   prior to calling SYSTEM_OFF.

   It doesn't really specify what a "known state" is, but it does suggest
   that one way to do this is to call CPU_OFF on all other cores. So let's
   do that.

   This has the nice side effect of workaround around a heartbeat timeout
   when attempting to power down a system with firmware that doesn't return
   from a SYSTEM_OFF call but does not actually know how to power off the
   system (like Rockchip's secure firmware on RK356x based boards).
VersionDeltaFile
1.9+68-4sys/arch/arm/arm/psci.c
1.6+23-2sys/arch/arm/arm/psci.h
1.26+4-4sys/arch/arm/fdt/acpi_fdt.c
1.22+4-4sys/arch/arm/fdt/psci_fdt.c
+99-144 files

OpenBSD/ports K5p4dxhdevel/pycharm distinfo Makefile, devel/pycharm/pkg PLIST

   devel/pycharm: update to 2026.1.2
VersionDeltaFile
1.55+72-19devel/pycharm/pkg/PLIST
1.58+2-2devel/pycharm/distinfo
1.71+2-2devel/pycharm/Makefile
+76-233 files

OpenBSD/ports wnbdHVWdevel/intellij Makefile distinfo

   devel/intellij: update to 2026.1.2
VersionDeltaFile
1.118+2-2devel/intellij/Makefile
1.84+2-2devel/intellij/distinfo
+4-42 files

FreeBSD/ports 99862c4security/hidden-lake distinfo Makefile

security/hidden-lake: Update 1.10.4 => 1.10.5

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5security/hidden-lake/distinfo
+2-2security/hidden-lake/Makefile
+1-0security/hidden-lake/pkg-plist
+8-73 files