LLVM/project 4df6854orc-rt/docs CodingConventions.md, orc-rt/include/orc-rt SPSWrapperFunction.h Session.h

[orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243)

Bring the wrapper-function call and return prototypes into line with the
convention adopted for orc_rt_Session_callController: the session handle
comes first, then the payload buffer, then the completion callback
immediately followed by its threaded token, with the token last.

  orc_rt_WrapperFunctionReturn: (S, CallId, ResultBytes)
                             -> (S, ResultBytes, CallId)
  orc_rt_WrapperFunction:       (S, CallId, Return, ArgBytes)
                             -> (S, ArgBytes, Return, CallId)

The C++ adapters that mirror these signatures are updated to match --
WrapperFunction::handle, SPSWrapperFunction::handle, the
ORC_RT_SPS_WRAPPER macro, and StructuredYield -- along with the Session
dispatch path and the affected unit tests. No functional change beyond
argument order.
DeltaFile
+36-33orc-rt/test/unit/SPSWrapperFunctionTest.cpp
+23-24orc-rt/include/orc-rt/WrapperFunction.h
+21-18orc-rt/test/unit/SessionTest.cpp
+27-0orc-rt/docs/CodingConventions.md
+11-12orc-rt/include/orc-rt/SPSWrapperFunction.h
+12-11orc-rt/include/orc-rt/Session.h
+130-986 files not shown
+158-12312 files

NetBSD/src KUqADjRsys/conf files, sys/net if_pppoe.c if_sppp.h

   sppp: Add BPF-based packet filtering for dial-on-demand and idle-timeout

   Introduce active/dialing filtering using BPF to if_spppsubr.c. This allows
   sync PPP interfaces (e.g. pppoe(4)) to control which traffic triggers
   dial-on-demand or keeps idle connections alive.

   This option is similar to PPP_FILTER.
VersionDeltaFile
1.308+197-4sys/net/if_spppsubr.c
1.56+21-1sys/net/if_spppvar.h
1.37+12-1sys/net/if_sppp.h
1.50+6-2sys/rump/librump/rumpnet/net_stub.c
1.189+3-2sys/net/if_pppoe.c
1.1322+2-1sys/conf/files
+241-116 files

LLVM/project 9ccf2a8clang/test/CIR/CodeGen default-func-attrs-invoke.cpp, mlir/include/mlir/Dialect/LLVMIR LLVMOps.td

