LLVM/project 0b18869clang/include/clang/Basic Diagnostic.td DiagnosticSemaKinds.td, clang/lib/Basic DiagnosticIDs.cpp

[Clang] [Diagnostic] Extend DiagCompat() to C language modes (#209241)

This expands the compatibility warnings infrastructure added in #132348
to support C mode as well. Implementing this was actually fairly
straight-forward because we are only ever in C _or_ C++ mode, i.e.
during a single compilation we either emit only C compatibility warnings
or only C++ compatibility warnings. This means we can simply reuse the
existing code and just check for different LangOpts depending on whether
we're in C or C++ mode.

Concretely, this means that instead of e.g.

```
def ext_c2y_alignof_incomplete_array : Extension<
  "'alignof' on an incomplete array type is a C2y extension">,
  InGroup<C2y>;
def warn_c2y_compat_alignof_incomplete_array : Warning<
  "'alignof' on an incomplete array type is incompatible with C standards "
  "before C2y">, InGroup<CPre2yCompat>, DefaultIgnore;

    [24 lines not shown]
DeltaFile
+52-32clang/include/clang/Basic/Diagnostic.td
+14-47clang/include/clang/Basic/DiagnosticSemaKinds.td
+24-3clang/lib/Basic/DiagnosticIDs.cpp
+6-13clang/lib/Sema/SemaExpr.cpp
+4-7clang/lib/Sema/SemaStmt.cpp
+2-2clang/include/clang/Basic/DiagnosticIDs.h
+102-1044 files not shown
+107-11310 files

LLVM/project 9d09c77llvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Make VPBlockTy enum protected (NFC) (#209863)

VPBlockTy is an implementation detail, that is only needed in sub-types.
Make protected.
DeltaFile
+15-13llvm/lib/Transforms/Vectorize/VPlan.h
+15-131 files

LLVM/project c40401dllvm/lib/Object GOFFObjectFile.cpp

[Object][GOFF] Recognize RLD and LEN records (#207118)

This patch adds explicit cases for RT_RLD and RT_LEN records when
parsing GOFF objects. These record types are not handled yet, but
recognizing them allows us to diagnose them and avoids teating them as
unexpected records.
DeltaFile
+10-1llvm/lib/Object/GOFFObjectFile.cpp
+10-11 files

NetBSD/pkgsrc-wip d0d106bopencv-contrib-face Makefile PLIST, opencv-contrib-face/patches patch-modules_videoio_src_cap__v4l.cpp patch-.._opencv__contrib-5.0.0_modules_face_CMakeLists.txt

opencv-contrib-face: update to 5.0
DeltaFile
+102-0opencv-contrib-face/patches/patch-modules_videoio_src_cap__v4l.cpp
+96-0opencv-contrib-face/Makefile
+58-0opencv-contrib-face/PLIST
+29-0opencv-contrib-face/patches/patch-.._opencv__contrib-5.0.0_modules_face_CMakeLists.txt
+24-0opencv-contrib-face/patches/patch-modules_imgproc_src_resize.cpp
+18-0opencv-contrib-face/distinfo
+327-07 files not shown
+403-013 files

LLVM/project 38cecd6llvm/lib/Target/WebAssembly WebAssemblySetP2AlignOperands.cpp WebAssembly.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+23-7llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
+10-2llvm/lib/Target/WebAssembly/WebAssembly.h
+3-3llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+1-1llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+39-135 files

LLVM/project c9fde11llvm/test/CodeGen/AMDGPU hsa-generic-target-features.ll generic-targets-require-v6.ll

AMDGPU: Use subarch in tests using generic arches
DeltaFile
+21-21llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
+18-18llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
+1-1llvm/test/CodeGen/AMDGPU/convergent.mir
+40-403 files

LLVM/project e3b9aeellvm/test/CodeGen/AMDGPU pr155452.ll fmuladd.f32.ll, llvm/test/CodeGen/AMDGPU/GlobalISel flat-scratch-init.ll

AMDGPU: Convert tests to use subarch from triples in the file

This set was using target triple in the source rather than command
line arguments.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+51-55llvm/test/CodeGen/AMDGPU/pr155452.ll
+14-15llvm/test/CodeGen/AMDGPU/fmuladd.f32.ll
+2-5llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
+2-4llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll
+2-4llvm/test/CodeGen/AMDGPU/addrspacecast.ll
+2-3llvm/test/CodeGen/AMDGPU/debug-independence-adjustSchedDependency.ll
+73-8617 files not shown
+94-12423 files

LLVM/project 5476709llvm/test/tools/llvm-reduce/mir multiple-functions.mir drop-ir-references.mir

AMDGPU: Convert llvm-reduce tests to new subarch triples (62)
DeltaFile
+1-1llvm/test/tools/llvm-reduce/mir/multiple-functions.mir
+1-1llvm/test/tools/llvm-reduce/mir/drop-ir-references.mir
+1-1llvm/test/tools/llvm-reduce/mir/generic-vreg.mir
+1-1llvm/test/tools/llvm-reduce/mir/infer-triple.mir
+1-1llvm/test/tools/llvm-reduce/mir/input-file-does-not-exist.mir
+1-1llvm/test/tools/llvm-reduce/mir/instr-reduce-dead-def.mir
+6-619 files not shown
+25-2525 files

LLVM/project 28017dallvm/test/Analysis/KernelInfo/enable-kernel-info amdgpu.test, llvm/test/Analysis/KernelInfo/flat-addrspace amdgpu.test

AMDGPU: Migrate KernelInfo tests to new subarch triples (61)
DeltaFile
+6-6llvm/test/Analysis/KernelInfo/openmp/amdgpu.ll
+1-1llvm/test/Analysis/KernelInfo/enable-kernel-info/amdgpu.test
+1-1llvm/test/Analysis/KernelInfo/flat-addrspace/amdgpu.test
+1-1llvm/test/Analysis/KernelInfo/launch-bounds/amdgpu.ll
+1-1llvm/test/Analysis/KernelInfo/openmp/README.md
+10-105 files

LLVM/project 09c3921llvm/test/tools/llvm-split/AMDGPU recursive-search-2.ll recursive-search-8.ll

AMDGPU: Use amdgpu triples in llvm-split tests (60)

Update by regex
DeltaFile
+2-2llvm/test/tools/llvm-split/AMDGPU/recursive-search-2.ll
+2-2llvm/test/tools/llvm-split/AMDGPU/recursive-search-8.ll
+2-2llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect-callee-md.ll
+2-2llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging-weak_odr.ll
+2-2llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
+1-1llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
+11-1117 files not shown
+28-2823 files

LLVM/project 6131f98llvm/test/CodeGen/MIR/AMDGPU s_waitcnt-errors.mir s_wait_loadcnt_dscnt-errors.mir

AMDGPU: Migrate MIR parser tests to new subarch triples (59)

Mechanical migration by script.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+16-16llvm/test/CodeGen/MIR/AMDGPU/s_waitcnt-errors.mir
+12-12llvm/test/CodeGen/MIR/AMDGPU/s_wait_loadcnt_dscnt-errors.mir
+8-8llvm/test/CodeGen/MIR/AMDGPU/s_waitcnt_soft.mir
+8-8llvm/test/CodeGen/MIR/AMDGPU/s_waitcnt.mir
+6-6llvm/test/CodeGen/MIR/AMDGPU/s_wait_alu-errors.mir
+3-3llvm/test/CodeGen/MIR/AMDGPU/preload-kernarg-mfi.ll
+53-5328 files not shown
+86-8634 files

LLVM/project 709b725llvm/test/DebugInfo/AMDGPU pointer-address-space.ll variable-locations.ll

AMDGPU: Migrate DebugInfo tests to new subarch triples (58)

Mostly mechanical by script

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2-2llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll
+2-2llvm/test/DebugInfo/AMDGPU/variable-locations.ll
+2-2llvm/test/DebugInfo/AMDGPU/code-pointer-size.ll
+2-2llvm/test/DebugInfo/AMDGPU/dbg-value-sched-crash.ll
+2-2llvm/test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
+1-1llvm/test/DebugInfo/AMDGPU/bitcast-store-combine-debugloc.ll
+11-115 files not shown
+16-1611 files

LLVM/project d48f3callvm/test/CodeGen/AMDGPU promote-constOffset-to-imm.ll call-encoding.ll

AMDGPU: Migrate more tests to using subarch triple commands (57) (#209817)

Mostly mechanical updates with some light cleanups manually
applied.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+6-6llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
+5-5llvm/test/CodeGen/AMDGPU/call-encoding.ll
+4-4llvm/test/CodeGen/AMDGPU/vgpr-large-tuple-alloc-error.ll
+3-3llvm/test/CodeGen/AMDGPU/unpack-non-coissue-insts-post-ra-scheduler.mir
+2-2llvm/test/CodeGen/AMDGPU/amdgpu-mul24-knownbits.ll
+2-2llvm/test/CodeGen/AMDGPU/inline-calls.ll
+22-2219 files not shown
+41-4125 files

LLVM/project 90a2e50llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer/X86 avx512vl-intrinsics.ll avx512-intrinsics.ll

[msan] Handle AVX512 mask.compress (#209654)

mask.compress selects elements from the first two operands according to
the mask; thus, we can propagate the shadow by applying the intrinsic to
the input shadows (with the mask unchanged i.e., trailingVerbatimArgs ==
1), using the forceIntegerIntrinsic option that was added in
https://github.com/llvm/llvm-project/pull/207053
DeltaFile
+90-290llvm/test/Instrumentation/MemorySanitizer/X86/avx512vl-intrinsics.ll
+46-146llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics.ll
+44-144llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
+13-0llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+193-5804 files

LLVM/project 96a722allvm/test/CodeGen/AMDGPU amdgpu-attributor-min-agpr-alloc.ll attributor-flatscratchinit.ll

AMDGPU: Fold -mcpu into subarch triple for attributor tests (56) (#209816)
DeltaFile
+97-100llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll
+24-34llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit.ll
+19-24llvm/test/CodeGen/AMDGPU/propagate-amdgpu-cluster-dims.ll
+7-10llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
+8-8llvm/test/CodeGen/AMDGPU/amdgpu-attributor-nocallback-intrinsics.ll
+6-6llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior.ll
+161-1825 files not shown
+178-20111 files

LLVM/project 27836a1llvm/test/CodeGen/AMDGPU ran-out-of-registers-errors.ll machine-sink-temporal-divergence-swdev407790.ll, llvm/test/Transforms/LoopStrengthReduce/AMDGPU different-addrspace-addressing-mode-loops.ll

AMDGPU: Migrate uniform target-cpu attribute tests to subarch triple (55) (#209815)
DeltaFile
+9-10llvm/test/CodeGen/AMDGPU/ran-out-of-registers-errors.ll
+4-4llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
+3-3llvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir
+2-3llvm/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir
+2-2llvm/test/Transforms/LoopStrengthReduce/AMDGPU/different-addrspace-addressing-mode-loops.ll
+2-2llvm/test/CodeGen/AMDGPU/debug-value.ll
+22-245 files not shown
+32-3411 files

FreeBSD/ports 4cf5c2ddeskutils Makefile, deskutils/cfait distinfo Makefile.crates

deskutils/cfait: add new port

Cfait is a task manager / TODO list for people who want speed, efficiency, and
ownership of their data.

It connects to any standard CalDAV server (Radicale, Xandikos, Baikal,
Nextcloud, iCloud, etc.) so your tasks aren't locked inside a proprietary
walled garden.

You can use it comfortably from the command line (TUI) or on your desktop (GUI).

It's built "offline-first," so you can keep working without an internet
connection and Cfait will sync your changes the next time you go online.

PR:             295651
Submitted by:   stephan at lichtenauer.co.za
DeltaFile
+1,681-0deskutils/cfait/distinfo
+839-0deskutils/cfait/Makefile.crates
+38-0deskutils/cfait/Makefile
+11-0deskutils/cfait/pkg-descr
+5-0deskutils/cfait/pkg-plist
+1-0deskutils/Makefile
+2,575-06 files

LLVM/project f41f334llvm/test/Transforms/AtomicExpand/AMDGPU expand-atomic-f32-agent.ll expand-atomic-f32-system.ll

AMDGPU: Migrate tests with regenerated checks to amdgpu subarch triple (54) (#209780)

Fold the explicit -mcpu subtarget into the amdgpu subarch triple on
autogenerated tests where the folded triple changes output relative to
the previous default subtarget (e.g. cost-model BASE lines, scheduling).
CHECK lines were regenerated with the update_*_test_checks.py scripts.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+803-803llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
+284-284llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
+244-244llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
+202-202llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
+194-194llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i32-agent.ll
+149-141llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-flat-noalias-addrspace.ll
+1,876-1,86865 files not shown
+3,800-3,82171 files

FreeBSD/src 3abd3d3sys/netinet6 in6_pcb.c

inpcb: return ENOMEM if bind(2) fails to allocate lbgroup

This is exactly the same as the second part of IPv4's change
136c5e17b61a1/D49153.
DeltaFile
+6-4sys/netinet6/in6_pcb.c
+6-41 files

FreeBSD/src ca4eb3fsys/netinet6 in6_pcb.c

inpcb: do not set INP_ANONPORT until successful operation
DeltaFile
+2-2sys/netinet6/in6_pcb.c
+2-21 files

LLVM/project 1052612llvm/test/CodeGen/X86 fmaddsub-combine.ll fmsubadd-combine.ll

[X86] fmaddsub-combine.ll + fmsubadd-combine.ll - cleanup 512-bit buildvector tests (#209850)

Followup to #207436 - the full buildvector and partial buildvector tests
are covered by PhaseOrdering/X86/fmaddsub.ll which outputs the (still
poor) vectorized shuffle patterns

Ensure the current middle-end IR is tested by the backend, even though
its still not optimal (and divergent between SSE and AVX targets) - I've
kept the buildvector backend patterns for now (and moved the buildvector
fmsubadd patterns to fmsubadd-combine.ll for consistency).

Next step will be to investigate why the middle-end IR result isn't
optimal.

Minor cleanup for #144489
DeltaFile
+519-281llvm/test/CodeGen/X86/fmaddsub-combine.ll
+695-0llvm/test/CodeGen/X86/fmsubadd-combine.ll
+1,214-2812 files

OpenBSD/src DD4niJm. Makefile.cross, distrib/notes Makefile

   Unhook loongson from the build.

   The last compiler update unfortunately does not work on mips64el, with clang 22
   built with clang 19 being apparently functional, but clang 22 rebuilt with
   the previous clang 22 hitting deterministic SIGSEGV on various files.

   I don't have the time and energy to try and debug this (which is likely an
   endianness problem, as octeon appears to run happily with clang 22), especially
   when it takes 10 days for clang to rebuild itself on these machines; and
   switching back to gcc 4 won't help much as modern software in ports will
   require a working C++>=11 compiler to build anyway.

   ok visa@

                          ----------
                         /          \
                        /    REST    \
                       /      IN      \
                      /     PEACE      \

    [10 lines not shown]
VersionDeltaFile
1.113+2-5Makefile.cross
1.18+2-3usr.sbin/wsfontload/Makefile
1.52+2-2distrib/notes/Makefile
1.20+1-3distrib/special/installboot/Makefile
1.493+2-2etc/Makefile
1.7+2-2lib/libarch/mips64/Makefile
+11-1712 files not shown
+34-4218 files

LLVM/project 725f644clang/lib/Format UnwrappedLineParser.cpp, clang/unittests/Format TokenAnnotatorTest.cpp

[clang-format] Improve requires clause parsing (#207542)

We did not consider dependent templates and thus ended the parsing after
template and forcing a line break there. The tests was formatted as:

template <typename T> struct S {
  template <typename Foo>
    requires T::template
  Has<Foo> void func(Foo);
};
DeltaFile
+10-0clang/unittests/Format/TokenAnnotatorTest.cpp
+1-0clang/lib/Format/UnwrappedLineParser.cpp
+11-02 files

LLVM/project 26194d4llvm/docs LFI.rst, llvm/lib/Target/AArch64 AArch64InstrInfo.cpp

[LFI][AArch64] Add PAC support for LFI (#207915)

This patch adds support for PAC instructions that sign `x30` by deferring
the LFI mask until the next control-flow instruction or label, allowing
an authentication instruction to run before the mask, which overwrites
the PAC signature bits in the top bits of the pointer. This relies on
FEAT_FPAC to provide a security benefit, which requires authentication
failure to cause a trap, rather than expecting the branch on an invalid
pointer to cause the trap.
DeltaFile
+161-4llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.cpp
+98-2llvm/docs/LFI.rst
+53-0llvm/test/MC/AArch64/LFI/pac.s
+43-0llvm/test/MC/AArch64/LFI/return.s
+26-0llvm/test/MC/AArch64/LFI/mem-lr.s
+23-0llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+404-65 files not shown
+449-1111 files

LLVM/project 4e1a609clang/docs ReleaseNotes.md, clang/include/clang/Sema Sema.h

[Sema][Serialization] Emit unused local typedefs in a deterministic order (#209639)

Sema::UnusedLocalTypedefNameCandidates is populated while iterating a
Scope's
DeclsInScope, which is a SmallPtrSet whose iteration order depends on
pointer
values and is therefore not stable across runs. The candidates are
serialized
into the AST file -- both to assign declaration IDs and to write the
UNUSED_LOCAL_TYPEDEF_NAME_CANDIDATES record -- and are also used to emit
the
deferred -Wunused-local-typedef warnings, so neither the emitted PCH/AST
file
nor the diagnostics were reproducible. With deterministic compilation
caching
this surfaces as a "cache poisoned" error, because two builds of the
same PCH
produce different bytes.


    [4 lines not shown]
DeltaFile
+212-0clang/test/SemaCXX/warn-unused-local-typedef-deterministic-order.cpp
+115-0clang/test/PCH/unused-local-typedef-determinism.cpp
+16-1clang/lib/Sema/Sema.cpp
+10-4clang/lib/Serialization/ASTWriter.cpp
+6-1clang/include/clang/Sema/Sema.h
+4-0clang/docs/ReleaseNotes.md
+363-66 files not shown
+369-1212 files

LLVM/project b74c800compiler-rt/lib/tsan/rtl tsan_interface_atomic.cpp

[compiler-rt][tsan] Fix -Wunused-template in tsan_interface_atomic.cpp (NFC) (#209621)
DeltaFile
+9-6compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
+9-61 files

FreeBSD/doc f02503cwebsite/content/en/status/report-2026-04-2026-06 ipv6_improvements.adoc ntsync.adoc

Status/2026Q2: typo fixes
DeltaFile
+1-1website/content/en/status/report-2026-04-2026-06/ipv6_improvements.adoc
+1-1website/content/en/status/report-2026-04-2026-06/ntsync.adoc
+2-22 files

OpenBSD/src QVkds4Ysys/arch/m88k/include m8820x.h, sys/arch/m88k/m88k m8820x_machdep.c

   Do not make the size of the cmmu table public, and comment out some code at
   compile time if we are building on a simple CMMU configuration, such as on
   luna88k.

   Tested by and ok aoyoma@
VersionDeltaFile
1.68+34-2sys/arch/m88k/m88k/m8820x_machdep.c
1.13+2-7sys/arch/m88k/include/m8820x.h
+36-92 files

LLVM/project 0256ff9clang/test lit.cfg.py

[clang][test][AIX] Set OBJECT_MODE=any for all clang test (#209531)

This patch sets OBJECT_MODE=any to have tools able to handle 32-bit or
64-bit objects.
DeltaFile
+1-4clang/test/lit.cfg.py
+1-41 files

LLVM/project 2dac2abutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel][mlir] Port b8ba3c2b72cb53268129bbecfeb4ba7ec5b8d831 (#209854)

Add SCFToAffine target + deps
DeltaFile
+21-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+21-01 files