LLVM/project b095d60libc/cmake/modules LLVMLibCCompileOptionRules.cmake

[libc] Build with -Wshadow (#197516)

This relands #196519. It now only enables the warning for
clang 22 and newer, since older versions had false positives.
DeltaFile
+6-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+6-01 files

LLVM/project dcbe7f2llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp, llvm/test/Instrumentation/Instrumentor multi_config.ll alloca_and_function.ll

[Instrumentor] Allow multiple config files with different filters

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in
a "summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+52-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+37-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-0llvm/test/Instrumentation/Instrumentor/multi_config_2.json
+193-3414 files not shown
+245-4420 files

LLVM/project 91496dfllvm/include/llvm/Transforms/IPO Instrumentor.h

Update llvm/include/llvm/Transforms/IPO/Instrumentor.h

Co-authored-by: Kevin Sala Penades <salapenades1 at llnl.gov>
DeltaFile
+1-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+1-11 files

LLVM/project 4048570llvm/test/Instrumentation/Instrumentor default_config.json

Update llvm/test/Instrumentation/Instrumentor/default_config.json

Co-authored-by: Kevin Sala Penades <salapenades1 at llnl.gov>
DeltaFile
+1-1llvm/test/Instrumentation/Instrumentor/default_config.json
+1-11 files

LLVM/project 132c3e6mlir/test/Dialect/OpenMP invalid.mlir

Fix operandSegmentSizes mismatch after rebase
DeltaFile
+1-1mlir/test/Dialect/OpenMP/invalid.mlir
+1-11 files

FreeBSD/src 52fa2f9lib/libsys clock_gettime.2

clock_gettime.2: Fix a couple of typos

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D56990
DeltaFile
+2-2lib/libsys/clock_gettime.2
+2-21 files

LLVM/project c2c8a86llvm/test/CodeGen/AMDGPU div_i128.ll build-vector-packed-partial-undef.ll, llvm/test/CodeGen/AMDGPU/GlobalISel sdivrem.ll udivrem.ll

AMDGPU/GlobalISel: Switch some tests to -new-reg-bank-select (#197466)
DeltaFile
+3,436-2,769llvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
+2,801-2,109llvm/test/CodeGen/AMDGPU/GlobalISel/udivrem.ll
+1,609-1,359llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
+526-554llvm/test/CodeGen/AMDGPU/div_i128.ll
+431-169llvm/test/CodeGen/AMDGPU/build-vector-packed-partial-undef.ll
+287-287llvm/test/CodeGen/AMDGPU/memset-param-combinations.ll
+9,090-7,247171 files not shown
+11,868-9,512177 files

LLVM/project aa98d2elldb/include/lldb/Interpreter CommandReturnObject.h, lldb/source/Commands CommandObjectProtocolServer.cpp CommandObjectProcess.cpp

Revert "[lldb] Assert that CommandObject::DoExecute sets a return status" (#197367)

Reverts llvm/llvm-project#196589
[lldb-remote-linux-ubuntu](https://lab.llvm.org/buildbot/#/builders/195/builds/24894) 262 shell tests failed
[lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197/builds/15918) 193 shell tests failed
DeltaFile
+0-38lldb/unittests/Interpreter/TestCommandReturnObject.cpp
+1-24lldb/source/Interpreter/CommandObject.cpp
+1-4lldb/include/lldb/Interpreter/CommandReturnObject.h
+2-2lldb/test/API/commands/command/script/TestCommandScript.py
+1-2lldb/source/Commands/CommandObjectProtocolServer.cpp
+0-2lldb/source/Commands/CommandObjectProcess.cpp
+5-722 files not shown
+6-748 files

LLVM/project 549457cclang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp SemaExprCXX.cpp

[clang] make evaluation of type constraint a SFINAE context

Otherwise, errors when substituting a type constraint could unintentionally make
the program ill-formed.

This also strenghtens the assert which checks, when we are instantiating templates,
that we either have a code synthesis context, or that we are in a SFINAE
context.
DeltaFile
+12-32clang/lib/Sema/SemaTemplateInstantiate.cpp
+21-0clang/test/SemaTemplate/instantiate-requires-expr.cpp
+4-0clang/lib/Sema/SemaExprCXX.cpp
+2-0clang/docs/ReleaseNotes.rst
+39-324 files

LLVM/project 0e3812bllvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane.xor.ll llvm.amdgcn.permlane.bcast.ll

Refactor permlane kernel tests to return intrinsic value
DeltaFile
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.xor.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.bcast.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.down.ll
+332-716llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.up.ll
+50-64llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.idx.gen.ll
+1,378-2,9285 files

LLVM/project 6c67a2cflang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

[mlir][OpenMP] Add iterator support to map/motion clause

Extend map/motion clause to support `!omp.iterated<Ty>` handles
alongside map/motion locators.

This is part of feature work for #188061

Assisted with copilot
DeltaFile
+128-21mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+100-1mlir/test/Dialect/OpenMP/ops.mlir
+83-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+38-4mlir/test/Dialect/OpenMP/invalid.mlir
+19-18flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+14-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+382-475 files not shown
+403-6111 files

LLVM/project 088fc48mlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Require explicit yield in iterator op

Remove the implicit terminator trait from omp.iterator so iterator
modifiers must explicitly yield the value used to form the iterated list.

Add and update verfier and test accordingly.
DeltaFile
+15-0mlir/test/Dialect/OpenMP/ops.mlir
+5-8mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+9-0mlir/test/Dialect/OpenMP/invalid.mlir
+1-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+30-114 files

LLVM/project 2c0c5femlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Add verifier check for iterated map info and tests for declare mapper
DeltaFile
+79-60mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+109-1mlir/test/Dialect/OpenMP/invalid.mlir
+24-0mlir/test/Target/LLVMIR/openmp-todo.mlir
+18-0mlir/test/Dialect/OpenMP/ops.mlir
+6-0mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+236-615 files

LLVM/project 735d9demlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Simplify map iterator clause assembly

- Split MLIR map syntax into separate map_entries(...) and map_iterated(...),
  removing the custom MapEntryList parser/printer.
- Moved omp.target map_iterated out of TargetOpRegion
  - it now prints before the target region instead of as map_iterated_entries(...) after the region.
- Renamed LLVMIR TODO helper to clause-style checkMap.
- Added DeclareMapperInfoOp builder from DeclareMapperInfoOperands
  and updated Flang call sites so they do not need to spell out newly
  added operands..
DeltaFile
+9-85mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+14-14mlir/test/Dialect/OpenMP/ops.mlir
+12-12mlir/test/Dialect/OpenMP/invalid.mlir
+7-7mlir/test/Target/LLVMIR/openmp-todo.mlir
+6-8mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+6-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+54-1293 files not shown
+60-1379 files

FreeNAS/freenas ddc01e2src/middlewared/middlewared/plugins/failover_ detect_utils.py, src/middlewared/middlewared/plugins/system dmi.py

NAS-140991 / 27.0.0-BETA.1 / use new truenas_pydmi layout (#18944)

Layout was changed in truenas_pydmi which allows us to simplify the use
here.
DeltaFile
+0-25src/middlewared/middlewared/utils/chassis.py
+12-12src/middlewared/middlewared/plugins/system/dmi.py
+18-0src/middlewared/middlewared/utils/dmi.py
+7-7src/middlewared/middlewared/plugins/failover_/detect_utils.py
+5-2src/middlewared/middlewared/plugins/truenas/tn.py
+3-3src/middlewared/middlewared/plugins/truenas/__init__.py
+45-494 files not shown
+55-5710 files

OpenZFS/src e5bc400module/zfs vdev_raidz_math_aarch64_neon_common.h

Fix aarch64 build failure: remove earlyclobber from UVR asm constraints

Agent-Logs-Url: https://github.com/openzfs/zfs/sessions/003e5a4a-47a2-40de-a490-8a8ee8d67f5e

Co-authored-by: behlendorf <148917+behlendorf at users.noreply.github.com>
DeltaFile
+9-9module/zfs/vdev_raidz_math_aarch64_neon_common.h
+9-91 files

LLVM/project 54a3602llvm/include/llvm/IR Constants.h, llvm/lib/IR Constants.cpp AsmWriter.cpp

[NRC][IR] Use `isa<ConstantPointerNull>` instead of `isNullValue` for pointer null checks

This PR replaces `isNullValue()` with `isa<ConstantPointerNull>()` in core IR
files where the check is semantically testing for a null pointer rather than a
generic zero value. This makes the intent explicit and prepares for future
non-zero null pointer support.
DeltaFile
+2-2llvm/lib/IR/Constants.cpp
+2-2llvm/lib/IR/AsmWriter.cpp
+1-1llvm/lib/IR/Verifier.cpp
+1-1llvm/include/llvm/IR/Constants.h
+6-64 files

LLVM/project d5d6e8clibc/include/llvm-libc-macros pthread-macros.h, libc/src/__support/threads unix_mutex.h

[libc][mutex] add error checking support (#197035)
DeltaFile
+28-10libc/src/__support/threads/unix_mutex.h
+31-0libc/test/integration/src/pthread/pthread_mutex_test.cpp
+8-8libc/include/llvm-libc-macros/pthread-macros.h
+8-3libc/src/pthread/pthread_mutex_unlock.cpp
+5-2libc/src/pthread/pthread_mutex_init.cpp
+4-2libc/src/pthread/pthread_mutex_lock.cpp
+84-256 files not shown
+96-2812 files

OpenBSD/ports a7bvhImdevel/jdk/21 Makefile distinfo, devel/jdk/21/patches patch-src_hotspot_cpu_aarch64_stubGenerator_aarch64_cpp

   Update to 21.0.11+10-1 GA:
   * Upstream release notes:
   https://www.oracle.com/java/technologies/javase/21-0-11-relnotes.html
   * Contains upstream security fixes:
   https://openjdk.org/groups/vulnerability/advisories/2026-04-21
   * This only builds on clang arch so cleanup Makefile to match
   * Remove patch committed upstream at bsd-port
VersionDeltaFile
1.16+4-10devel/jdk/21/Makefile
1.11+2-2devel/jdk/21/distinfo
1.2+0-0devel/jdk/21/patches/patch-src_hotspot_cpu_aarch64_stubGenerator_aarch64_cpp
+6-123 files

OpenBSD/ports Ss500Cpdevel/jdk/17 Makefile distinfo, devel/jdk/17/patches patch-make_hotspot_lib_CompileJvm_gmk patch-make_modules_java_desktop_lib_Awt2dLibraries_gmk

   Update to 17.0.19+10-1 GA:
   * Upstream release notes:
   https://www.oracle.com/java/technologies/javase/17-0-19-relnotes.html
   * Contains upstream security fixes:
   https://openjdk.org/groups/vulnerability/advisories/2026-04-21
   * This only builds on clang arch so cleanup Makefile to match
   * Fix building with warnings as errors
   * Fix building with external libpng on aarch64
VersionDeltaFile
1.4+9-23devel/jdk/17/patches/patch-make_hotspot_lib_CompileJvm_gmk
1.3+14-10devel/jdk/17/patches/patch-make_modules_java_desktop_lib_Awt2dLibraries_gmk
1.41+4-12devel/jdk/17/Makefile
1.21+2-2devel/jdk/17/distinfo
+29-474 files

LLVM/project 508bc45llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-reduction-fp-bf16.ll fixed-vectors-reduction-fp.ll

[llvm][RISCV] Split fp16/bf16 reduction operations under zvfhmin/zvfbfmin (#194817)

Same as what we've done for other operations that promoted type is an
illegal vector, we need to split to 2 legal vectors and combine the
result back.

stacked on: https://github.com/llvm/llvm-project/pull/194815 and
https://github.com/llvm/llvm-project/pull/194587
DeltaFile
+3,283-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-bf16.ll
+1,017-2,228llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
+210-0llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode-f16.ll
+156-0llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode-bf16.ll
+46-11llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4,712-2,2395 files

LLVM/project b88ba1fllvm/docs/CommandGuide llvm-objdump.rst, llvm/tools/llvm-objdump llvm-objdump.cpp

comments

Created using spr 1.3.6-beta.1
DeltaFile
+2-0llvm/docs/CommandGuide/llvm-objdump.rst
+1-1llvm/tools/llvm-objdump/llvm-objdump.cpp
+3-12 files

NetBSD/pkgsrc VqNbhmwmail/mu distinfo, mail/mu/patches patch-lib_utils_mu-html-to-text.cc

   mu: fixed ctype(3) issue
VersionDeltaFile
1.1+24-0mail/mu/patches/patch-lib_utils_mu-html-to-text.cc
1.16+2-1mail/mu/distinfo
+26-12 files

NetBSD/src wXg55Ofexternal/public-domain/tz tzdata2netbsd

   Restore line whose content vanished in previous

   Somehow in the previous version, the content of one line was
   removed, leaving just the indentation tabs... restore that line.

   While here, and inspired by that line remnant, check for trailing
   whitespace, and obliterate all of it that is unintentional (there
   is one space in an EDIT_ME in a here-doc which is intended).

   Also, in the rarely used "zones added"/"zones removed" commit message,
   for the set lists, add some vertical white space before the listings
   of any zones added or removed (happens so rarely, I'm not sure that
   code has ever been used).
VersionDeltaFile
1.19+8-8external/public-domain/tz/tzdata2netbsd
+8-81 files

LLVM/project d20b098clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/AST Type.cpp

[CIR] Lower builtin_launder (#197252)

This patch introduces a cir.launder operation to represent a call to
__builtin_launder, which is an optimization barrier. This cir.launder
lowers directly to the LLVM-IR launder.invariant.group.

This patch also moves the existing check to see if a type needs
laundering to QualType from classic-codegen so it can be shared, however
the CodeGenOpt check is still left in codegen/duplicated between the two
implementations.
DeltaFile
+119-0clang/test/CIR/CodeGen/launder.cpp
+35-0clang/lib/AST/Type.cpp
+1-29clang/lib/CodeGen/CGBuiltin.cpp
+26-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+12-1clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+8-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+201-301 files not shown
+205-307 files

LLVM/project 6283602utils/bazel/llvm-project-overlay/llvm BUILD.bazel config.bzl

[Bazel]: Replace deprecated use of `@bazel_tools//` (#197323)

The platform configs in `@bazel_tools` are deprecated. This change
introduces local configs and refers to
[bazelbuild/platforms](https://github.com/bazelbuild/platforms) for the
constraints.
DeltaFile
+60-6utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+12-12utils/bazel/llvm-project-overlay/llvm/config.bzl
+72-182 files

LLVM/project 53e8585llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add a global function regexp to limit the instrumentation

Only functions that match the "function_regex" will be instrumented,
or if they have the instrumentation attribute.
DeltaFile
+55-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+27-12llvm/lib/Transforms/IPO/Instrumentor.cpp
+26-0llvm/test/Instrumentation/Instrumentor/bad_function_regex.json
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+11-0llvm/test/Instrumentation/Instrumentor/bad_function_regexp.ll
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+152-131 files not shown
+155-147 files

FreeBSD/src e30e507sys/kern vfs_bio.c

vfs_bio: mark uma zone pointer __read_mostly

Reviewed by:    kib, olce
Sponsored by:   Dell Inc.
Differential Revision:  https://reviews.freebsd.org/D56949
DeltaFile
+1-1sys/kern/vfs_bio.c
+1-11 files

FreeBSD/src 3335527sys/kern vfs_subr.c

vnlru: avoid cache line contention

Reviewed by:    kib, olce
Sponsored by:   Dell Inc.
Differential Revision:  https://reviews.freebsd.org/D56951
DeltaFile
+21-14sys/kern/vfs_subr.c
+21-141 files

FreeBSD/src 2a56cedsys/kern vfs_bio.c

bq_insert: delay the BUF_UNLOCK if not bd_flush()ing

Reduce bufqueue lock contention by delaying the BUF_UNLOCK to after
dropping the bufqueue lock.  Still do the early BUF_UNLOCK if we
actually have to bd_flush.

Reviewed by:    kib, markj
Sponsored by:   Dell Inc.
Differential Revision:  https://reviews.freebsd.org/D56948
DeltaFile
+12-8sys/kern/vfs_bio.c
+12-81 files