[MLIR][LLVM] Preserve default function attributes on invokes (#212263)

Represent `default_func_attrs` on `LLVM::InvokeOp` and translate the
collection onto the generated LLVM invoke instruction. Preserve default
call-site attributes when throwing calls are lowered through the LLVM
dialect, including CIR `try_call` operations.
DeltaFile
+26-0clang/test/CIR/CodeGen/default-func-attrs-invoke.cpp
+20-0mlir/test/Target/LLVMIR/llvmir.mlir
+6-4mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+3-0mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+1-0mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+56-45 files

LLVM/project 022bf7bllvm/include/llvm/Support GenericLoopInfoImpl.h, llvm/lib/Analysis LoopInfo.cpp

[LoopInfo] Take no dominator tree in verify(). NFC (#212414)

Similar to the recent change that makes analyze() lazy in building
DomTree.
DeltaFile
+6-6llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+3-6llvm/lib/Analysis/LoopInfo.cpp
+3-3llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
+2-3llvm/lib/Transforms/Utils/FixIrreducible.cpp
+2-3llvm/include/llvm/Support/GenericLoopInfoImpl.h
+2-2llvm/lib/Transforms/Scalar/LoopFuse.cpp
+18-2313 files not shown
+33-3819 files

LLVM/project f75eef2llvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine cast_ptr.ll

[InstCombine] Handle icmp+ptrtoint/addr folds for non-int ptrs (#212101)

Followup of #211991. icmp ptrtoint, ptrtoint cannot be folded away for
non-integral pointers, this is only possible with ptrtoaddr.

For consistency, this also restricts the inttoptr direction, which
causes the change in the phase ordering test. (Note that in this
particular case, not doing the folding is actualle beneficial, as it
keeps the inttoptr-inttoptr comparison outside the loop avoiding one
comparison inside the loop. I wouldn't expect any practical impact,
though.)
DeltaFile
+55-0llvm/test/Transforms/InstCombine/cast_ptr.ll
+21-22llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+4-4llvm/test/Transforms/PhaseOrdering/scev-custom-dl.ll
+80-263 files

FreeBSD/ports 4c478acnet-mgmt/monitoring-plugins/files patch-plugins_check__smtp.c

net-mgmt/monitoring-plugins: fix timeout for check_smtp if -D parameter is used

PR:             296896
DeltaFile
+11-0net-mgmt/monitoring-plugins/files/patch-plugins_check__smtp.c
+11-01 files

LLVM/project 8e1b018clang/test/CIR/CodeGenHIP builtins-amdgcn-extended-image.hip, clang/test/CodeGen link-builtin-bitcode.c

AMDGPU: Fix missing extended-image-insts missing from feature map

Unsurprisingly, this manually maintained table is buggy.
fillAMDGCNFeatureMap never set extended-image-insts, so clang's builtin
feature check rejected every case. The tests were working around this with
manually specified -target-features flags.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+26-0clang/test/SemaOpenCL/builtins-extended-image-supported.cl
+10-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+2-2clang/test/CodeGen/link-builtin-bitcode.c
+0-3clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip
+3-0clang/test/SemaOpenCL/builtins-extended-image-param-gfx942-err.cl
+43-74 files not shown
+47-1110 files

FreeBSD/ports a960991net-mgmt/monitoring-plugins Makefile, net-mgmt/monitoring-plugins/files patch-configure

net-mgmt/monitoring-plugins: fix check_swap command

PR:             296895
DeltaFile
+14-5net-mgmt/monitoring-plugins/files/patch-configure
+1-0net-mgmt/monitoring-plugins/Makefile
+15-52 files

NetBSD/src v0AirtHsys/net if_spppsubr.c

   sppp: use RUN_ONCE(9) to initialize keepalive related resources
   to prevent panics during concurrent attach/detach

   - Initialize keepalive resources (e.g. spppq_lock and keepalive_ch)
     once using RUN_ONCE(9) instead of the first attach.
   - Do not free these resources on sppp_detach

   NOTE:
   We should release these resources in sppp_subr_modcmd(), but module
   unloading/cleanup is not implemented yet.
VersionDeltaFile
1.307+20-17sys/net/if_spppsubr.c
+20-171 files

LLVM/project ce62aablibc/test/UnitTest HermeticTestUtils.cpp, libc/test/src/search CMakeLists.txt

[libc] Add aligned_alloc and delete[] to hermetic tests (#210693)

This lets us run (at least) <search.h> tests in hermetic mode.
DeltaFile
+8-3libc/test/UnitTest/HermeticTestUtils.cpp
+5-5libc/test/src/search/CMakeLists.txt
+13-82 files

FreeNAS/freenas cc9b95dsrc/middlewared/middlewared/utils asyncio_.py

Address review

(cherry picked from commit 6a873c90329ee3859dadcbeceadc20a2c2b2d2da)
DeltaFile
+13-8src/middlewared/middlewared/utils/asyncio_.py
+13-81 files

FreeNAS/freenas 7c1f09asrc/middlewared/middlewared job.py, src/middlewared/middlewared/utils asyncio_.py

Fix `JobProgressBuffer.set_progress` not being thread-safe

(cherry picked from commit d81435056f72f1303ccaa94364be2ca7b8c832ee)
DeltaFile
+159-0tests/unit/test_job_progress_buffer.py
+29-0src/middlewared/middlewared/utils/asyncio_.py
+2-1src/middlewared/middlewared/job.py
+190-13 files

LLVM/project b59d69dclang/lib/Headers riscv_packed_simd.h, clang/test/CodeGen/RISCV rvp-intrinsics.c

[RISCV][P-Ext] Unify pncvt(h) intrinsics between RV32 and RV64. (#210996)

Use __builtin_convertvector for pncvt and __builtin_shufflevector for
pncvth.

Alternatively we could use shift+__builtin_convertvector for pncvth but
that requires combining psrl+unzip(8/16)p to unzip(8/16)hp. I'm not sure
which is better right now.
DeltaFile
+24-28clang/test/CodeGen/RISCV/rvp-intrinsics.c
+2-21clang/lib/Headers/riscv_packed_simd.h
+26-492 files

LLVM/project 4b60d13llvm/lib/Target/RISCV RISCVInstrInfoVVLPatterns.td RISCVInstrInfoZvk.td, llvm/test/CodeGen/RISCV/rvv fixed-vectors-clmul.ll fixed-vectors-clmulh.ll

[RISCV] Add custom lowering for fixed-vector `CLMUL`/`CLMULH` (#210429)

`CLMUL` and `CLMULH` currently expand for fixed vector types on RISC-V,
even if `Zvbc` and/or `Zvbc32e` are available. Add custom lowering to
convert to scalable vector operations according to extension
availability.

Assisted-by: Claude Opus 4.8
DeltaFile
+5,516-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-clmulh.ll
+269-77llvm/test/CodeGen/RISCV/rvv/fixed-vectors-clmul.ll
+26-3llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+6-0llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
+3-0llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+5,820-805 files

FreeNAS/freenas 1748ba2src/middlewared/middlewared job.py, src/middlewared/middlewared/utils asyncio_.py

NAS-141948 / 27.0.0-BETA.1 / Fix `JobProgressBuffer.set_progress` not being thread-safe (#19402)

`JobProgressBuffer.set_progress` called `self.job.loop.call_later`. When
doing so from a thread, it might break event the loop.
DeltaFile
+159-0tests/unit/test_job_progress_buffer.py
+34-0src/middlewared/middlewared/utils/asyncio_.py
+4-3src/middlewared/middlewared/job.py
+197-33 files

LLVM/project 9a54344flang/lib/Optimizer/Transforms StackArrays.cpp StackArrays.h

[flang][NFC] Extract StackArrays analysis and rewrite into a header - memory passes unification [1/5] (#210721)

Move InsertionPoint, StackArraysAnalysisWrapper, and AllocMemConversion
out of the anonymous namespace in StackArrays.cpp into a new
StackArrays.h header (in namespace fir), so the "which fir.allocmem can
be safely moved to the stack, and where" analysis and the heap-to-stack
rewrite pattern can be reused by other passes.

The dataflow internals (AllocationState, LatticePoint,
AllocationAnalysis), the command-line options, and all method
definitions remain in the .cpp. No functional change intended.

RFC:
https://discourse.llvm.org/t/rfc-flang-improving-temporary-and-local-array-allocations-unify-stackarray-memoryallocation/91353

Assisted-by: AI
DeltaFile
+158-0flang/lib/Optimizer/Transforms/StackArrays.h
+16-129flang/lib/Optimizer/Transforms/StackArrays.cpp
+174-1292 files

LLVM/project d81bb91llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AMDGPU undefined-subreg-liverange.ll insert-vector-elt-build-vector-poison.ll

[DAGCombiner] Fold insert_vector_elt into a shared BUILD_VECTOR (#210905)

The `insert_vector_elt -> build_vector` fold requires the source
`BUILD_VECTOR` to have a single use, to avoid duplicating it. Allow it
for a multi-use base when the target sets
`aggressivelyPreferBuildVectorSources`: a `BUILD_VECTOR` is just glue
there (e.g. `REG_SEQUENCE` on AMDGPU), so rebuilding re-references the
base's existing scalar operands and adds no real work. This un-shares a
CSE-shared base produced by `insertelement` on a poison vector, so each
derived vector is built from scalars independently, as GlobalISel
already does.

The gate mirrors the sibling `extract_vector_elt` fold: `hasOneUse() ||
TLI.aggressivelyPreferBuildVectorSources(VT)`.

Split out from #199631 per review. Opted-in targets are AMDGPU, NVPTX,
and AArch64: AMDGPU and NVPTX improve, AArch64 is unchanged; non-opted
targets are unaffected. Affected AMDGPU and NVPTX tests are regenerated.


    [2 lines not shown]
DeltaFile
+69-73llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
+20-26llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
+22-0llvm/test/CodeGen/AMDGPU/insert-vector-elt-build-vector-poison.ll
+3-8llvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll
+6-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+120-1085 files

LLVM/project ee8bf56lld/wasm Symbols.cpp

[lld][WebAssembly] Fix SharedTagKind in toString (#212385)
DeltaFile
+1-1lld/wasm/Symbols.cpp
+1-11 files

LLVM/project aca7cdaclang/test/CodeGenCXX builtin-clear-padding-codegen.cpp, libcxx/test/std/text/text_encoding test_text_encoding.h

rebase

Created using spr 1.3.8-wip
DeltaFile
+1,045-1,527llvm/test/CodeGen/AMDGPU/frem.ll
+690-690llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-cmp.mir
+540-740llvm/test/Transforms/LoopUnroll/RISCV/vector.ll
+598-627clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp
+0-1,171libcxx/test/std/text/text_encoding/test_text_encoding.h
+1,171-0libcxx/test/support/test_text_encoding.h
+4,044-4,7551,714 files not shown
+44,709-26,7921,720 files

LLVM/project 520f0d9llvm/lib/Transforms/InstCombine InstCombineCompares.cpp

feedback

Created using spr 1.3.8-wip
DeltaFile
+6-7llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+6-71 files

LLVM/project f2c7e2blibc/src/__support/threads thread.cpp, libc/test/src/stdlib CMakeLists.txt

[libc] Fix atexit_test in hermetic mode (#210656)

We never unlocked the ThreadAtExit mutex, which meant the second call to
exit deadlocked. This was detected in the unit tests as they were
calling __cxa_thread_atexit from the system C library.
DeltaFile
+0-2libc/test/src/stdlib/CMakeLists.txt
+1-0libc/src/__support/threads/thread.cpp
+1-22 files

LLVM/project d1ce5f9llvm/lib/Transforms/Instrumentation AddressSanitizer.cpp, llvm/test/Instrumentation/AddressSanitizer asan-detect-invalid-pointer-pair.ll

[ASan] Instrument ptrtoaddr as pointer difference (#211988)

We want to emit ptrtoaddr instead of ptrtoint for pointer differences to
not expose the provenance. Adjust ASan instrumentation to handle this
case as well.
DeltaFile
+13-0llvm/test/Instrumentation/AddressSanitizer/asan-detect-invalid-pointer-pair.ll
+1-1llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+14-12 files

LLVM/project ed40900llvm/include/llvm/ProfileData SampleProf.h, llvm/lib/ProfileData SampleProfWriter.cpp

[SampleProfile] Fix symbol partitioning in Eytzinger name table (#211906)

This patch fixes the symbol partitioning between context-sensitive
and flat profiles in writeEytzingerNameTableSection.

In split-layout profiles, top-level symbols in the Eytzinger name
table are partitioned into two bins -- context-sensitive and flat keys
-- so that they form parallel arrays with function offsets.

Without this patch, writeEytzingerNameTableSection uses:

  if (Ctx.hasContext())

to decide which bin to use even though splitProfileMapToTwo uses:

  if (!I.second.getCallsiteSamples().empty())

to partition the profile.  This difference causes certain symbols to
be classified into FlatKeys in the name table but into

    [13 lines not shown]
DeltaFile
+25-0llvm/test/tools/llvm-profdata/eytzinger-split-nametable-partition.test
+2-2llvm/lib/ProfileData/SampleProfWriter.cpp
+3-0llvm/include/llvm/ProfileData/SampleProf.h
+30-23 files

LLVM/project de962ddlibcxx/include/__atomic clear_padding.h, libcxx/include/__atomic/support gcc.h

[libc++] Implement P0528R3 `std::atomic` CAS for types with padding (#76180)

Fixes #99984

Implement P0528R3 The Curious Case of Padding Bits, Featuring Atomic
Compare-and-Exchange


The unit test padding.pass.cpp is assisted by Cursor. However, all tests
have been modified to test what I wanted to test

---------

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
DeltaFile
+938-0libcxx/test/libcxx/atomics/clear_padding.pass.cpp
+0-919libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
+270-0libcxx/test/std/atomics/atomics.types.generic/padding.pass.cpp
+187-0libcxx/test/libcxx/atomics/atomics.types.generic/padding.pass.cpp
+79-53libcxx/include/__atomic/support/gcc.h
+92-0libcxx/include/__atomic/clear_padding.h
+1,566-9726 files not shown
+1,633-1,01312 files

OpenBSD/ports c41TMd9www/nghttp3 distinfo Makefile

   Update to nghttp3 1.18.0

   https://github.com/ngtcp2/nghttp3/releases/tag/v1.18.0
VersionDeltaFile
1.26+2-2www/nghttp3/distinfo
1.30+2-2www/nghttp3/Makefile
+4-42 files

OpenBSD/ports M1aTE3Vnet/ngtcp2 distinfo Makefile

   Update to ngtcp2 1.25.0

   https://github.com/ngtcp2/ngtcp2/releases/tag/v1.25.0
VersionDeltaFile
1.42+3-3net/ngtcp2/Makefile
1.40+2-2net/ngtcp2/distinfo
+5-52 files

OpenBSD/ports WFun1Iedevel/jjui Makefile modules.inc

   Update to jjui 0.10.9

   https://github.com/idursun/jjui/releases/tag/v0.10.9
VersionDeltaFile
1.29+50-54devel/jjui/distinfo
1.16+17-19devel/jjui/modules.inc
1.30+1-1devel/jjui/Makefile
+68-743 files

LLVM/project b63591dclang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGenOpenCL invalid-kernel-arg-metadata-target-address-space.cl kernel-arg-info-single-as.cl

fix: map target address spaces to default OpenCL metadata
DeltaFile
+21-9clang/lib/CIR/CodeGen/CIRGenModule.cpp
+9-0clang/test/CIR/CodeGenOpenCL/kernel-arg-info-single-as.cl
+0-5clang/test/CIR/CodeGenOpenCL/invalid-kernel-arg-metadata-target-address-space.cl
+30-143 files

LLVM/project a3ff15cclang/lib/CIR/CodeGen CIRGenModule.h CIRGenModule.cpp, clang/test/CIR/CodeGenOpenCL invalid-kernel-arg-metadata-target-address-space.cl kernel-arg-metadata.cl

[CIR][OpenCL] Attach kernel argument metadata to CIR functions

Emit the CIR OpenCL kernel argument metadata attribute for kernel functions. Preserve CIR language address-space kinds until lowering and include argument names only when `-cl-kernel-arg-info` is enabled.
DeltaFile
+152-0clang/test/CIR/CodeGenOpenCL/kernel-arg-info.cl
+91-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+19-0clang/test/CIR/CodeGenOpenCL/kernel-arg-info-single-as.cl
+12-0clang/test/CIR/CodeGenOpenCL/kernel-arg-metadata.cl
+5-0clang/test/CIR/CodeGenOpenCL/invalid-kernel-arg-metadata-target-address-space.cl
+4-0clang/lib/CIR/CodeGen/CIRGenModule.h
+283-01 files not shown
+286-07 files

LLVM/project 0a30b0cllvm/lib/Target/AMDGPU AMDGPU.td

AMDGPU: Declare FeatureDPP with AMDGPUSubtargetFeature (#212408)

All other features were defined using the AMDGPUSubtargetFeature
subclass of SubtargetFeature, so fix the odd one out.
DeltaFile
+3-4llvm/lib/Target/AMDGPU/AMDGPU.td
+3-41 files