NetBSD/src 3kbZZVE — tests/lib/libc/gen t_arc4random.c

   t_arc4random: Fix test to guarantee global state initialization.

   Previously, if pthread_atfork failed, arc4random_global_buf would
   fail to initialize the global state as intended.  (There are separate
   tests for intentional failure of global state initialization.)  It is
   unlikely for pthread_atfork to fail, but with RLIMIT_AS cranked down
   to zero, it may.  To ensure that the global state is successfully
   initialized for the tests that are trying to exercise it, call
   arc4random from another thread first before forcing failure of the
   local state initialization.

   PR lib/59117: arc4random has some failure modes it shouldn't
VersionDeltaFile
1.6+27-2tests/lib/libc/gen/t_arc4random.c
+27-21 files

LLVM/project 74a120b — llvm/docs LangRef.md, llvm/lib/IR Verifier.cpp

[IR] Reject va_arg with an aggregate type in the verifier (#225091)

No target can lower `va_arg` with an aggregate type, and the reference
clang codegen never emits one: it expands `va_arg` of an aggregate into
accesses to its members in the frontend. Instead of rejecting such a
`va_arg`, the code generator crashed on it: SelectionDAG hit "Unknown
type!" in `MVT::getVT()`, and the IRTranslator hit "attempt to get
single VReg for aggregate or void". Make it invalid IR in the verifier,
and change LangRef to say the type must not be an aggregate, rather than
that the code generator does not support it.

ClangIR still emits an aggregate `va_arg` while it lacks calling
convention lowering, in `CIR/CodeGen/complex.cpp` (`{ float, float }`)
and `CIR/CodeGen/var-arg-aggregate.c` (`%struct.Bar`). Their CIR-to-LLVM
runs now fail verification, so this moves `foo33` into its own test and
drops the CIR-to-LLVM checks for these two cases, with a TODO to restore
them once CIR lowers them the way the reference codegen does.

Fixes #162900.

Assisted-by: Claude (Anthropic)
DeltaFile
+18-0llvm/test/Verifier/va_arg-aggregate.ll
+5-5llvm/docs/LangRef.md
+8-1llvm/lib/IR/Verifier.cpp
+31-63 files

FreeBSD/ports 7eb9b79 — security/cyrus-sasl2 Makefile Makefile.common, security/cyrus-sasl2-saslauthd Makefile

security/cyrus-sasl2{,-saslauthd}: Fix build after lmdb update.
DeltaFile
+6-2security/cyrus-sasl2/Makefile.common
+0-2security/cyrus-sasl2/Makefile
+0-2security/cyrus-sasl2-saslauthd/Makefile
+6-63 files

LLVM/project e9c27f4 — .github/workflows flang-integration-test-check.yml

[Flang] Github action to check for full-pipeline tests (#221766)

Detect usage of full-pipeline tests (using-emit-llvm, -emit-llvm-bc, 
and -emit-obj flags) in flang. Encourage contributors to use
focused tests or explain why full-pipeline coverage is needed.

Run detection with read-only permissions and pass comment updates
through a workflow-args artifact to the existing issue-write workflow.
Update the reminder as findings change and mark it resolved when no
additional invocations remain.

The reminder is informational and does not fail the check.

Discussed in
https://discourse.llvm.org/t/removing-or-reducing-redundant-messages-in-integration-tests/91591

Assisted-by: Codex

Co-authored-by: Eugene Epshteyn <eepshteyn at nvidia.com>
DeltaFile
+116-0.github/workflows/flang-integration-test-check.yml
+116-01 files

LLVM/project e089d03 — clang/test/Unit lit.cfg.py, llvm/test/Unit lit.cfg.py

[SystemZ][z/OS] Enable z/OS auto-conversion in clang and llvm unit tests (#232437)

This patch enables auto-conversion in the unit tests
DeltaFile
+8-0llvm/test/Unit/lit.cfg.py
+8-0clang/test/Unit/lit.cfg.py
+16-02 files

FreeBSD/src 8208040 — sys/netpfil/pf pf_lb.c, tests/sys/netpfil/pf nat.sh

pf: first-match-wins for nat rules, even in anchors

Ensure we stop evaluating nat rules if we find a match in a nat-anchor.

PR:             299320
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit b5219c068fbc133dde91d5cf48423e34ce27bd4f)
DeltaFile
+91-0tests/sys/netpfil/pf/nat.sh
+4-0sys/netpfil/pf/pf_lb.c
+95-02 files

LLVM/project 0277e5c — llvm/test/Transforms/Util/DeclareRuntimeLibcalls riscv.ll sparc.ll

RuntimeLibcalls: Use correct type for LDbl (#233799)

Use the Module / Triple's correct long double type. Previously this
was hardcoded to assume double.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+181-181llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+134-134llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+123-123llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+96-96llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+96-96llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+94-94llvm/test/Transforms/Util/DeclareRuntimeLibcalls/riscv.ll
+724-7248 files not shown
+940-88914 files

LLVM/project 5455092 — llvm/test/Transforms/LoopVectorize/WebAssembly dequantize.ll, llvm/test/Transforms/SLPVectorizer/WebAssembly dequantize.ll

[NFC][WebAssembly] Loop and SLP vectorizer tests. (#233812)

Precommit tests for getScalarizationOverhead cost model changes.
DeltaFile
+4,185-0llvm/test/Transforms/LoopVectorize/WebAssembly/dequantize.ll
+754-0llvm/test/Transforms/SLPVectorizer/WebAssembly/dequantize.ll
+4,939-02 files

LLVM/project 22725ac — llvm/lib/IR DebugInfo.cpp, llvm/test/DebugInfo/Generic debuginfofinder-global-variable-declaration.ll

[DebugInfo] Visit static data member declarations in DebugInfoFinder.

types() skipped the class of a static data member when the class was
only reachable through the global variable's declaration.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+23-0llvm/test/DebugInfo/Generic/debuginfofinder-global-variable-declaration.ll
+1-0llvm/lib/IR/DebugInfo.cpp
+24-02 files

LLVM/project 68ce6f3 — llvm/include/llvm/Frontend/OpenMP OMPKinds.def, llvm/test/Transforms/OpenMP add_attributes.ll

[OpenMP] Drop optimistic attributes from taskloop bound arguments

Under the default off -openmp-ir-builder-optimistic-attributes flag the
loop bounds get attributed as captures(none) nofree.
Changing them to AttributeSet() removes those claims from the
__kmpc_taskloop and __kmpc_taskloop_5 declarations. The runtime uses
the bounds' addresses to locate the bounds for each task it creates.
Even though the memory also reachtes the runtime through the task
argument the claims in the IR about the arguments are still wrong.
DeltaFile
+4-3llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
+2-2llvm/test/Transforms/OpenMP/add_attributes.ll
+6-52 files

LLVM/project d645815 — offload/liboffload/src OffloadImpl.cpp

[Offload] Fix memory leaks in OffloadImpl.cpp (#233386)

This PR fixes a few memleaks found by leak sanitizer.
DeltaFile
+12-2offload/liboffload/src/OffloadImpl.cpp
+12-21 files

LLVM/project 16b2e5f — llvm/lib/Target/X86 X86.td

[X86][NFC] Do not alias different CPUs (#231289)

#211953 replaced duplicated ProcModel definitions with ProcessorAlias,
which is a good fit for alternate spellings of one CPU
(pentium_4/pentium4, skylake_avx512/skylake-avx512,
arrowlake_s/arrowlake-s). However, it also turned two distinct CPU into
aliases: grandridge as sierraforest and wildcatlake as pantherlake.

These are not alternate names. They are different processors that happen
to share features, tuning and scheduling model today. The rest of LLVM
already treats them that way: Host.cpp and X86TargetParser.def.

In contrast, arrowlake_s is marked dispatch-only, i.e. a spelling
variant.
DeltaFile
+8-6llvm/lib/Target/X86/X86.td
+8-61 files

LLVM/project 44ff5c0 — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-scope-lexical-block-file.ll debug-lexical-block-discriminator.ll

[SPIRV] Emit DebugLexicalBlockDiscriminator for a DILexicalBlockFile.

A location scoped at a DILexicalBlockFile was emitted as a DebugScope of the compilation unit, so the discriminator did not round-trip.
Use the discriminator as the DebugScope operand, matching SPIRV-LLVM-Translator.
DeltaFile
+40-27llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+67-0llvm/test/CodeGen/SPIRV/debug-info/debug-lexical-block-discriminator.ll
+17-6llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+7-5llvm/test/CodeGen/SPIRV/debug-info/debug-scope-lexical-block-file.ll
+131-384 files

LLVM/project cd3d6cf — llvm/test/CodeGen/SPIRV/debug-info debug-lexical-block-discriminator.ll debug-scope-lexical-block-file.ll

[SPIRV] Drop --verify-machineinstrs from new lexical-block RUN lines.

The machine verifier already runs on the buildbots.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+2-2llvm/test/CodeGen/SPIRV/debug-info/debug-scope-lexical-block-file.ll
+1-1llvm/test/CodeGen/SPIRV/debug-info/debug-lexical-block-discriminator.ll
+3-32 files

LLVM/project 4bc786f — llvm/test/CodeGen/SPIRV/debug-info debug-composite-parent-debuginfonone.ll

Fix test that required a specific emission order.
DeltaFile
+22-20llvm/test/CodeGen/SPIRV/debug-info/debug-composite-parent-debuginfonone.ll
+22-201 files

LLVM/project 23885aa — llvm/test/Transforms/LoopVectorize dead_instructions.ll, llvm/test/Transforms/LoopVectorize/VPlan print-attributes.ll

[LV] Add tests for VPInstructions with call-site attributes (NFC) (#233824)
DeltaFile
+51-19llvm/test/Transforms/LoopVectorize/dead_instructions.ll
+67-0llvm/test/Transforms/LoopVectorize/VPlan/print-attributes.ll
+118-192 files

LLVM/project e596105 — llvm/test/CodeGen/SPIRV/debug-info debug-type-composite-self-pointer-forward-refs.ll

[SPIRV] Expect no unlisted DebugTypeMember in the self-pointer forward-refs test.

Without forward references, member next is no longer emitted after S and
its pointer, since S cannot list it.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+3-7llvm/test/CodeGen/SPIRV/debug-info/debug-type-composite-self-pointer-forward-refs.ll
+3-71 files

LLVM/project 20aa537 — libc/include libintl.yaml, libc/src/libintl ngettext_l.cpp dngettext_l.cpp

[libc] Add remaining <libintl.h> gettext stubs (#233838)

Added stateless stubs for dgettext, dgettext_l, dcgettext, dcgettext_l,
ngettext, ngettext_l, dngettext, dngettext_l, dcngettext, and
dcngettext_l behind LLVM_LIBC_ENABLE_EXPERIMENTAL_ENTRYPOINTS,
completing the 15 POSIX.1-2024 <libintl.h> entrypoints.

In the "C" locale, POSIX requires the dgettext and dcgettext families to
return the input msgid pointer unchanged and the ngettext, dngettext,
and dcngettext families to return msgid1 when n == 1 and msgid2
otherwise, without modifying errno.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+109-0libc/test/src/libintl/libintl_test.cpp
+90-0libc/src/libintl/CMakeLists.txt
+89-0libc/include/libintl.yaml
+32-0libc/src/libintl/dcngettext_l.cpp
+31-0libc/src/libintl/dngettext_l.cpp
+30-0libc/src/libintl/ngettext_l.cpp
+381-026 files not shown
+937-032 files

LLVM/project b850a07 — llvm/lib/IR Instruction.cpp, llvm/lib/Transforms/Utils FunctionComparator.cpp

[IR] Compare the function type of calls (#233827)

The called function type is not an operand, so neither hasSameSpecialState
nor FunctionComparator::cmpOperations compared it. SimplifyCFG hoisted and
MergeFunctions merged calls that differ only in signature (fixed vs.
varargs), even though such calls are lowered differently.
DeltaFile
+26-0llvm/test/Transforms/SimplifyCFG/hoist-cb-diff-attrs.ll
+25-0llvm/test/Transforms/MergeFunc/call-function-type.ll
+3-0llvm/lib/IR/Instruction.cpp
+2-0llvm/lib/Transforms/Utils/FunctionComparator.cpp
+56-04 files

LLVM/project 9394e16 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

apply suggestions
DeltaFile
+5-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+5-41 files

NetBSD/src E3SEyBz — sys/external/bsd/drm2/dist/drm/i915/gt intel_ggtt.c

   i915: Fix partial page view indexing error.

   PR kern/60907: i915: partial page view indexing error
VersionDeltaFile
1.20+7-3sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c
+7-31 files

LLVM/project 706e446 — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Transforms/Inline/AArch64 sme-pstatesm-attrs.ll

[AArch64][SME] Set inline incompatibility for SME using cost-model.

Instead of maintaining a new switch-statement where we handle
individual intrinsics, rely on the TTI cost-model to check if
an intrinsic can be inlined into a streaming function.
DeltaFile
+99-1llvm/test/Transforms/Inline/AArch64/sme-pstatesm-attrs.ll
+13-13llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+112-142 files

FreeBSD/src a5e6bee — sbin/hastd proto_uds.c proto_tcp.c

hastd: Use void pointers for opaque data

Use void, not char, for pointers to opaque data in our send and receive
functions.

Sponsored by:   Klara, Inc.
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D60729
DeltaFile
+4-4sbin/hastd/proto_impl.h
+2-2sbin/hastd/proto_uds.c
+2-2sbin/hastd/proto_tcp.c
+2-2sbin/hastd/proto_socketpair.c
+2-2sbin/hastd/proto_common.c
+12-125 files

FreeBSD/src 4f19e4a — contrib/openbsm/bin/auditdistd proto_uds.c proto_tls.c

auditdistd: Use void pointers for opaque data

Use void, not char, for pointers to opaque data in our send and receive
functions.

Sponsored by:   Klara, Inc.
Sponsored by:   Qualys, Inc.
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D60728
DeltaFile
+4-4contrib/openbsm/bin/auditdistd/proto_impl.h
+2-2contrib/openbsm/bin/auditdistd/proto_uds.c
+2-2contrib/openbsm/bin/auditdistd/proto_tls.c
+2-2contrib/openbsm/bin/auditdistd/proto_tcp.c
+2-2contrib/openbsm/bin/auditdistd/proto_socketpair.c
+2-2contrib/openbsm/bin/auditdistd/proto_common.c
+14-146 files

LLVM/project 91140a0 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c teams-distribute.c

[CIR][OpenMP] Add initial support for distribute

This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+217-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute.c
+134-29clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+154-0clang/test/CIR/CodeGenOpenMP/teams-distribute.c
+12-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+517-294 files

LLVM/project b5926b5 — llvm/test/Transforms/SLPVectorizer/X86 root-store-bundle-member-deps.ll

[SLP][NFC]Add extra test for runtime aliasing checks, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/233840
DeltaFile
+86-0llvm/test/Transforms/SLPVectorizer/X86/root-store-bundle-member-deps.ll
+86-01 files

LLVM/project 5ad8362 — llvm/test/CodeGen/SPIRV/debug-info debug-typedef-cycle-unsupported-forward-ref.ll debug-typedef-base-debuginfonone.ll

[SPIRV] Drop --verify-machineinstrs from new forward-ref tests.

The machine verifier already runs on the buildbots.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+6-6llvm/test/CodeGen/SPIRV/debug-info/debug-composite-parent-debuginfonone.ll
+4-4llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-cycle-unsupported-forward-ref.ll
+4-4llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-base-debuginfonone.ll
+4-4llvm/test/CodeGen/SPIRV/debug-info/debug-type-composite-self-pointer-forward-refs.ll
+18-184 files

LLVM/project 340ae6f — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-typedef-cycle-unsupported-forward-ref.ll debug-typedef-base-debuginfonone.ll

[SPIRV] Forward-reference debug scopes with a reserved result id.

Visiting a scope reserves its result id. With SPV_KHR_relaxed_extended_instruction a back edge uses that id through OpExtInstWithForwardRefsKHR, and a later failure defines it as DebugInfoNone when an emitted instruction already named it.
Without the extension the edge is dropped and a later walk can retry the scope.
DeltaFile
+93-13llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+55-0llvm/test/CodeGen/SPIRV/debug-info/debug-composite-parent-debuginfonone.ll
+55-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-composite-self-pointer-forward-refs.ll
+52-0llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-base-debuginfonone.ll
+42-0llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-cycle-unsupported-forward-ref.ll
+26-6llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+323-191 files not shown
+326-207 files

LLVM/project 9f48e6d — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-typedef-cycle-unsupported-forward-ref.ll debug-type-composite-self-pointer-forward-refs.ll

[SPIRV] Gate debug-scope forward references behind a flag.

-spirv-debug-scope-forward-refs defaults to off.
DeltaFile
+15-7llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+4-10llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-base-debuginfonone.ll
+6-4llvm/test/CodeGen/SPIRV/debug-info/debug-composite-parent-debuginfonone.ll
+4-3llvm/test/CodeGen/SPIRV/debug-info/debug-typedef-cycle-unsupported-forward-ref.ll
+4-3llvm/test/CodeGen/SPIRV/debug-info/debug-type-composite-self-pointer-forward-refs.ll
+2-1llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+35-286 files

LLVM/project 25003da — llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp

[SPIRV] Emit each debug scope from getOrCreateDebugScope.

Handlers return the opcode and the operands. getOrCreateDebugScope writes that instruction with a fresh id.
DeltaFile
+167-173llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+123-93llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+290-2662 files