LLVM/project 5ce6d3alldb/packages/Python/lldbsuite/test gdbclientutils.py, lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

[lldb][Darwin] Don't mark threads as having hit bp if not (#222488)

When a multithreaded program stops exeuction with a mach exception on
more than one thread, if one of the threads is *at* a breakpoint site,
but hasn't *hit* the breakpoint yet, lldb was incorrectly stepping over
the breakpoint instruction when it resumed execution. This would result
in TestConcurrentManyBreakpoints reporting that a breakpoint hit on 100
threads was only hit 99 times, because one of the breakpoints was
silently stepped past without being counted.

The bug happened because on Darwin/debugserver systems the stop info
packet includes a `jstopinfo` which is a JSON dictionary of all threads
that have an exception. When `jstopinfo` is present, ProcessGDBRemote
was initializing any thread not included in `jstopinfo` as having an
empty StopInfo. It did this without checking if we are _at_ a breakpoint
site, and marking the thread as "Stopped at unexecuted breakpoint
instruction". Because the threads now had an empty StopInfo already, the
other places where we might check "if stopped at unexecuted breakpoint
instruction" were never executed.

    [10 lines not shown]
DeltaFile
+247-0lldb/test/API/functionalities/gdb_remote_client/TestBreakpointNotHit.py
+14-7lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+10-0lldb/packages/Python/lldbsuite/test/gdbclientutils.py
+3-2lldb/test/API/functionalities/gdb_remote_client/TestBatchedBreakpointStepOver.py
+3-0lldb/test/API/functionalities/gdb_remote_client/TestMSP430MSPDebug.py
+0-1lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py
+277-106 files

LLVM/project 54cabbelibcxx/include/__configuration compiler.h, libcxx/include/__memory unique_temporary_buffer.h allocator.h

Revert "[libc++] Remove __libcpp_allocate (#220981)"

This reverts commit 5b757b81db35e7611f0d5f242a2bd53f3894c084.
DeltaFile
+252-0libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
+78-0libcxx/include/__new/allocate.h
+12-23libcxx/include/__memory/allocator.h
+4-15libcxx/include/__memory/unique_temporary_buffer.h
+0-6libcxx/include/__configuration/compiler.h
+3-3libcxx/include/__utility/small_buffer.h
+349-4712 files not shown
+364-6318 files

HardenedBSD/ports 124e737devel/electron44/files/packagejsons yarn.lock, graphics/skia124 pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+11,242-0devel/electron44/files/packagejsons/yarn.lock
+9,228-1,832misc/llama-cpp/files/package-lock.json
+1,257-1,803www/firefox/files/patch-libwebrtc-generated
+1,616-0graphics/skia124/pkg-plist
+676-708science/PETSc/pkg-plist
+557-557net/rustconn/distinfo
+24,576-4,9002,060 files not shown
+76,546-6,6852,066 files

LLVM/project ce0642eutils/bazel/llvm-project-overlay/flang/unittests BUILD.bazel, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

