LLVM/project a91c739clang/lib/Sema SemaLifetimeSafety.h, clang/test/Sema/LifetimeSafety safety.cpp nocfg.cpp

[Lifetime Safety] Name operator calls in alias-chain diagnostics (#221803)

This updates Lifetime Safety alias-chain diagnostics to identify
overloaded operator and conversion calls instead of describing them
generically as an `expression`.

Previously, these calls were reported as `expression aliases the storage
of ...`, which could make it unclear which operation introduced the
alias. The diagnostic now reports the callee using the existing
diagnostic name printer, producing descriptions such as:

- `result of call to 'operator->'`
- `result of call to 'operator()'`
- `result of call to 'operator basic_string_view'`

Template arguments are preserved for operator function-template
specializations. For example:

- `result of call to 'operator+<const int>'`

    [6 lines not shown]
DeltaFile
+18-16clang/test/Sema/LifetimeSafety/invalidations.cpp
+14-14clang/test/Sema/LifetimeSafety/safety.cpp
+14-14clang/test/Sema/LifetimeSafety/nocfg.cpp
+0-2clang/lib/Sema/SemaLifetimeSafety.h
+46-464 files

LLVM/project 0bbde34lld/ELF/Arch X86_64.cpp, lld/test/ELF x86-64-relax-jump-tables.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+93-0lld/test/ELF/x86-64-relax-jump-tables.s
+82-0llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hot.ll
+34-1lld/ELF/Arch/X86_64.cpp
+13-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+222-14 files

LLVM/project bd5cd52lld/ELF/Arch X86_64.cpp, lld/test/ELF x86-64-relax-jump-tables.s

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+93-0lld/test/ELF/x86-64-relax-jump-tables.s
+82-0llvm/test/Transforms/LowerTypeTests/cfi-jumptable-hot.ll
+24-1lld/ELF/Arch/X86_64.cpp
+13-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+212-14 files

LLVM/project 07049ceclang-tools-extra/docs/clang-tidy/checks/readability identifier-naming.rst identifier-naming.md, llvm/test/CodeGen/AArch64 vec-combine-compare-to-bitmask.ll overflow-vec.ll

relaxe

Created using spr 1.3.7
DeltaFile
+4,053-1,008llvm/test/CodeGen/AMDGPU/GlobalISel/fpow.ll
+4,402-470llvm/test/CodeGen/AMDGPU/fpow.ll
+3,860-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+2,547-955llvm/test/CodeGen/AArch64/overflow-vec.ll
+0-3,317clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+1,318-598llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+16,180-6,3481,558 files not shown
+62,978-27,3161,564 files

LLVM/project 8446802clang-tools-extra/docs/clang-tidy/checks/readability identifier-naming.rst identifier-naming.md, llvm/test/CodeGen/AArch64 vec-combine-compare-to-bitmask.ll overflow-vec.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+4,053-1,008llvm/test/CodeGen/AMDGPU/GlobalISel/fpow.ll
+4,402-470llvm/test/CodeGen/AMDGPU/fpow.ll
+3,860-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+2,547-955llvm/test/CodeGen/AArch64/overflow-vec.ll
+0-3,317clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+1,318-598llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+16,180-6,3481,556 files not shown
+62,870-27,2841,562 files

LLVM/project 22623ffclang-tools-extra/docs/clang-tidy/checks/readability identifier-naming.rst identifier-naming.md, llvm/test/CodeGen/AArch64 vec-combine-compare-to-bitmask.ll overflow-vec.ll

rebase

Created using spr 1.3.7
DeltaFile
+4,053-1,008llvm/test/CodeGen/AMDGPU/GlobalISel/fpow.ll
+4,402-470llvm/test/CodeGen/AMDGPU/fpow.ll
+3,860-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.md
+2,547-955llvm/test/CodeGen/AArch64/overflow-vec.ll
+0-3,317clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+1,318-598llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+16,180-6,3481,556 files not shown
+62,870-27,2841,562 files

LLVM/project b89710bllvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp, llvm/test/CodeGen/AArch64 usub_sat_vec.ll uadd_sat_vec.ll

[AArch64][GlobalISel] Lower vector overflow intrinsics (#222091)

As we have no native support for vector version of these intrinsics they
should be lowered.
DeltaFile
+2,547-955llvm/test/CodeGen/AArch64/overflow-vec.ll
+39-15llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
+36-16llvm/test/CodeGen/AArch64/usub_sat_vec.ll
+16-16llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
+2-1llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+2,640-1,0035 files

FreeBSD/ports 70a84ddmisc/py-instructor distinfo Makefile

misc/py-instructor: Update to 1.17.0

Changelog: https://github.com/567-labs/instructor/blob/v1.17.0/CHANGELOG.md

Reported by:    portscout
DeltaFile
+7-4misc/py-instructor/Makefile
+3-3misc/py-instructor/distinfo
+10-72 files

OpenBSD/ports zt9atcztextproc/ruby-nokogiri Makefile distinfo, textproc/ruby-nokogiri/patches patch-_metadata patch-lib_nokogiri_version_info_rb

   Update to nokogiri 1.19.4

   Drop source files from package.

   Regen patches.
VersionDeltaFile
1.24+0-161textproc/ruby-nokogiri/pkg/PLIST
1.2+2-2textproc/ruby-nokogiri/patches/patch-lib_nokogiri_version_info_rb
1.23+2-2textproc/ruby-nokogiri/distinfo
1.9+1-1textproc/ruby-nokogiri/patches/patch-_metadata
1.47+1-1textproc/ruby-nokogiri/Makefile
+6-1675 files

OpenBSD/ports TaT5g1tdatabases/ruby-amalgalite distinfo Makefile, databases/ruby-amalgalite/patches patch-ext_amalgalite_c_extconf_rb

   Update to amalgalite 2.0.0

   Drop dependency on arrayfields.

   Drop test code as gem no longer ships tests.

   Drop patch merged upstream.
VersionDeltaFile
1.10+5-62databases/ruby-amalgalite/pkg/PLIST
1.29+1-9databases/ruby-amalgalite/Makefile
1.12+2-2databases/ruby-amalgalite/distinfo
1.2+0-0databases/ruby-amalgalite/patches/patch-ext_amalgalite_c_extconf_rb
+8-734 files

OpenBSD/ports o0pLTvAdatabases/ruby-trilogy Makefile distinfo

   Update to trilogy 2.13.0
VersionDeltaFile
1.5+2-2databases/ruby-trilogy/distinfo
1.5+1-1databases/ruby-trilogy/Makefile
+3-32 files

OpenBSD/ports bjzEYDndatabases/ruby-tiny_tds Makefile distinfo, databases/ruby-tiny_tds/patches patch-_metadata

   Update to tiny_tds 3.4.0

   Drop patch merged upstream.
VersionDeltaFile
1.15+2-2databases/ruby-tiny_tds/distinfo
1.26+1-1databases/ruby-tiny_tds/Makefile
1.5+0-0databases/ruby-tiny_tds/patches/patch-_metadata
+3-33 files

OpenBSD/ports Eg6eS4Bdatabases/ruby-pg Makefile distinfo, databases/ruby-pg/pkg PLIST

   Update to pg 1.6.3
VersionDeltaFile
1.24+21-0databases/ruby-pg/pkg/PLIST
1.37+2-2databases/ruby-pg/distinfo
1.54+1-1databases/ruby-pg/Makefile
+24-33 files

LLVM/project 9e68cbdllvm/docs NVPTXUsage.md, llvm/include/llvm/IR IntrinsicsNVVM.td

[LLVM][NVPTX][MLIR] Support layouts in mbarrier.init and add mbarrier.check_layout (#217252)

This commit adds LLVM NVPTX and MLIR NVVM support for the mbarrier layout extensions:

- llvm.nvvm.mbarrier.init with trailing immarg `layout` operand, and nvvm.mbarrier.init a matching `layout` attribute (default to 0) Layout 0 is the default in-memory layout and is emitted as a plain mbarrier.init; layout 1 is emitted as mbarrier.init.layout::v1.
- llvm.nvvm.mbarrier.check_layout / nvvm.mbarrier.check_layout, lowering to mbarrier.check_layout.layout::v{0,1}.

Only the layout::v1 form of mbarrier.init and mbarrier.check_layout require PTX ISA 9.3 and sm_90

llvm.nvvm.mbarrier.init{.shared } are also merged into a pointer-overloaded llvm.nvvm.mbarrier.init with calls to either older forms auto-upgraded

Please refer [PTX ISA](https://docs.nvidia.com/cuda/developer-preview/13.4/parallel-thread-execution/index.html)
for more details

Assisted by: Claude Code (Opus 5)
DeltaFile
+79-0llvm/test/CodeGen/NVPTX/mbarrier_layout_sm90_ptx93.ll
+34-17llvm/include/llvm/IR/IntrinsicsNVVM.td
+46-3mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+34-12mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+37-5llvm/docs/NVPTXUsage.md
+40-0mlir/test/Dialect/LLVMIR/nvvm.mlir
+270-3717 files not shown
+506-5423 files

LLVM/project 5b699d5llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Rename the no-modifier operand predicate to *Target, NFC

Match the *Target naming used for the other alignment-aware operand
predicates.
DeltaFile
+48-48llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+48-481 files

LLVM/project 74f34b5llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[AMDGPU] Make custom AsmParser matchers alignment aware

Currently custom matchers accept registers belonging to unaligned classes,
leaving the alignment check and its diagnostic to validateVGPRAlign. The problem
is that validateVGPRAlign does not account for the operand register class, which
may have a different alignment requirement on mixed-alignment targets.

The fix is to make a custom matcher resolve the operand's _AlignTarget class via
HwMode and use that resolved class to accept a register. However, doing so alone
would reject a misaligned register with a generic "invalid operand for
instruction" diagnostic, so extra infrastructure conveys the alignment diagnostic
instead: on a class miss, diagnoseRegAlign re-checks the register against the same
class with alignment relaxed (getUnalignedEquivalentRC, new in AMDGPUBaseInfo);
if it fits, the only problem is alignment, so it records
OperandMatchError::VGPRAlignMismatch on the operand. matchAndEmitInstruction
selects that reason and prints the alignment error, now at the offending operand
column instead of column 1.

This commit converts the input-mods and DP-ALU DPP matchers. The no-modifier

    [4 lines not shown]
DeltaFile
+87-18llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+87-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+6-6llvm/test/MC/AMDGPU/gfx1250_asm_vopd_errs.s
+5-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+1-1llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
+186-255 files

LLVM/project 843b1cbllvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Rename the alignment-aware operand predicates to *Target, NFC

The predicates take a *_AlignTarget/_Target operand, so name them after
it. The HwMode resolution behind the operand's class is an implementation
detail that need not appear in the name.
DeltaFile
+14-14llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+14-141 files

LLVM/project f800b89llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU misaligned-vgpr-tuples-err.s

[AMDGPU] Route no-modifier reg-or-inline AsmParser operands through HwMode predicate

Convert the reg-or-inline operands with no modifiers (MFMA VGPR/AGPR
sources, VCSrc, v_pk_mov_b32, VOP scalar f64) from the fixed-class
isRegOrInlineNoMods to the HwMode-aware isRegOrInlineNoModsByHwMode, so an
odd-aligned tuple is rejected at the offending operand column instead of by
the validateVGPRAlign catch-all.

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+53-46llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+7-7llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
+60-532 files

LLVM/project 9c77340llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[AMDGPU] Drop the misaligned VGPR-tuple AsmParser diagnostic

The alignment-aware matchers already reject a misaligned tuple, so a
misaligned operand now fails as a plain invalid operand. Keeping the
dedicated "vgpr tuples must be 64 bit aligned" message only for that
case is not worth the extra match-error ranking, the per-operand
diagnostic, and getUnalignedEquivalentRC, so remove all of it.
DeltaFile
+0-87llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+13-57llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+3-3llvm/test/MC/AMDGPU/gfx1250_asm_vopd_errs.s
+0-5llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+1-1llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
+17-1535 files

LLVM/project ac36441llvm/test/MC/AMDGPU out-of-range-registers.s misaligned-vgpr-tuples-err.s

[AMDGPU] Update no-modifier operand tests for the dropped align diagnostic

The no-modifier reg-or-inline operands routed through the HwMode
predicate now report a misaligned tuple as a plain invalid operand,
matching the diagnostic dropped earlier in the stack.
DeltaFile
+7-7llvm/test/MC/AMDGPU/misaligned-vgpr-tuples-err.s
+1-1llvm/test/MC/AMDGPU/out-of-range-registers.s
+8-82 files

HardenedBSD/src 7303301contrib/file aclocal.m4 configure, contrib/file/magic/Magdir atari

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+419-140contrib/file/configure
+297-130contrib/file/aclocal.m4
+261-0sbin/fsck_msdosfs/tests/fsck_msdosfs_test.sh
+241-0sbin/fsck_msdosfs/tests/fsck_msdosfs_large_test.sh
+233-0contrib/file/magic/Magdir/atari
+214-0sbin/fsck_msdosfs/tests/fsck_msdosfs_boot_test.sh
+1,665-27091 files not shown
+3,662-95197 files

HardenedBSD/src 5e6a66ccontrib/file aclocal.m4 configure, contrib/file/magic/Magdir atari

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+419-140contrib/file/configure
+297-130contrib/file/aclocal.m4
+261-0sbin/fsck_msdosfs/tests/fsck_msdosfs_test.sh
+241-0sbin/fsck_msdosfs/tests/fsck_msdosfs_large_test.sh
+233-0contrib/file/magic/Magdir/atari
+214-0sbin/fsck_msdosfs/tests/fsck_msdosfs_boot_test.sh
+1,665-27091 files not shown
+3,662-95197 files

HardenedBSD/ports 5049411devel/py-joblib/files patch-joblib_externals_loky_backend_context.py patch-pyproject.toml, graphics/py-toyplot Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+23-0devel/py-joblib/files/patch-pyproject.toml
+15-6x11/swayimg/Makefile
+12-6www/lynx-current/Makefile
+0-17devel/py-joblib/files/patch-joblib_externals_loky_backend_context.py
+4-4graphics/py-toyplot/Makefile
+3-3x11/swayimg/distinfo
+57-3619 files not shown
+99-8425 files

LLVM/project 6fbfc92clang-tools-extra/clangd ParsedAST.cpp, clang-tools-extra/clangd/unittests ConfigCompileTests.cpp ConfigYAMLTests.cpp

[clangd] Enable query-based custom checks (#216336)

Enable query-based custom checks in clangd behind a new `Diagnostics.ClangTidy.ExperimentalCustomChecks` configuration option.

Custom checks are registered from the per-file clang-tidy options and remain subject to clangd's `FastCheckFilter` policy.

Fixes #206696

Assisted by GPT-5.6
DeltaFile
+43-0clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
+23-3clang-tools-extra/clangd/ParsedAST.cpp
+19-0clang-tools-extra/docs/clang-tidy/QueryBasedCustomChecks.rst
+15-0clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
+14-0clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
+5-0clang-tools-extra/docs/ReleaseNotes.md
+119-34 files not shown
+133-310 files

LLVM/project 3fd4d1fbolt/lib/Target/X86 X86MCPlusBuilder.cpp, bolt/test/X86 icp-pic.s

[BOLT][ICP] Use PC-relative instructions for x86 PIC binaries in ICP (#216587)

Currently, BOLT x86 ICP optimization inserts an immediate-to-register
comparison instruction, which forces the use of 32-bit signed (32S)
relocations due to ABI limitations. This behavior does not align well
with the conventions of PIC/PIE binaries and **makes it highly prone to
JITLink relocation overflow errors when dealing with large binaries.**

Therefore, this patch introduces an additional lea instruction for the
x86 architecture to leverage PC-relative (32PC) addressing. This change
is intended to apply by default to PIC binaries, or when specific
options are provided.
DeltaFile
+62-7bolt/lib/Target/X86/X86MCPlusBuilder.cpp
+44-0bolt/test/X86/icp-pic.s
+106-72 files

FreeBSD/ports 3055f7etextproc/tgrep Makefile distinfo

textproc/tgrep: Update to 1.0.5

Changelog: https://github.com/microsoft/tgrep/releases/tag/v1.0.5

Reported by:    GitHub (watch releases)
DeltaFile
+3-3textproc/tgrep/distinfo
+1-2textproc/tgrep/Makefile
+4-52 files

HardenedBSD/ports 3055f7etextproc/tgrep Makefile distinfo

textproc/tgrep: Update to 1.0.5

Changelog: https://github.com/microsoft/tgrep/releases/tag/v1.0.5

Reported by:    GitHub (watch releases)
DeltaFile
+3-3textproc/tgrep/distinfo
+1-2textproc/tgrep/Makefile
+4-52 files

FreeNAS/freenas 436926dsrc/middlewared/middlewared/pytest/unit/plugins test_interface.py

Mock VM and container queries in bridge validation unit tests

## Problem
The two bridge unit tests in `test_interface.py` fail with `KeyError: 'vm.query'`. BRIDGE validation now calls `nic_attach_users()` whenever `bridge_members` is set, which queries VMs and containers to find NICs attached directly to a member, but the mock middleware in those tests only stubs `interface.query`, `datastore.query` and `network.common.check_failover_disabled`.

## Solution
Stub `vm.query` and `container.query` with empty results in both tests, so validation reaches the member checks the tests actually assert on.
DeltaFile
+4-0src/middlewared/middlewared/pytest/unit/plugins/test_interface.py
+4-01 files

LLVM/project 17caaa3clang/docs ReleaseNotes.md, clang/lib/AST ItaniumMangle.cpp

Revert "[clang] Revert "Disable Unique Internal Linkage Names for internal global vars." (#219261)" (#222486)

This reverts commit 9abbc9183d2231c2e44198100a6cd22ef66e2eb8.

Will reland with a proper fix of the GNU AsmLabelAttr

Co-authored-by: Sharon Xu <sharonxu at fb.com>
DeltaFile
+9-18clang/test/CodeGen/unique-internal-linkage-names.cpp
+7-7clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.cpp
+7-5clang/lib/AST/ItaniumMangle.cpp
+4-7clang/lib/CodeGen/CodeGenModule.cpp
+0-8clang/docs/ReleaseNotes.md
+3-3clang/test/DebugInfo/Generic/unique-internal-linkage-names-dwarf.c
+30-486 files

FreeBSD/src f006f9esys/dev/acpica acpi_pci.c

acpi_pci: Honor device proximity for DMA tags

A PCI function with its own _PXM still inherits a DMA tag carrying
the upstream bridge's proximity domain. Resolving an SR-IOV VF's
locality through its PF therefore does not affect the domain used for
DMA allocations.

Create and cache a private child tag when the function, or a VF's
owning PF, has an explicit _PXM. Parent it to the existing PCI or IOMMU
tag so its constraints remain intact, then apply the function's domain
without mutating a shared tag.

pci_get_dma_tag() already performs the IOMMU lookup, so remove the
duplicated lookup in the ACPI subclass while here.

Reviewed by:    jhb
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59063

(cherry picked from commit f1f58bdf7b5fc58e6011c6ac2ae2ba129dc41991)
DeltaFile
+36-23sys/dev/acpica/acpi_pci.c
+36-231 files