LLVM/project ba2f460clang/test/CodeGenCUDA fp-contract.cu amdgpu-atomic-ops.cu

clang/AMDGPU: Migrate cc1 tests to subarch triples (2)

Rewrite CodeGenCUDA cc1 test RUN lines from `-triple amdgcn... -target-cpu
gfxNNN` to the new subarch triple form, dropping the redundant -target-cpu.
Autogenerated CHECK lines are regenerated. Tests that intentionally assert
the "target-cpu" function attribute are left unchanged.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+40-40clang/test/CodeGenCUDA/fp-contract.cu
+8-8clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
+6-6clang/test/CodeGenCUDA/host-used-extern.cu
+4-4clang/test/CodeGenCUDA/implicit-host-device-fun.cu
+4-4clang/test/CodeGenCUDA/unused-global-var.cu
+4-4clang/test/CodeGenCUDA/correctly-rounded-div.cu
+66-6611 files not shown
+83-8317 files

LLVM/project e53fc59clang/test/AST ast-print-amdgcn-predicate.c, clang/test/CodeGen amdgpu-builtin-is-invocable.c amdgpu-builtin-processor-is.c

clang/AMDGPU: Migrate cc1 tests to subarch triples (1)

Mechanically rewrite cc1 test RUN lines from the old
`-triple amdgcn... -target-cpu gfxNNN` form to the new subarch triple
form (e.g. `-triple amdgpu9.00-amd-amdhsa`), dropping the now-redundant
-target-cpu. The subarch encodes the exact target, so the emitted IR no
longer carries a "target-cpu" function attribute; autogenerated CHECK
lines are regenerated accordingly.

This batch covers the small CodeGen, Frontend, Layout, and Preprocessor
test directories.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+12-12clang/test/AST/ast-print-amdgcn-predicate.c
+7-7clang/test/CodeGen/AMDGPU/full-bf16.c
+4-4clang/test/CodeGen/amdgpu-builtin-is-invocable.c
+4-4clang/test/CodeGen/amdgpu-builtin-processor-is.c
+2-2clang/test/Layout/ms-x86-declspec-empty_bases.cpp
+2-2clang/test/CodeGen/AMDGPU/amdgpu-atomic-float.c
+31-3110 files not shown
+42-4216 files

LLVM/project 1af952fcross-project-tests/amdgpu builtins-amdgcn-gfx12-wmma-w32.cl builtins-amdgcn-gfx12-wmma-w64.cl

cross-project-tests: Migrate amdgpu tests to use subarch triples
DeltaFile
+1-1cross-project-tests/amdgpu/builtins-amdgcn-gfx12-wmma-w32.cl
+1-1cross-project-tests/amdgpu/builtins-amdgcn-gfx12-wmma-w64.cl
+1-1cross-project-tests/amdgpu/builtins-amdgcn-swmmac-w32.cl
+1-1cross-project-tests/amdgpu/builtins-amdgcn-swmmac-w64.cl
+1-1cross-project-tests/amdgpu/builtins-amdgcn-wmma-w32.cl
+1-1cross-project-tests/amdgpu/builtins-amdgcn-wmma-w64.cl
+6-66 files

LLVM/project 1f89652llvm/test/Transforms/ConstraintElimination induction-condition-in-loop-exit-latch-counted.ll sadd-with-overflow.ll