Fixes MLIR dialect Bazel dependencies from commit 5d1b4094534c etc (#222812)

Added missing deps.

Fixes current bazel failures in @llvm-project//flang/unittests:all
DeltaFile
+18-2utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+13-0utils/bazel/llvm-project-overlay/flang/unittests/BUILD.bazel
+31-22 files

LLVM/project 9ac5a0fflang/lib/Optimizer/OpenACC/Transforms ACCMapInfoPrep.cpp, flang/test/Fir/OpenACC acc-fir-map-info-prep-attach.mlir

[flang][acc] Update descriptor attach rules to only pointer/allocatable (#222760)

When a clause maps only a descriptor's data, ACCMapInfoPrep should infer
an attach point and name the descriptor only for POINTER and
ALLOCATABLE, which OpenACC requires to be maintained on the device. See
flang/docs/OpenACC-descriptor-management.md.
DeltaFile
+158-0flang/test/Fir/OpenACC/acc-fir-map-info-prep-attach.mlir
+31-9flang/lib/Optimizer/OpenACC/Transforms/ACCMapInfoPrep.cpp
+189-92 files

LLVM/project 09f7ac8clang/test/CIR/CodeGenHIP amdgcnspirv-kernel.hip

fix: Check HIP SPIR-V version metadata after lowering
DeltaFile
+3-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+3-01 files

LLVM/project 7cb6357clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVMOpenCLMetadata.h LowerToLLVM.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Lower OpenCL language version metadata to LLVM dialect

Propagate CIR OpenCL language version module attributes as LLVM dialect named metadata before LLVM IR translation.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+43-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.cpp
+16-0clang/test/CIR/CodeGenOpenCL/version.cl
+16-0clang/test/CIR/Lowering/opencl-version-metadata.cir
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.h
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+79-05 files

LLVM/project 5df8389clang/include/clang/CIR/Dialect/IR CIROpenCLAttrs.td

fix: Document the companion OpenCL version requirement
DeltaFile
+7-1clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+7-11 files

LLVM/project 5a36c34clang/lib/CIR/CodeGen CIRGenModule.h CIRGenModule.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Emit OpenCL language version metadata in CIR

Emit OpenCL and C++ for OpenCL language version attributes from CIRGen. Preserve the compatible OpenCL version and the C++ for OpenCL version separately so later lowering does not infer one from the other.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+15-0clang/test/CIR/CodeGenOpenCL/version.cl
+13-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+4-0clang/test/CodeGenCUDASPIRV/kernel-cc.cu
+1-0clang/lib/CIR/CodeGen/CIRGenModule.h
+33-04 files

LLVM/project cce3c71clang/lib/CIR/Dialect/IR CIRDialect.cpp

fix: separate CIR attribute dispatch from OpenCL verification
DeltaFile
+20-8clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+20-81 files

LLVM/project df55187clang/include/clang/CIR/Dialect/IR CIRDialect.td CIROpenCLAttrs.td, clang/lib/CIR/Dialect/IR CIROpenCLAttrs.cpp CIRDialect.cpp

[CIR][OpenCL] Add OpenCL language version module attributes

Add structured CIR module attributes for OpenCL and C++ for OpenCL language versions. Verify their module-level placement and version components so lowering can consume explicit source-language version state.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+76-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+73-0clang/test/CIR/IR/invalid-version.cir
+28-0clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+19-0clang/test/CIR/IR/version.cir
+15-0clang/lib/CIR/Dialect/IR/CIROpenCLAttrs.cpp
+5-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+216-01 files not shown
+219-17 files

LLVM/project 63a6930clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CodeGen CodeGenModule.cpp

fix: Supply the HIP SPIR-V version only for metadata emission

Fix the assertion exposed by PR #214246 under the version invariant from PR #219687. Supply OpenCL 2.0 in classic CodeGen and CIRGen without changing HIP language options or enabling OpenCL-only Sema restrictions.

Assisted-by: Codex / GPT-6
DeltaFile
+8-0clang/test/CodeGenHIP/hipspv-kernel.cpp
+8-0clang/test/SemaHIP/atomic-init.hip
+4-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+2-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+25-35 files

LLVM/project 62f49c1clang/include/clang/CIR/Dialect/IR CIRDialect.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

fix: remove duplicate CIR operation attribute verifier

Related: e32ffd8b546f4a743812756efe11a7424cf9de5f
DeltaFile
+6-12clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+1-2clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+7-142 files

LLVM/project c027b3corc-rt/include/orc-rt-c/support Error.h

[orc-rt] Fix typo in file header. (#222636)
DeltaFile
+1-1orc-rt/include/orc-rt-c/support/Error.h
+1-11 files

LLVM/project 6959b7dmlir/include/mlir/IR OpDefinition.h

[mlir] Use pointers for static operation hooks to improve build time (NFC) (#222804)

Return raw function pointers from static operation-hook accessors to
avoid instantiating unique-function construction machinery for every
operation.

Across three controlled -j16 rebuilds of 44 registration TUs, median
instructions fell from 2.284T to 2.201T (-3.646%) and median wall time
fell from 41.04s to 38.80s (-5.458%).

Assisted-by: Codex
DeltaFile
+14-12mlir/include/mlir/IR/OpDefinition.h
+14-121 files

LLVM/project f9fb79fmlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp, mlir/test/Dialect/LLVMIR inlining-alias-scopes.mlir

[mlir][LLVM] Use a disjoint scope domain when inlining noalias

This matches recent changes to the LLVM inliner.

AI disclosure: Claude wrote the code, I wrote the commit message and
have done initial review.
DeltaFile
+28-25mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+10-18mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
+38-432 files

LLVM/project a06bf18mlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp

Update comment
DeltaFile
+2-2mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+2-21 files

LLVM/project d1705c8mlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp

Remove pointless comment
DeltaFile
+0-2mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+0-21 files

LLVM/project 7773adfmlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td, mlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp

[mlir][LLVM] Add disjointScopes to AliasScopeDomainAttr

This also updates the MLIR-side inliner to clone disjoint domains
while cloning alias scopes, matching changes to LLVM.

AI disclosure: Claude wrote the code, I wrote the commit message and
looked at the code.
DeltaFile
+25-0mlir/test/Target/LLVMIR/Import/metadata-alias-scopes.ll
+23-0mlir/test/Target/LLVMIR/attribute-alias-scopes.mlir
+17-2mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+4-2mlir/lib/Target/LLVMIR/ModuleImport.cpp
+4-1mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+2-2mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
+75-76 files

LLVM/project cf599b5llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-lds-struct-aa-memcpy.ll remove-no-kernel-id-attribute.ll

[AMDGPU] Use a disjoint scope domain for merged LDS structs

When lowering LDS values, all the values are mutually disjoint, so we
can use the newly-added disjoint scopes feature to simplify the IR.

AI disclosure: Claude wrote this and I reviewed it and wrote the
 commit message
DeltaFile
+16-51llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+35-10llvm/test/CodeGen/AMDGPU/lower-module-lds-precise-allocate-to-module-struct.ll
+15-18llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa.ll
+11-13llvm/test/CodeGen/AMDGPU/lower-module-lds-via-hybrid.ll
+8-12llvm/test/CodeGen/AMDGPU/remove-no-kernel-id-attribute.ll
+9-10llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
+94-1146 files not shown
+140-16012 files

LLVM/project fc6fbdbmlir/test/Dialect/LLVMIR inlining-alias-scopes.mlir

Test that the inliner keeps the flag when it clones a domain

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+35-0mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
+35-01 files

LLVM/project 31a6207llvm/lib/Target/AMDGPU AMDGPULowerKernelArguments.cpp, llvm/test/CodeGen/AMDGPU lower-kernargs.ll si-split-load-store-alias-info.ll

[AMDGPU] Use a disjoint scope domain for noalias kernel arguments

All noalias arguments of a kernel are disjoint with each other, so we
can use a disjoint scope to save on metadata construction.

AI disclosure: Claude wrote this, I looked at it and wrote this
message.
DeltaFile
+53-64llvm/test/CodeGen/AMDGPU/lower-noalias-kernargs.ll
+20-13llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
+11-11llvm/test/CodeGen/AMDGPU/lower-kernel-arguments-noalias-call-no-ptr-args.ll
+8-8llvm/test/CodeGen/AMDGPU/si-split-load-store-alias-info.ll
+4-4llvm/test/CodeGen/AMDGPU/lower-kernargs.ll
+96-1005 files

LLVM/project 519d8a0clang/test/CodeGen arm-v8.2a-neon-intrinsics-generic.c arm_neon_intrinsics.c, llvm/lib/Transforms/Utils InlineFunction.cpp

[Inliner] Use a disjoint scope domain for noalias arguments

InlineFunction creates alias.scope/noalias metadata to represent the
set of `noalias` arguments to a function. We don't need the `!noalias`
now that we have the ability to use disjoint scopes, saving us IR size
and metadata bloat.

TODO move these to a previous commit.
Also changes InstCombine to not drop the experimental.noalias.scope.decl
for disjoint scopes even if they're not mentioned in a `!noalias`, but
do still delete them if they're not used.
DeltaFile
+324-324clang/test/CodeGen/arm_neon_intrinsics.c
+72-72clang/test/CodeGen/arm-v8.2a-neon-intrinsics-generic.c
+35-30llvm/lib/Transforms/Utils/InlineFunction.cpp
+13-14llvm/test/Transforms/Inline/noalias-calls2.ll
+12-12llvm/test/Transforms/Inline/noalias2.ll
+11-11llvm/test/Transforms/PhaseOrdering/pr39282.ll
+467-4639 files not shown
+487-48315 files

LLVM/project d0aa90cllvm/docs LangRef.md

Update docs
DeltaFile
+7-10llvm/docs/LangRef.md
+7-101 files

LLVM/project 4dd673ellvm/test/Transforms/Inline noalias2.ll

Test a callee that has both noalias arguments and its own scopes

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+51-0llvm/test/Transforms/Inline/noalias2.ll
+51-01 files

LLVM/project 3fe30d2llvm/docs LangRef.md, llvm/include/llvm/Analysis ScopedNoAliasAA.h

Review feedback
DeltaFile
+14-14llvm/lib/Analysis/ScopedNoAliasAA.cpp
+12-5llvm/docs/LangRef.md
+2-1llvm/include/llvm/Analysis/ScopedNoAliasAA.h
+28-203 files

LLVM/project 5dae7caclang/test/CodeGen arm_neon_intrinsics.c arm-v8.2a-neon-intrinsics-generic.c, llvm/lib/Bitcode/Reader MetadataLoader.cpp

[IR] Add alias scope domains with disjoint scopes

See RFC at
https://discourse.llvm.org/t/rfc-disjoint-scope-alias-scope-noalias-domains/91537

This commit adds support for declaring an alias scope domain disjoint.
Disjoint domains are ones where each scope is implicitly `!noalias`
with each other scope in the domain. This is represented by adding an
`i1` into the scope's domain as the second argument, with `i1 true`
representing disjoint scopes and `i1 false` representing the old
non-disjoint behavior. AutoUpgrade mechanisms have been added to add
in the missing `i1 false` to existing metadata.

This commit updates alias analysis to know about disjoint scopes and
updates the function cloner to also clone the alias domain if it's
disjoint (since, as a herd of LLMs discovered, you don't want the old
IR to be noalias with a clone of itself).

Commits to migrate passes to use disjoint scopes where that's an

    [4 lines not shown]
DeltaFile
+72-72clang/test/CodeGen/arm-v8.2a-neon-intrinsics-generic.c
+54-54clang/test/CodeGen/arm_neon_intrinsics.c
+97-0llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+95-0llvm/test/Transforms/InstCombine/noalias-scope-decl-disjoint-domain.ll
+42-42llvm/test/Transforms/LoopUnroll/peel-loop-noalias-scope-decl.ll
+39-35llvm/test/CodeGen/MIR/AMDGPU/machine-metadata.mir
+399-203189 files not shown
+1,342-718195 files

LLVM/project 01f5aa5llvm/docs LangRef.md

Add a warning about string names on disjoint
DeltaFile
+4-0llvm/docs/LangRef.md
+4-01 files

OpenBSD/ports 6sA9Ef2www/qobuz-dl Makefile distinfo

   www/qobuz-dl: update to 2.3.9
VersionDeltaFile
1.7+2-2www/qobuz-dl/distinfo
1.9+1-1www/qobuz-dl/Makefile
+3-32 files

LLVM/project 1d67db7flang/test/Lower/OpenMP target_cpu_features.f90

Update features test for flang
DeltaFile
+1-1flang/test/Lower/OpenMP/target_cpu_features.f90
+1-11 files