LLVM/project a07fb84clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp

fix clang-format
DeltaFile
+6-5clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+6-51 files

FreeBSD/ports c580eb0databases/cassandra3 Makefile

databases/cassandra3: deprecate

no longer maintained upstream

PR:     294688
DeltaFile
+4-1databases/cassandra3/Makefile
+4-11 files

LLVM/project 5b754b6llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge remote-tracking branch 'origin/users/ziqingluo/PR-172429193-3' into users/ziqingluo/PR-174874942-1

 Conflicts:
        clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeLists.txt
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-03,178 files not shown
+976,528-61,1043,184 files

LLVM/project da7ee36clang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp SemaTemplateDeductionGuide.cpp

Revert "[clang] fix matching constrained out-of-line definitions of class specialization member function templates" (#193558)

Reverts llvm/llvm-project#192806 , which is causing the compiler to
reject some valid code.
DeltaFile
+50-48clang/lib/Sema/SemaTemplateInstantiate.cpp
+2-76clang/test/SemaTemplate/concepts-out-of-line-def.cpp
+45-6clang/lib/Sema/SemaTemplateDeductionGuide.cpp
+0-1clang/docs/ReleaseNotes.rst
+97-1314 files

LLVM/project 8f2935cclang/bindings/python/tests/cindex test_version.py

Loosen check for clang version string in test to work when setting CLANG_VENDOR. (#192961)

We are trying to update our buildbot to use the `-DCLANG_VENDOR` and
`-DCLANG_VENDOR_UTI` options, but need to fix some tests first. This is
one of them.

---------

Co-authored-by: Jannick Kremer <jannick.kremer at mailbox.org>
Co-authored-by: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
DeltaFile
+1-1clang/bindings/python/tests/cindex/test_version.py
+1-11 files

LLVM/project 8433d92llvm/lib/IR Verifier.cpp, llvm/test/Assembler fpmath.ll

IR: Allow !fpmath metadata on homogeneous float structs

This matches the logic for fast math flags / nofpclass, and allows
marking llvm.sincos calls with !fpmath.
DeltaFile
+19-0llvm/test/Assembler/fpmath.ll
+1-1llvm/lib/IR/Verifier.cpp
+20-12 files

LLVM/project 38874e1llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel ssubsat.ll subo.ll

[GlobalISel] Change SSUBO to do (LHS < RHS) XOR (RESULT < 0) (#191744)

Refactor lowerSADDO_SSUBO in LegalizerHelper so addition and subtraction
use separate, clearly named paths.

SADDO: unchanged meaning: overflow when (result < LHS) disagrees with
(RHS < 0) (signed compares).

SSUBO: use the equivalent formulation: overflow when (LHS < RHS)
disagrees with (result < 0) instead of (result < LHS) vs (RHS > 0).
DeltaFile
+785-891llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
+156-156llvm/test/CodeGen/AMDGPU/GlobalISel/subo.ll
+76-76llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
+27-27llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubsat.mir
+18-12llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+10-10llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv32.mir
+1,072-1,1724 files not shown
+1,094-1,19410 files

LLVM/project 9e64907libc/test CMakeLists.txt, libc/test/include CMakeLists.txt

[libc] Replace check-libc with lit-based test execution (#184163)

Now that check-libc-lit has been validated alongside check-libc, make
lit the default test runner by renaming check-libc-lit to check-libc.
Remove the old CMake-driven check-libc custom target.
DeltaFile
+7-10libc/test/CMakeLists.txt
+1-2libc/test/integration/CMakeLists.txt
+1-2libc/test/include/CMakeLists.txt
+1-1libc/utils/libctest/format.py
+10-154 files

LLVM/project 6e4fb52llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/AArch64 partial-reduce-dot-product.ll partial-reduce-sub.ll

[VPlan] Use MaxRuntimeStep in materializeVectorTC to simplify middle br. (#193067)

For scalable vectors, pass the maximum runtime step to
materializeVectorTripCount. Use it to simplify the vector trip count to
the original trip count directly, if MaxRuntimeSteps divides the
original trip count without remainder.

In those cases, all lower power-of-2 vscales will divide the rip count
without remainder.

PR: https://github.com/llvm/llvm-project/pull/193067
DeltaFile
+32-56llvm/test/Transforms/LoopVectorize/RISCV/fminimumnum.ll
+23-50llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
+8-17llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-sub.ll
+8-15llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect.ll
+8-12llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll
+14-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+93-1559 files not shown
+129-20815 files

LLVM/project 4f1be83compiler-rt/cmake config-ix.cmake, compiler-rt/cmake/Modules CompilerRTDarwinUtils.cmake

[compiler-rt] [Darwin] Enable arm64e tests on macOS (#193391)

This enables compiler-rt tests on Darwin arm64e (when supported by the
linker).

Note that arm64e is not enabled for sanitizers yet, but this does add
test coverage for builtins.

rdar://175303507
DeltaFile
+17-18compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+4-0compiler-rt/cmake/config-ix.cmake
+21-182 files

LLVM/project 4408722llvm/lib/CodeGen MachineBlockHashInfo.cpp

[NFC][MachineBlockHashInfo] Add static asserts to guard agains hash_16_bytes changes (#192862)

`hashing::detail::hash_16_bytes` is not guaranteed to be stable across
different versions of LLVM, it can change any time.

We put asserts here, so if it changed, author don't forget to work
around them here.
DeltaFile
+7-2llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+7-21 files

LLVM/project 91fe498llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/DebugInfo/X86 sdag-load-sext-trunc.ll sdag-load-sext.ll

Revert "[SelectionDAG] Salvage debuginfo when combining load and z|s ext instrs. (#188544)" (#193554)

This reverts commit fe5d5b762ab3b92b18b56f413965abb81a459ac6.

Reverted because of https://github.com/llvm/llvm-project/issues/193475

clang crashes on valid code at -O{2,3} on x86_64-linux-gnu: Assertion
`N->getOpcode() != ISD::DELETED_NODE && "DELETED_NODE in CSEMap!"'
failed
DeltaFile
+3-89llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-70llvm/test/DebugInfo/X86/sdag-load-sext-trunc.ll
+0-61llvm/test/DebugInfo/X86/sdag-load-sext.ll
+0-48llvm/test/DebugInfo/X86/sdag-load-zext-multiple-args.ll
+3-2684 files

LLVM/project 5d01431lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCRuntimeV2.cpp AppleObjCRuntime.cpp, lldb/source/Plugins/SystemRuntime/MacOSX SystemRuntimeMacOSX.cpp

[lldb] Scope symbol lookups to specific modules in ObjC/SystemRuntime plugins (#193379)

This narrows `FindSymbolsWithNameAndType` calls from searching all
loaded images to the specific module that owns the symbol (Foundation,
CoreFoundation, libBacktraceRecording.dylib).

The arclite fallback in `CalculateHasNewLiteralsAndIndexing` still
searches all images because libarclite is a static library linked into
the main executable.
DeltaFile
+21-20lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+16-6lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+9-4lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
+46-303 files

LLVM/project c3c8e40runtimes/cmake/Modules HandleLibC.cmake

[Runtimes] Allow HandleLibc.cmake to be called multiple times (#193540)

Summary:
This needs to check to see if it's already been called now that we want
to use it more places than just libcxx.
DeltaFile
+4-0runtimes/cmake/Modules/HandleLibC.cmake
+4-01 files

Illumos/gate 361bf2busr/src/lib/libdevinfo devinfo_devlink.c

17994 Duplicate link entries accumulate in devlink database without bound
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+7-0usr/src/lib/libdevinfo/devinfo_devlink.c
+7-01 files

Illumos/gate 78e1a08usr/src/cmd/ttymon tmglobal.c, usr/src/lib/libdevinfo devinfo_devperm.c

18000 tty group id should use a named constant from sys/param.h
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+6-5usr/src/cmd/ttymon/tmglobal.c
+4-3usr/src/lib/libdevinfo/devinfo_devperm.c
+1-0usr/src/uts/common/sys/param.h
+11-83 files

FreeBSD/src 002c081sys/compat/linuxkpi/common/include/linux math64.h

linuxkpi: Define `DIV_U64_ROUND_UP()`

It is the same as `DIV64_U64_ROUND_UP()` but takes a 32-bit integer as
the divisor.

The amdgpu DRM driver started to use this in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56576
DeltaFile
+9-0sys/compat/linuxkpi/common/include/linux/math64.h
+9-01 files

FreeBSD/src cff716csys/compat/linuxkpi/common/include/linux rbtree.h

linuxkpi: Add `rb_add()`

It is the same as `rb_add_cached()` but it works on `struct rb_root`, not
a `struc rb_root_cached`. It also does not return anything.

The DRM generic code started to use this in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56577
DeltaFile
+20-0sys/compat/linuxkpi/common/include/linux/rbtree.h
+20-01 files

FreeBSD/src 06cfd10sys/compat/linuxkpi/common/include/linux suspend.h

linuxkpi: Add `register_pm_notifier()` and `unregister_pm_notifier()`

They are empty stub returning success for now, like the previously
defined stubs in this header.

Several constant are also defined in the process.

The amdgpu DRM driver started to use them in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56572
DeltaFile
+20-1sys/compat/linuxkpi/common/include/linux/suspend.h
+20-11 files

FreeBSD/src ade8a27sys/compat/linuxkpi/common/include/linux atomic.h, sys/compat/linuxkpi/common/include/linux/atomic atomic-instrumented.h atomic-arch-fallback.h

linuxkpi: Add `atomic_read_acquire()`

This function calls `raw_atomic_read_acquire()` which is also added.

They are located in <linux/atomic/*.h> headers, both included from
<linux/atomic.h>.

The amdgpu DRM driver started to use this in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56573
DeltaFile
+16-0sys/compat/linuxkpi/common/include/linux/atomic/atomic-instrumented.h
+16-0sys/compat/linuxkpi/common/include/linux/atomic/atomic-arch-fallback.h
+2-0sys/compat/linuxkpi/common/include/linux/atomic.h
+34-03 files

FreeBSD/src 305ebedsys/compat/linuxkpi/common/include/linux kernel.h, sys/compat/linuxkpi/common/src linux_compat.c

linuxkpi: Define `system_state`

This is a global variable used to track the state of the system, like
booting, running, halting and so on.

This variable is based on the `enum system_states` enumeration.

For now, always set `system_state` to `SYSTEM_RUNNING`.

The amdgpu DRM driver started to use this in Linux 6.12.x.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56575
DeltaFile
+11-0sys/compat/linuxkpi/common/include/linux/kernel.h
+2-0sys/compat/linuxkpi/common/src/linux_compat.c
+13-02 files

FreeBSD/src 7f59126sys/compat/linuxkpi/common/include/linux mutex.h

linuxkpi: Define a guard for the `mutex` type

The amdgpu DRM driver started to use `guard(mutex)` in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56571
DeltaFile
+2-0sys/compat/linuxkpi/common/include/linux/mutex.h
+2-01 files

FreeBSD/src ab77c26sys/compat/linuxkpi/common/include/linux string.h

linuxkpi: Add `mem_is_zero()`

The DRM generic code and the i915 DRM driver started to replace the use
of `memchr_inv()` by a `mem_is_zero()` in Linux 6.12. We reuse the
previous use of `memchr_inv()` to implement `mem_is_zero()`.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56442
DeltaFile
+6-0sys/compat/linuxkpi/common/include/linux/string.h
+6-01 files

FreeBSD/src 849e5b0sys/compat/linuxkpi/common/include/linux unaligned.h, sys/compat/linuxkpi/dummy/include/linux unaligned.h

linuxkpi: <asm/unaligned.h> is moved to <linux/unaligned.h> in Linux 6.12

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56454
DeltaFile
+12-0sys/compat/linuxkpi/common/include/linux/unaligned.h
+0-0sys/compat/linuxkpi/dummy/include/linux/unaligned.h
+12-02 files

FreeBSD/src 7643dd7sys/compat/linuxkpi/common/include/linux string.h

linuxkpi: Add `kmemdup_array()`

It is similar to `kmemdup()` but takes a number of elements to duplicate
and their size.

The i915 DRM driver started to use it in Linux 6.12.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56444
DeltaFile
+6-0sys/compat/linuxkpi/common/include/linux/string.h
+6-01 files

FreeBSD/src 84fc57asys/compat/linuxkpi/common/include/linux highmem.h mm.h

linuxkpi: Add more `struct folio`-related functions

The i915 DRM driver started to replace the use of `struct page` by
`struct folio` in its GEM shmem code in Linux 6.12.

linuxkpi were missing a few more functions: `kmap_local_folio()`,
`memcpy_to_folio()` and `offset_in_folio()`. They are equivalent of
their `struct page` counterparts.

One difference is that `kmap_local_folio()` takes an offset argument and
the returned address takes this offset into account.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56438
DeltaFile
+22-0sys/compat/linuxkpi/common/include/linux/highmem.h
+1-0sys/compat/linuxkpi/common/include/linux/mm.h
+23-02 files

FreeBSD/src 3738716sys/compat/linuxkpi/common/include/linux file.h

linuxkpi: Define `fd_file()`

This macro simply returns the `file` field of the `struct fd`.

The DRM generic code and the amdgpu driver started to use it in
Linux 6.12.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56440
DeltaFile
+2-0sys/compat/linuxkpi/common/include/linux/file.h
+2-01 files

FreeBSD/src e692f36sys/compat/linuxkpi/common/include/linux kmsg_dump.h

linuxkpi: Add `struct kmsg_dump_detail`

This structure is used in a modified definition of `struct kmsg_dumper`
field `dump` in Linux 6.12. Therefore this field has two definitions put
behind the values of `LINUXKPI_VERSION`.

The DRM generic code started to use it in Linux 6.12.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56433
DeltaFile
+9-0sys/compat/linuxkpi/common/include/linux/kmsg_dump.h
+9-01 files

FreeNAS/freenas 3c41869src/freenas/usr/lib/systemd/network 10-vseries-internode.link, src/middlewared/middlewared/alert/source vseries_unstamped_spd.py

NAS-140741 / 27.0.0-BETA.1 / V-Series: DMI-gated X710 internode bond for v2.0 (NTG) controllers
DeltaFile
+168-3src/middlewared/middlewared/plugins/failover_/internal_interface.py
+51-0src/middlewared/middlewared/alert/source/vseries_unstamped_spd.py
+49-0tests/unit/test_vseries_hw_rev.py
+47-2src/middlewared/middlewared/plugins/failover_/detect_utils.py
+12-2src/freenas/usr/lib/systemd/network/10-vseries-internode.link
+6-2src/middlewared/middlewared/plugins/enclosure_/enclosure_class.py
+333-96 files

LLVM/project d9bbb90llvm/test/CodeGen/AArch64 insertextract.ll, llvm/test/CodeGen/AMDGPU promote-alloca-vector-dynamic-idx-bitcasts-llc.ll

[LegalizeTypes][DAG] Use SHL(X,1) instead of ADD(X,X) for variable vector indices for extraction/insertion legalization (#188277)

Avoid ADD(X,X) as it doesn't correctly handle undef elements and helps avoid some FREEZE() fold headaches

Resurrects #86857
DeltaFile
+76-174llvm/test/CodeGen/AMDGPU/promote-alloca-vector-dynamic-idx-bitcasts-llc.ll
+20-24llvm/test/CodeGen/X86/insertelement-var-index.ll
+14-12llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
+8-10llvm/test/CodeGen/X86/vector-extend-inreg.ll
+9-8llvm/test/CodeGen/ARM/combine-vmovdrr.ll
+8-8llvm/test/CodeGen/AArch64/insertextract.ll
+135-23610 files not shown
+165-26616 files