[ConstraintElim] Precommit additional tests (NFC). (#211802)

Tests include
  * shl nuw tests with known bounds.
  * sadd.with.overflow.
  * decompose failures due to precondiitons
  * using info from latch condition
DeltaFile
+190-4llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit-latch-counted.ll
+105-0llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+86-0llvm/test/Transforms/ConstraintElimination/shl.ll
+46-0llvm/test/Transforms/ConstraintElimination/retry-without-decomposition.ll
+427-44 files

Illumos/gate a28751fusr/src/uts/common/rpc/sec svcauthdes.c, usr/src/uts/common/rpc/sec_gss rpcsec_gss.c

18278 rpc: pointers need more deadbeef
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+2-2usr/src/uts/common/rpc/sec/svcauthdes.c
+1-1usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
+3-32 files

LLVM/project 9ee615bllvm/lib/Target/AMDGPU AMDGPULowerKernelAttributes.cpp, llvm/test/CodeGen/AMDGPU implicit-arg-v5-opt.ll

[AMDGPU] Fix incorrect grid_dims constant folding for reqd_work_group_size (#211285)

reqd_work_group_size(X, Y, 1) does not guarantee the dispatch runs with
work_dim == 2, since the spec still allows enqueuing with work_dim == 3
and a unit-size Z dimension. Only fold hidden_grid_dims to a constant
when Z != 1 (work_dim must be 3)

Otherwise tighten the range instead of assuming an exact value

Alterative approach to https://github.com/llvm/llvm-project/pull/205866
without killing constant folding
DeltaFile
+15-5llvm/test/CodeGen/AMDGPU/implicit-arg-v5-opt.ll
+10-8llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
+25-132 files

LLVM/project dc21971offload/plugins-nextgen/level_zero/src L0Program.cpp

[OFFLOAD][L0] Properly consume errors in program validation (#211799)

Some of the program unittests were failing because errors weren't
consumed properly.
DeltaFile
+7-3offload/plugins-nextgen/level_zero/src/L0Program.cpp
+7-31 files

LLVM/project 1597ca6.github/workflows libcxx-benchmark-commit.yml libcxx-pr-benchmark.yml

[libc++] Fix Python selection in the macOS benchmark jobs (#211812)

The macOS benchmark jobs install python 3.14 via Homebrew but added the
wrong prefix (<prefix>/libexec/bin) instead of <prefix>/bin to the PATH.
DeltaFile
+1-1.github/workflows/libcxx-benchmark-commit.yml
+1-1.github/workflows/libcxx-pr-benchmark.yml
+2-22 files

LLVM/project b2307cdlldb/test/API/commands/frame/recognizer TestFrameRecognizer.py

[lldb][test] Skip frame-recognizer argument tests on WebAssembly (#211807)

The recognizer reads arguments through $arg1/$arg2, which resolve via
argument registers. WebAssembly has no argument registers and no ABI
plugin, and these tests build without debug info, so there is no
location to read the arguments from and they come back as zero.
DeltaFile
+1-0lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
+1-01 files

LLVM/project 8c9c62dlldb/source/Target StackFrameRecognizer.cpp

[lldb] Skip the WebAssembly function header for frame recognizers (#211806)

A frame recognizer restricted to the first instruction matches when the
frame's PC equals the function's start address. On WebAssembly a
function begins with a non-executable local variable header, so the
symbol's start address is never a value the PC can take and such
recognizers never matched.

Route the start address through Architecture::SkipFunctionHeader, which
already maps a function start past this header for breakpoints and
disassembly, so the comparison uses the first executable instruction.
DeltaFile
+9-0lldb/source/Target/StackFrameRecognizer.cpp
+9-01 files

LLVM/project a2d74bfflang/lib/Lower/OpenMP OpenMP.cpp, flang/lib/Semantics check-omp-structure.cpp

[flang][OpenMP] Implement the error directive (#206175)

## [flang][OpenMP] Implement the `error` directive

### Summary

Implements the OpenMP `error` directive (OpenMP 5.1, 2.5.4) in Flang.
The directive prints a message and, with `severity(fatal)`, stops.
Handling depends on the `at` clause:

- **`at(compilation)`** (the default): handled in semantics. Emits a
compile-time warning or error and produces no IR.
- **`at(execution)`**: lowered to a new `omp.error` op, which becomes a
call to `__kmpc_error`.

Before this patch the directive was unimplemented and hit a `not yet
implemented: OmpErrorDirective` error during lowering.

Fixes #204240.

    [55 lines not shown]
DeltaFile
+95-4flang/lib/Lower/OpenMP/OpenMP.cpp
+47-0flang/test/Lower/OpenMP/error.f90
+43-0flang/test/Semantics/OpenMP/error.f90
+42-0flang/lib/Semantics/check-omp-structure.cpp
+23-13flang/test/Parser/OpenMP/error-unparse.f90
+31-0mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+281-1712 files not shown
+449-2418 files

LLVM/project 6636eb9llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 dpbusd.ll vec_extract-avx.ll

[X86] Truncate (v4i32 (vzext_movl (v2i64 bitcast (scalar_to_vector (i64 X))))) (#211798)

Noticed while triaging #211619 - truncate the i64 to i32 directly to avoid extra shuffles
DeltaFile
+14-35llvm/test/CodeGen/X86/dpbusd.ll
+14-0llvm/lib/Target/X86/X86ISelLowering.cpp
+1-3llvm/test/CodeGen/X86/vec_extract-avx.ll
+29-383 files

LLVM/project cd5fa0bllvm/include/llvm/IR PassManagerInternal.h PassManager.h

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+47-57llvm/include/llvm/IR/PassManagerInternal.h
+1-1llvm/include/llvm/IR/PassManager.h
+48-582 files

LLVM/project 3406bcallvm/include/llvm/ADT StringTable.h, llvm/lib/Analysis TargetLibraryInfo.cpp

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+2-2llvm/lib/MC/MCSubtargetInfo.cpp
+1-2llvm/lib/Passes/PassBuilder.cpp
+2-1llvm/include/llvm/ADT/StringTable.h
+1-1llvm/lib/Analysis/TargetLibraryInfo.cpp
+6-64 files

LLVM/project d610744lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCRuntimeV2.cpp

[lldb] Speedup AppleObjCRuntimeV2 UpdateIfNeeded (#211774)

This converts a loop calling Process::ReadMemory into a single call to
Process::ReadMemoryRanges.
DeltaFile
+24-10lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+24-101 files

LLVM/project 85dd83eclang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Loans.cpp, clang/test/Sema/LifetimeSafety invalidations.cpp

[LifetimeSafety] Support container interior paths and invalidations

This patch completes the implementation of path-sensitive lifetime tracking by supporting container interior paths (`.*`) and deep-nested invalidation.

- Enables `PathElement::getInterior` generation in `FactsGenerator` for GSL Owners and Views (e.g. member functions, function parameters, lambda captures).
- Removes bypass checks in `FactsGenerator::handleInvalidatingCall` to track container invalidation on fields.
- Updates `Checker` to use strict prefix comparison (`isStrictPrefixOf`) for container invalidations, ensuring invalidation of container contents (interior) correctly invalidates iterators but not other sibling fields.
- Reorganizes tests in `invalidations.cpp` by resolving duplicates and distributing them logically.
- Updates unit tests and sema tests with correct expectations for interior paths.

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+243-64clang/test/Sema/LifetimeSafety/invalidations.cpp
+228-67clang/unittests/Analysis/LifetimeSafetyTest.cpp
+30-10clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+9-4clang/test/Sema/LifetimeSafety/Inputs/lifetime-analysis.h
+12-0clang/lib/Analysis/LifetimeSafety/Loans.cpp
+9-2clang/lib/Analysis/LifetimeSafety/Checker.cpp
+531-1476 files

LLVM/project d1f2fc5llvm/lib/AsmParser Parser.cpp, llvm/tools/verify-uselistorder verify-uselistorder.cpp

[SystemZ][z/OS] Add the OF_Text flag to read .ll files and parse assembly files (#211782)

This patch allows us to parse .ll files in verify-uselistorder correctly
and fixes failures in any testcase that uses this tool.
DeltaFile
+7-5llvm/tools/verify-uselistorder/verify-uselistorder.cpp
+1-1llvm/lib/AsmParser/Parser.cpp
+8-62 files

LLVM/project b516333clang/include/clang/Analysis/Analyses/LifetimeSafety Loans.h Facts.h, clang/lib/Analysis/LifetimeSafety LoanPropagation.cpp Facts.cpp

[LifetimeSafety] Support field-sensitivity in lifetime tracking

This patch enables field-sensitivity when tracking lifetimes of nested objects.

- FactsGenerator now generates `PathElement::getField` for `MemberExpr` accesses, mapping fields to loans.
- LoanPropagation now propagates field paths along flow facts, appending fields to base loans.
- Removes false-positive warnings in `invalidations.cpp` where modifications to one field were incorrectly reported as invalidating iterators/pointers to another field.
- Adds comprehensive unit tests checking nested field access and placeholder fields.

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+106-36clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+72-30clang/unittests/Analysis/LifetimeSafetyTest.cpp
+82-10clang/test/Sema/LifetimeSafety/invalidations.cpp
+29-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+15-11clang/lib/Analysis/LifetimeSafety/Facts.cpp
+24-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+328-874 files not shown
+362-9510 files

FreeNAS/freenas 03bf472src/middlewared/middlewared/api/v27_0_0 vm.py

ruff
DeltaFile
+2-1src/middlewared/middlewared/api/v27_0_0/vm.py
+2-11 files

LLVM/project 46931a7clang/lib/Analysis/LifetimeSafety Checker.cpp MovedLoans.cpp

[LifetimeSafety][NFC] Update Checker to use prefix comparison interfaces

This patch switches the Checker's expiry and invalidation checks to use `AccessPath::isPrefixOf` instead of equality (`==`).

Since all generated access paths are currently empty, `isPrefixOf` is behaviorally identical to `==` (NFC). This prepares the checker to handle nested paths (fields and container interiors) in subsequent commits.

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+3-3clang/lib/Analysis/LifetimeSafety/Checker.cpp
+1-1clang/lib/Analysis/LifetimeSafety/MovedLoans.cpp
+4-42 files

LLVM/project 950fb4cclang/include/clang/Analysis/Analyses/LifetimeSafety Loans.h, clang/lib/Analysis/LifetimeSafety Loans.cpp Checker.cpp

[LifetimeSafety][NFC] Refactor AccessPath and Loan representations

This patch refactors the internal representations of `AccessPath` and `Loan` to support path elements, preparing for field-sensitive and interior-sensitive lifetime tracking.

- Introduces `PathElement` representing a field or interior dereference.
- Refactors `AccessPath` to contain a base and a list of `PathElement`s.
- Updates `Loan` and `LoanManager` to use the new `AccessPath` structure.
- Refactors debug dump formatting to output path elements if present.
- Updates Checker and FactsGenerator to compile with the new interfaces, keeping logic behaviorally identical (NFC).

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+152-67clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+45-21clang/lib/Analysis/LifetimeSafety/Loans.cpp
+17-10clang/lib/Analysis/LifetimeSafety/Checker.cpp
+2-5clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+216-1034 files

LLVM/project ee7ea10llvm/lib/CodeGen PHIElimination.cpp, llvm/test/DebugInfo/MIR/InstrRef undef-phi-through-regalloc.mir

[CodeGen] PHIEliminationImpl::LowerPHINode: Fix assertion failure when all phi operands are undefined (#209013)

IncomingReg is only set to a register when allPhiOperandsUndefined does
not hold. Changes PHIEliminationImpl::LowerPHINode to check IncomingReg
before using it for debug phi.

Fixes #206324

Assisted-by: Codex
DeltaFile
+40-0llvm/test/DebugInfo/MIR/InstrRef/undef-phi-through-regalloc.mir
+1-1llvm/lib/CodeGen/PHIElimination.cpp
+41-12 files

FreeNAS/freenas 0839010src/middlewared/middlewared/api/v27_0_0 vm.py, src/middlewared/middlewared/plugins/vm __init__.py lifecycle.py

Add vm.reset
DeltaFile
+19-0src/middlewared/middlewared/plugins/vm/__init__.py
+10-2src/middlewared/middlewared/api/v27_0_0/vm.py
+7-0src/middlewared/middlewared/plugins/vm/lifecycle.py
+36-23 files

LLVM/project eeeaad9llvm/docs LangRef.md, llvm/include/llvm/IR FixedMetadataKinds.def

Add !metadata_section_kind global variable metadata (#211524)

Similar to !exclude in that this attempts to guide section + flag
choices in a generic/abstract way.

`!exclude` tells LLVM to use the generic `SectionKind::Exclude` for the
globals. Likewise, `!metadata_section_kind` tells LLVM to use
`SectionKind::Metadata`.

The added docs go into a little more detail.

This is needed for the dynamic debugging feature, otherwise there's no
way to avoid `SHF_EXCLUDE` or `SHF_ALLOC` flags being added to the
section without special handling based on its name. We've moved to using
a new section type for dynamic debugging and we don't want to rely on
the name, which may be omitted.
DeltaFile
+21-0llvm/docs/LangRef.md
+13-0llvm/test/CodeGen/X86/metadata_section_kind.ll
+7-2llvm/lib/Target/TargetLoweringObjectFile.cpp
+1-1llvm/include/llvm/IR/FixedMetadataKinds.def
+42-34 files

NetBSD/pkgsrc 9lng9pIdoc CHANGES-2026

   Updated databases/p5-DBIx-Class-EncodedColumn to 0.11
VersionDeltaFile
1.4746+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 6aVI19tdatabases/p5-DBIx-Class-EncodedColumn distinfo Makefile

   Update to 0.11

   Upstream changes:
   0.11 2025-03-26
           - Use secure random source for salts
VersionDeltaFile
1.12+4-4databases/p5-DBIx-Class-EncodedColumn/distinfo
1.31+4-3databases/p5-DBIx-Class-EncodedColumn/Makefile
+8-72 files

LLVM/project 3cf4447llvm/lib/Analysis ConstantFolding.cpp, llvm/test/Transforms/InstSimplify fold-intrinsics.ll

[ConstantFolding]Fold llvm.powi via square-and-multiply (#210771)

Compute constant-folded powi using APFloat multiplies in the operand's
own semantics (square-and-multiply), matching the expansion
ExpandPowI generates in SelectionDAGBuilder, instead of routing
through std::pow via double/float conversion.
DeltaFile
+16-15llvm/lib/Analysis/ConstantFolding.cpp
+8-0llvm/test/Transforms/InstSimplify/fold-intrinsics.ll
+24-152 files

NetBSD/pkgsrc gME3KrXdoc CHANGES-2026

   Added security/p5-Crypt-URandom-Token version 0.005
VersionDeltaFile
1.4745+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc DuFSwzRsecurity Makefile

   Add p5-Crypt-URandom-Token
VersionDeltaFile
1.1020+2-1security/Makefile
+2-11 files

NetBSD/pkgsrc xPz3xs6security/p5-Crypt-URandom-Token Makefile DESCR

   Import Crypt::URandom::Token-0.005 as p5-Crypt-URandom-Token.

   This module provides a secure way to generate a random token for passwords
   and similar using Crypt::URandom as the source of random bits.

   By default, it generates a 44 character alphanumeric token with more than
   256 bits of entropy. A custom alphabet with between 2 and 256 elements can
   be provided.

   Modulo reduction and rejection sampling is used to prevent modulus bias. Keep
   in mind that bias will be introduced if duplicate elements are provided in
   the alphabet.
VersionDeltaFile
1.1+20-0security/p5-Crypt-URandom-Token/Makefile
1.1+10-0security/p5-Crypt-URandom-Token/DESCR
1.1+5-0security/p5-Crypt-URandom-Token/distinfo
+35-03 files