LLVM/project b232d11libc/src/math/nvptx CMakeLists.txt fmodf.cpp

[libc] Fix math failures for fmod on NVPTX (#213168)

Summary:
Fixes some failing tests. Fmod's builtin has improper handling in the
NVPTX instruction so we should just use the generic version for now. The
Float128 implementation seems to have had some undefined behavior for
out of range behavior that only showed up now. Hopefully someone can
tell me if this is fixed correctly.
DeltaFile
+0-19libc/src/math/nvptx/fmodf.cpp
+0-19libc/src/math/nvptx/fmod.cpp
+0-16libc/src/math/nvptx/CMakeLists.txt
+0-543 files

LLVM/project 1fe5589clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/test/CIR/Transforms/abi-lowering x86_64-int-nyi.cir x86_64-bitint.cir

[CIR] Accept _BitInt up to 128 bits in x86_64 callconv lowering (#212668)

The x86_64 bridge in `CallConvLoweringPass.cpp` rejected every
`_BitInt`, so a function taking or returning one reported NYI even
though the ABI library already classifies these types. The classifier
has to be told the integer is bit-precise, and `mapCIRType` was dropping
that flag, which its two-eightbyte handling keys on. With the flag
forwarded, accepting widths up to 128 is mostly a matter of letting the
classifier's answer through. Wider widths stay rejected, for the reason
on the accept check.

Relaxing that check alone was not enough. `convertABIArgInfo` discarded
the classifier's coerce for every non-aggregate, which would have left a
`_BitInt(33)` as i33 where classic CodeGen passes i64. It now takes the
coercion path for a multi-register tuple coerce and for one wider than
the natural type. A narrower or equal coerce still means unchanged,
which is what preserves a `_BitInt(128)`'s 8-byte alignment.

Two `noundef` gaps against classic CodeGen remain. Neither mechanism is

    [3 lines not shown]
DeltaFile
+815-0clang/test/CIR/Transforms/abi-lowering/x86_64-bitint.cir
+62-40clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+18-14clang/test/CIR/Transforms/abi-lowering/x86_64-int-nyi.cir
+895-543 files

LLVM/project 34a34f1llvm/lib/Analysis HashRecognize.cpp, llvm/test/Analysis/HashRecognize cyclic-redundancy-check.ll

[HashRecognize] Prevent values other than `ComputedValue` from exiting loop (#213080)

A check exists to prevent recurrences from having stray uses, but this
is only applied when a simple recurrence exists, and does not apply to
other values such as the induction variable. Since the loop is in LCSSA
form, check the incoming value from the loop on each of the exit block
PHIs and bail if any of them are not `ComputedValue`.

This replaces the existing check requiring `ComputedValue` to be used in
the exit block. Note that this no longer covers the case where the exit
block has no PHIs, and therefore does not use `ComputedValue`. In this
case, the loop is dead and will be cleaned up by DCE anyway.
DeltaFile
+52-1llvm/test/Analysis/HashRecognize/cyclic-redundancy-check.ll
+6-7llvm/lib/Analysis/HashRecognize.cpp
+58-82 files

LLVM/project d702abcclang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Add missing mqsad-insts to gfx13 frontend feature map (#213292)

fillAMDGCNFeatureMap omitted mqsad-insts for gfx1310/gfx13-generic, so
clang wrongly rejected __builtin_amdgcn_mqsad_u32_u8 on those targets
even though the backend enables the feature. Add it to the gfx13 case.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+23-10llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.u32.u8.ll
+24-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+1-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+48-103 files

FreeBSD/ports 62a603dsecurity/boringssl Makefile distinfo

security/boringssl: update to the recent snapshot release

ChangeLog:      https://github.com/google/boringssl/compare/0.20260728.0...0.20260730.0

Sponsored by:   tipi.work
DeltaFile
+3-3security/boringssl/distinfo
+1-1security/boringssl/Makefile
+4-42 files

LLVM/project c2c6041clang/include/clang/DependencyScanning DependencyScanningWorker.h DependencyScannerImpl.h, clang/lib/DependencyScanning CMakeLists.txt DependencyScanningWorker.cpp

Move implementation details to DependencyScanningWorker.cpp and dissolve DependencyScannerImpl.h/cpp.
DeltaFile
+0-525clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+493-1clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+0-89clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+12-2clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+0-1clang/lib/Tooling/DependencyScanningTool.cpp
+0-1clang/lib/DependencyScanning/CMakeLists.txt
+505-6193 files not shown
+506-6219 files

LLVM/project b2b20dfclang/include/clang/DependencyScanning DependencyScannerImpl.h, clang/lib/DependencyScanning DependencyScannerImpl.cpp DependencyScanningWorker.cpp

Use CompilerInstanceWithContext for TU scanning.
DeltaFile
+315-38clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+0-293clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+35-0clang/unittests/Tooling/DependencyScannerTest.cpp
+0-27clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+1-0clang/test/ClangScanDeps/logging-simple.c
+351-3585 files

FreeBSD/ports eeb443adevel/py-cfn-lint distinfo Makefile, devel/py-cfn-lint/files patch-src_cfnlint_data_schemas_version.json

devel/py-cfn-lint: Update to 1.53.3

ChangeLog:      https://github.com/aws-cloudformation/cfn-lint/compare/v1.52.1...v1.53.3
Approved by:    hrs (mentor, blanket)
DeltaFile
+8-2devel/py-cfn-lint/Makefile
+7-0devel/py-cfn-lint/files/patch-src_cfnlint_data_schemas_version.json
+3-3devel/py-cfn-lint/distinfo
+18-53 files

LLVM/project 6e4374elibc/include/llvm-libc-macros/linux signal-macros.h

[libc] Add SIGPOLL si_code values. (#212873)

This is a follow-up to efc78d2029b9f716de4546ed88571616d91e826c, which
adds `si_code` values for the `SIGPOLL` signal on Linux.
DeltaFile
+8-0libc/include/llvm-libc-macros/linux/signal-macros.h
+8-01 files

LLVM/project 2acca53llvm/lib/IR Metadata.cpp, llvm/lib/Transforms/Utils Local.cpp SimplifyLibCalls.cpp

[AllocToken] Merge !alloc_token metadata across optimization passes (#211516)

Previously, optimization transforms like DeadStoreElimination (folding
malloc to calloc), SimplifyLibCalls (folding realloc(null, n) to
malloc), and combineMetadata (merging equivalent allocations in
GVN/SimplifyCFG) dropped !alloc_token metadata or stripped it when type
names differed. This caused allocation sites of pointer-containing types
to lose their metadata.

Fix it by implementing MDNode::getMergedAllocTokenMetadata() to merge
!alloc_token metadata by ORing the pointer-containing boolean flag and
concatenating type names with a pipe separator, updating combineMetadata
to use it, and preserving !alloc_token metadata when folding allocation
libcalls in DSE and SimplifyLibCalls.

Assisted-by: Antigravity:gemini
DeltaFile
+41-0llvm/lib/IR/Metadata.cpp
+28-1llvm/test/Transforms/SimplifyCFG/merge-calls-alloc-token.ll
+17-0llvm/test/Transforms/DeadStoreElimination/alloc-token-dse.ll
+15-0llvm/test/Transforms/InstCombine/alloc-token-realloc.ll
+7-2llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+2-3llvm/lib/Transforms/Utils/Local.cpp
+110-62 files not shown
+115-68 files

LLVM/project b3abf3dclang/lib/CodeGen CodeGenModule.cpp, llvm/test/Transforms/GCOVProfiling ptrauth-module-flags-aarch64.ll

Address review comments
DeltaFile
+5-0clang/lib/CodeGen/CodeGenModule.cpp
+3-1llvm/test/Transforms/GCOVProfiling/ptrauth-module-flags-aarch64.ll
+8-12 files

LLVM/project 89db6d6lld/MachO ObjC.cpp

[lld] Fix -Wunused-result in e44068cc129912c88dcdeae0d1b5dc5937eb1059 (#213296)

These variables are only used in an assertion, so mark them maybe unused
to avoid warnings in release builds.

Fixes https://lab.llvm.org/buildbot/#/builders/228/builds/6605.
DeltaFile
+3-2lld/MachO/ObjC.cpp
+3-21 files

OpenBSD/ports hHodT8dmath/py-numpy/patches patch-numpy__core_src_highway_hwy_detect_targets_h

   Fix numpy build on riscv64

   Yet another copy of devel/highway that breaks because of a type mismatch
   between long and long long.
VersionDeltaFile
1.1+16-0math/py-numpy/patches/patch-numpy__core_src_highway_hwy_detect_targets_h
+16-01 files

LLVM/project acd842cllvm/include/llvm/TargetParser AMDGPUTargetParser.h, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Export the TargetParser feature bitset

Previously this bitset was only used to populate the feature
name string map used by clang. Eventually this will replace
the current bitmask integer. AArch64 already has a similar
interface.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+17-14llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+29-0llvm/unittests/TargetParser/TargetParserTest.cpp
+16-0llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
+62-143 files

LLVM/project 6a519a6llvm/lib/Target/AMDGPU AMDGPU.td, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Tablegenerate TargetParser feature sets

Traditionally we maintained 2 parallel feature mechanisms,
one in clang (later moved to TargetParser), with largely
mirrored subtarget features defined in the backend. Start
directly taking feature information from the backend and putting
it into TargetParser. This is still in a compromise mid-migration
state. We still have both the legacy "ArchAttr" bitfield integer,
plus a new AMDGPUFeatureBitset field stored in the table, which
isn't yet exported.

For the moment, the new bitset is only used to populate the
feature string name map, which is the big maintainability win.
This also lists an explicit subset of exported features to
avoid churn.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+51-515llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+115-3llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp
+43-0llvm/unittests/TargetParser/TargetParserTest.cpp
+39-0llvm/lib/Target/AMDGPU/AMDGPU.td
+248-5184 files

LLVM/project e2fa55dllvm/test/CodeGen/AArch64/GlobalISel combine-freeze.mir prelegalizer-combiner-load-or-pattern.mir, llvm/test/CodeGen/AMDGPU llvm.amdgcn.av.load.b128.ll

Merge branch 'main' into users/kovdan01/ptrauth-atts-for-synthetic-fns
DeltaFile
+3,291-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+790-790llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-load-or-pattern.mir
+793-710llvm/test/Transforms/LoopVectorize/induction.ll
+112-1,272llvm/test/CodeGen/X86/fptosi-sat-scalar.ll
+689-689llvm/test/CodeGen/AArch64/GlobalISel/combine-freeze.mir
+1,298-0llvm/test/CodeGen/X86/fptosi-sat-scalar-f16.ll
+6,973-3,461681 files not shown
+39,124-25,000687 files

FreeBSD/src 833bdaesys/kern kern_exit.c

proc_realparent(): do not mark the child as orphan when reparenting to p_opptr pid

Reported and reviewed by:       markj
Fixes:  8cef3c9b768a ("proc_realparent(): assert that an orphaned child has real parent != parent")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58566
DeltaFile
+1-2sys/kern/kern_exit.c
+1-21 files

LLVM/project 6109006clang/include/clang/DependencyScanning DependencyScanningWorker.h, clang/include/clang/Tooling DependencyScanningTool.h

[clang][DependencyScanning] Relocate CompilerInstanceWithContext to DependencyScanningWorker.cpp (#211407)

This PR relocates all `CompilerInstanceWithContext` code to
`DependencyScanningWorker.cpp` and hides them as implementation details,
since no public APIs should use `CompilerInstanceWithContext` directly.

---

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
DeltaFile
+250-0clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+4-207clang/lib/Tooling/DependencyScanningTool.cpp
+0-75clang/include/clang/Tooling/DependencyScanningTool.h
+22-5clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+276-2874 files

LLVM/project 5f4d725clang/include/clang/DependencyScanning DependencyScannerImpl.h, clang/include/clang/Tooling DependencyScanningTool.h

[clang][DependencyScanning] Implement the Streaming Style By-name Scanning API (#211406)

This PR implements a streaming stype by-name scanning API. The new API
takes a `DependencyConsumer`, a `DiagnosticsConsumer` and a
`getNextName` lambda. Any diagnositcs flow to the `DependencyConsumer`,
and the results flows to to `DependencyConsumer`. The `getNextName`
lambda is allows the client to stream names into the API, and the API
keeps scanning dependencies for input names until `getNextName` does not
return more names.

rdar://178088113

---

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
DeltaFile
+43-89clang/lib/Tooling/DependencyScanningTool.cpp
+39-56clang/tools/clang-scan-deps/ClangScanDeps.cpp
+15-59clang/include/clang/Tooling/DependencyScanningTool.h
+0-14clang/include/clang/DependencyScanning/DependencyScannerImpl.h
+1-3clang/test/ClangScanDeps/modules-full-by-mult-mod-names-diagnostics.c
+1-1clang/test/ClangScanDeps/modules-invalid-target.c
+99-2221 files not shown
+101-2227 files

FreeBSD/ports ba4a7d3net/tsctp Makefile distinfo

net/tsctp: Update 0.8.6 => 0.8.7

Changelog:
http://github.com/dreibh/tsctp/blob/tsctp-0.8.7/ChangeLog

Commit log:
https://github.com/dreibh/tsctp/compare/tsctp-0.8.6...tsctp-0.8.7

PR:             297178
Reported by:    Thomas Dreibholz <thomas.dreibholz at gmail.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3net/tsctp/distinfo
+1-1net/tsctp/Makefile
+4-42 files

FreeBSD/src ff97443sys/kern kern_event.c

kqueue: do not buffer the whole knote report when sizing it

kern_proc_kqueues_out() reported into an intermediate sbuf and copied the
result into the caller's.

A process that had leaked 468k kqueue descriptors wired 757 MB of M_SBUF
while dumping core, over roughly 9M reallocations, then copied the whole
thing again.

Reviewed by:    adrian, markj
Differential Revision:  https://reviews.freebsd.org/D58536
PR: 296835
MFC after: 1 week
DeltaFile
+7-7sys/kern/kern_event.c
+7-71 files

LLVM/project 10da8ecclang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/test/Analysis/Scalable/PointerFlow multi-dim-pointer-flow-constraint.test multi-decl-contributor.cpp

[SSAF] Close unsafe-buffer reachability over override families

An unsafe pointer reaching one override's parameter is equally unsafe in every
sibling and base override of that method, because the call site picks the
target dynamically. Without closing over the families, reachability depended
on which override the extractor happened to see the flow through, so a fix
suggested for the base could be contradicted by a derived override.

Mirroring is level-preserving: families relate slot entities, so a reachable
EPL propagates only to the same pointer level on its family members.

The closure runs after the pointer-flow DFS has converged and does not feed
its own output back in, so a flow edge out of a newly discovered EPL is still
missed. FamilyClosureDoesNotRerunDFS pins that gap.

§4 of rdar://179151603
DeltaFile
+320-7clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+92-6clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+1-1clang/test/Analysis/Scalable/PointerFlow/multi-dim-pointer-flow-constraint.test
+1-1clang/test/Analysis/Scalable/PointerFlow/multi-decl-contributor.cpp
+1-1clang/test/Analysis/Scalable/PointerFlow/lref-to-rref-cast.test
+1-1clang/test/Analysis/Scalable/PointerFlow/external-inline-function-in-multi-tu.test
+416-176 files

LLVM/project ae11cb9clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily VirtualMethodFamily.h, clang/lib/ScalableStaticAnalysis/Analyses CMakeLists.txt

[SSAF] Serialize virtual method summaries and families

Per-TU summaries and whole-program results cross process boundaries, and the
JSON layer refuses to write a summary kind it has no format for. Register both
sides so --ssaf-extract-summaries=VirtualMethod becomes usable and the family
result survives a round trip.

Deserialization tolerates a missing override list, since a root virtual method
legitimately has none.

§3 of rdar://179151603
DeltaFile
+390-0clang/unittests/ScalableStaticAnalysis/Serialization/JSONFormatTest/VirtualMethodFamilyFormatTest.cpp
+192-0clang/lib/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyFormat.cpp
+22-0clang/lib/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyAnalysis.cpp
+5-0clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamily.h
+1-0clang/unittests/ScalableStaticAnalysis/CMakeLists.txt
+1-0clang/lib/ScalableStaticAnalysis/Analyses/CMakeLists.txt
+611-01 files not shown
+612-07 files

LLVM/project ab4d714clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily VirtualMethodFamily.h, clang/include/clang/ScalableStaticAnalysis/Core/Model EntityId.h

[SSAF] Group virtual method slots into override families

A virtual call site can dispatch to any override, so the parameter and return
slots that occupy the same vtable slot across an override chain are
indistinguishable to a caller. Whole-program consumers therefore have to treat
them as one unit or they will reason about a slot that a call never actually
reaches.

Compute those units up front, keyed per slot, so consumers only need a map
lookup rather than their own traversal of the override relation. Overloads
occupy distinct vtable slots and stay in distinct families.

The family representative is the smallest EntityId in the class, which keeps
the result stable across runs.

§2 of rdar://179151603
DeltaFile
+336-0clang/unittests/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyAnalysisTest.cpp
+201-0clang/lib/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyAnalysis.cpp
+46-0clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamily.h
+11-0clang/include/clang/ScalableStaticAnalysis/Core/Model/EntityId.h
+1-0clang/unittests/ScalableStaticAnalysis/CMakeLists.txt
+1-0clang/lib/ScalableStaticAnalysis/Analyses/CMakeLists.txt
+596-01 files not shown
+597-07 files

LLVM/project 9ae0603clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily VirtualMethodFamily.h, clang/lib/ScalableStaticAnalysis/Analyses/VirtualMethodFamily VirtualMethodEntityExtractor.cpp

[SSAF] Extract the virtual method override relation per TU

A virtual call may dispatch to any override of its callee, so a whole-program
analysis cannot reason about a method's parameters and return value in
isolation. It needs to know which method overrides which, and which slots
that relates. Collect this per TU, so a later pass can join the related
slots into families.

JSON serialization lands separately, so the summary is not writable via
--ssaf-extract-summaries yet.

§1 of rdar://179151603
DeltaFile
+228-0clang/unittests/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyExtractorTest.cpp
+155-0clang/unittests/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamilyTestSupport.h
+145-0clang/unittests/ScalableStaticAnalysis/ParsedAST.h
+92-0clang/lib/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodEntityExtractor.cpp
+51-0clang/include/clang/ScalableStaticAnalysis/Analyses/VirtualMethodFamily/VirtualMethodFamily.h
+1-0clang/unittests/ScalableStaticAnalysis/CMakeLists.txt
+672-02 files not shown
+674-08 files

LLVM/project a9cf31bclang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl builtins-amdgcn-gfx1250.cl, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Add missing smem-prefetch-insts to gfx12.5/gfx13 feature map

fillAMDGCNFeatureMap omitted smem-prefetch-insts for gfx125x and gfx13,
so clang wrongly rejected __builtin_amdgcn_s_prefetch_data / _inst /
s_buffer_prefetch_data.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+378-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.prefetch.data.ll
+16-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+16-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
+2-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+412-04 files

FreeBSD/ports 17e4a5csysutils/u-boot-master Makefile

sysutils/u-boot-master: fix build with SOURCE_DATE_EPOCH set

PR:             291905
Reviewed by:    siva
Approved by:    manu (maintainer timeout)
Differential Revision:  https://reviews.freebsd.org/D57077
DeltaFile
+7-1sysutils/u-boot-master/Makefile
+7-11 files

FreeBSD/ports 82210ceaudio/xmp Makefile distinfo

audio/xmp: Update to 4.3.1
DeltaFile
+3-3audio/xmp/distinfo
+1-1audio/xmp/Makefile
+4-42 files

FreeBSD/ports 3da10acsecurity/py-trezor Makefile

security/py-trezor: Release maintainership
DeltaFile
+1-1security/py-trezor/Makefile
+1-11 files

FreeBSD/ports 8e0877faudio/ft2-clone Makefile distinfo

audio/ft2-clone: Update to 2.22
DeltaFile
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-42 files