LLVM/project 6a5b8dc — flang/include/flang/Optimizer/Dialect/CUF/Attributes CUFAttr.td, flang/lib/Optimizer/Dialect/CUF/Attributes CUFAttr.cpp

[flang][cuda] Add cuf.launch_config attribute recording a kernel directive's launch configuration (#229980)

Add a `cuf.launch_config` attribute to the CUF dialect, together with a
`getLaunchConfigAttrName()` helper for the attribute name.

The attribute records how a `!$cuf kernel do` directive spelled its
launch configuration: the number of dimensions the directive names, and
each grid dimension as written. A grid dimension left to the compiler is
spelled `*`, a constant by its value, and a variable by its name.

```mlir
#cuf.launch_config<dims = 2 : i64, grid = ["*", "*"]>
```
DeltaFile
+23-0flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.td
+21-0flang/test/Fir/CUDA/cuda-launch-config-attr.mlir
+1-1flang/lib/Optimizer/Dialect/CUF/Attributes/CUFAttr.cpp
+45-13 files

LLVM/project cbbf5f9 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp

Move SCC dead check to the beginning of 'if' block
DeltaFile
+3-6llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+3-61 files

LLVM/project aa98fd4 — llvm/test/CodeGen/AMDGPU shrink-disjoint-or-scc.mir shrink-insts-scalar-bit-ops.mir

Merge the cases to an existing test file
DeltaFile
+0-35llvm/test/CodeGen/AMDGPU/shrink-disjoint-or-scc.mir
+35-0llvm/test/CodeGen/AMDGPU/shrink-insts-scalar-bit-ops.mir
+35-352 files

LLVM/project 52acb17 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll shrink-disjoint-or-scc.mir

Address review feedback:
1. Use allImplicitDefsAreDead() helper to check whether SCC is dead
2. Simplify .ll test case
3. Add a new .mir test case
DeltaFile
+35-0llvm/test/CodeGen/AMDGPU/shrink-disjoint-or-scc.mir
+6-8llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+1-2llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+42-103 files

LLVM/project 1c17477 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll

[AMDGPU] Preserve live SCC when shrinking disjoint S_OR_B32
DeltaFile
+6-0llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+2-1llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+8-12 files

LLVM/project 2eb4cf8 — llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll

Precommit test case for s_or incorrectly transformed to s_addk when SCC is live
DeltaFile
+28-0llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+28-01 files

LLVM/project 785f841 — bolt/include/bolt/Profile DataAggregator.h, bolt/lib/Profile DataAggregator.cpp

[BOLT] Match mmap events by build id (#229596)

Profiling on a host running two versions of the target binary with `perf
-a` might result in a profile containing mmap events from the desired
target and the second copy of that binary. In this case, perf2bolt will
attribute samples from both processes to the target binary. Match by
build id to filter samples.

Co-authored-by: Alexey Moksyakov <moksyakov.alexey at huawei.com>
DeltaFile
+79-0bolt/unittests/Profile/DataAggregator.cpp
+40-23bolt/lib/Profile/DataAggregator.cpp
+4-2bolt/include/bolt/Profile/DataAggregator.h
+123-253 files

LLVM/project e1cf700 — flang/lib/Semantics check-cuda.cpp, flang/test/Semantics/CUDA cuf-hostdevice-inherited-spec.cuf cuf-hostdevice-generic-diagnostics.cuf

[flang][cuda][semantics] Reject unguarded host-only and device-only calls in CUDA HOST,DEVICE procedures (#228176)

Previously, semantic checking allowed host-only and device-only calls
throughout a HOST,DEVICE procedure. This change requires unguarded
callees to support both its host and device versions.

A condition that checks the intrinsic ON_DEVICE permits host-only and
device-only calls in its guarded arms. The allowance includes one-line
IF statements, nested branches, and USE aliases. In an IF/ELSE IF chain,
a guard also applies to subsequent ELSE IF and ELSE arms. Guards
established inside an arm remain local to that arm.

When an ON_DEVICE arm, or its associated plain ELSE arm, contains an
unconditional RETURN, the allowance extends to the continuation after
the IF. Unconditional BLOCK constructs propagate these guards. A RETURN
in an unrelated IF/ELSE IF arm does not establish a continuation guard.
Unrelated branches restore their incoming checking context while
retaining an enclosing guard.


    [37 lines not shown]
DeltaFile
+291-100flang/lib/Semantics/check-cuda.cpp
+371-0flang/test/Semantics/CUDA/cuf-hostdevice-return-guard.cuf
+347-0flang/test/Semantics/CUDA/cuf-hostdevice-expression-context.cuf
+335-0flang/test/Semantics/CUDA/cuf-hostdevice-call-context.cuf
+162-0flang/test/Semantics/CUDA/cuf-hostdevice-generic-diagnostics.cuf
+139-0flang/test/Semantics/CUDA/cuf-hostdevice-inherited-spec.cuf
+1,645-1008 files not shown
+1,994-15314 files

Linux/linux 0c2669a — arch/arm64/boot/dts/freescale fsl-lx216x.dtsi, drivers/clk/qcom gcc-kaanapali.c gcc-hawi.c

Merge tag 'soc-fixes-7.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:

 - Four distinct issues in TEE firmware, all fairly minor

 - Five devicetree mistakes on NXP i.MX8, lx2160a and Qualcomm
   based machines, one of these may cause file system corruption
   from an incorrect SD card supply voltage

 - Five fixes for clk drivers on new Qualcomm platforms,
   addressing issues with incorrect enable states

* tag 'soc-fixes-7.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  MAINTAINERS: update my email address
  tee: optee: ffa: support shared memory offsets on large-page kernels
  optee: register TEE devices only once fully initialized
  tee: shm: reject zero-sized allocations in tee_dyn_shm_alloc_helper()
  arm64: dts: imx8mp-var-dart-sonata: Fix Sonata SD I/O supply

    [10 lines not shown]
DeltaFile
+26-12drivers/tee/optee/ffa_abi.c
+13-6arch/arm64/boot/dts/freescale/fsl-lx216x.dtsi
+8-9drivers/tee/optee/smc_abi.c
+4-2drivers/clk/qcom/gcc-kaanapali.c
+4-2drivers/clk/qcom/gcc-hawi.c
+4-2drivers/clk/qcom/gcc-eliza.c
+59-3311 files not shown
+76-4317 files

Linux/linux 8fc6e59 — drivers/usb/mtu3 mtu3_trace.h

Merge tag 'usb-mtu3.2026.10.06a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Pull tracing fix from Paul McKenney:
 "Fix a double-dereference splat in TP_printk in usb mtu3. This was a
  pre-existing bug that can corrupt tracing output, but which was
  exposed this cycle by additional checking that was added to the
  tracing subsystem.

  This splat is reporting a double-dereference that can result in
  garbage traces being dumped due to the possibility of the TP_printk()
  being executed without the benefit of main memory being present.

  The fix is to move the extra dereference from TP_printk() time to
  TP_fast_assign() time"

* tag 'usb-mtu3.2026.10.06a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
  usb: mtu3: Fix double dereference in TP_printk
DeltaFile
+3-1drivers/usb/mtu3/mtu3_trace.h
+3-11 files

FreeBSD/ports ee2d46c — japanese/mozc-server/files/qt6 patch-src_gui_qt__rcc.gypi patch-src_gui_qt__uic.gypi

japanese/mozc-server: Switch mozc-tool to Qt6

Add missing dependancy.

PR:             298513
Approved by:    hrs (maintainer, timeout 2 weeks)
Approved by:    osa, fluffy (mentors, implicit)
DeltaFile
+44-0japanese/mozc-server/files/qt6/patch-src_gui_dictionary__tool_dictionary__tool.cc
+41-0japanese/mozc-server/files/qt6/patch-src_gui_character__pad_unicode__util.cc
+40-0japanese/mozc-server/files/qt6/patch-src_gui_character__pad_character__palette.cc
+13-0japanese/mozc-server/files/qt6/patch-src_gui_qt__libraries.gypi
+11-0japanese/mozc-server/files/qt6/patch-src_gui_qt__rcc.gypi
+11-0japanese/mozc-server/files/qt6/patch-src_gui_qt__uic.gypi
+160-010 files not shown
+253-616 files

LLVM/project 3a2b903 — flang/docs Extensions.md, flang/lib/Semantics resolve-names.cpp

[Flang] Generalize intrinsic CUBLAS USE association (#220024)

This PR generalizes the work done in
[PR#217455](https://github.com/llvm/llvm-project/pull/217455) to work
for the entire cublas library.
DeltaFile
+355-0flang/test/Semantics/CUDA/cuf-use-cublas-blas-generic.cuf
+24-11flang/lib/Semantics/resolve-names.cpp
+16-0flang/docs/Extensions.md
+395-113 files

Linux/linux 4cc6bba — kernel/rcu srcutree.c

Merge tag 'urgent.2026.10.01a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux

Pull RCU fix from Paul McKenney:
 "Fix spurious WARN_ON() for rcu_segcblist_n_cbs() in
  cleanup_srcu_struct()

  This issue was introduced by 78a38cbf6f20 ("srcu: Queue
  sdp->work when the delay timer is successfully deleted")
  during this merge window.

  Enough people are hitting this that I am sending it now
  rather than waiting for the next merge window. Especially
  given that it is a simple one-liner"

* tag 'urgent.2026.10.01a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux:
  srcu: Fix WARN_ON() for rcu_segcblist_n_cbs() in cleanup_srcu_struct()
DeltaFile
+1-1kernel/rcu/srcutree.c
+1-11 files

LLVM/project ab875fc — flang-rt/test/Driver implicit-module-prefix.f90, flang/lib/Semantics resolve-names.cpp

[flang] Diagnose and optionally repair missing MODULE procedure prefixes (#220783)

This change diagnoses submodule procedure definitions that match a
separate module procedure interface but omit the required `MODULE`
prefix.

Without the extension, Flang leaves an unprefixed definition as a local
procedure. `-Wportability` or `-pedantic` diagnoses a likely missing
prefix without changing the program.

The new `-fimplicit-module-prefix` option provides an opt-in
compatibility mode that binds a matching definition in the current
source to its ancestor module interface. Definitions read from module
files retain the interpretation chosen when those files were produced.
`-Wimplicit-module-prefix` or `-pedantic` reports when the repair is
applied; the diagnostic can be suppressed without disabling the repair.

Since this extension cannot distinguish an omitted prefix from an
intentionally local procedure with the same name as an ancestor

    [8 lines not shown]
DeltaFile
+72-0flang/test/Semantics/implicit-module-prefix-modfile.f90
+47-0flang/test/Lower/implicit-module-prefix-shadow.f90
+45-0flang-rt/test/Driver/implicit-module-prefix.f90
+32-4flang/lib/Semantics/resolve-names.cpp
+25-0flang/test/Lower/implicit-module-prefix.f90
+23-0flang/test/Driver/implicit-module-prefix.f90
+244-412 files not shown
+369-518 files

FreeBSD/ports f24c69c — devel/bazel9 Makefile distinfo

devel/bazel9: update to 9.3.0
DeltaFile
+3-3devel/bazel9/distinfo
+1-2devel/bazel9/Makefile
+4-52 files

FreeBSD/ports 23b08de — devel/bazel8 Makefile distinfo

devel/bazel8: update to 8.8.1
DeltaFile
+3-3devel/bazel8/distinfo
+1-1devel/bazel8/Makefile
+4-42 files

LLVM/project 415b70a — clang/lib/Frontend CompilerInstance.cpp, clang/lib/FrontendTool ExecuteCompilerInvocation.cpp

[clang-repl] Handle mllvm args for clang-repl before calling executeAction (#197133)

Fixes #178139

This work is built on top of discussions done in
https://github.com/llvm/llvm-project/pull/132670
Making a fresh PR cause the branch is a a year old and a bit outdated.

### Problem Statement : This is a 3 part problem statement. Imagine our
compiler builder args look like this
```
  CB.SetCompilerArgs({
      "-v",
      "-xc++",
      "-std=c++23",
      "-Xclang", "-iwithsysroot/include/compat",
      "-fwasm-exceptions",
      "-mllvm", "-wasm-enable-sjlj"
  });

    [118 lines not shown]
DeltaFile
+23-0clang/unittests/Interpreter/InterpreterTest.cpp
+20-1clang/lib/Interpreter/Wasm.cpp
+1-15clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+14-0clang/lib/Frontend/CompilerInstance.cpp
+11-1clang/unittests/Interpreter/InterpreterTestFixture.h
+7-0clang/lib/Interpreter/Interpreter.cpp
+76-175 files not shown
+91-1911 files

LLVM/project fd35b54 — llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV] Remove unnecessary redeclarations of XLenVT in LowerINTRINSIC_WO_CHAIN. NFC (#228152)
DeltaFile
+0-3llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+0-31 files

LLVM/project 6d86521 — llvm/lib/Target/X86 X86SelectionDAGInfo.cpp X86InstrFragmentsSIMD.td

[X86] Make EXTRQI/INSERTQI SDTypeProfile accurate and enable verifyTargetNode (#229655)

The type profile says the type needs to be v2i64, but it is created with
v16i8, v8i16, or v2i64 type.

Relax the type profile to allow this and add extra isel patterns to make
isel continue to work.

I judged that this was easier than adding bitcasts.
DeltaFile
+15-4llvm/lib/Target/X86/X86InstrSSE.td
+6-5llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
+0-9llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
+21-183 files

FreeBSD/src 6f5803e — sys/dev/iwx if_iwxreg.h if_iwx.c

iwx: update if_iwx.c to OpenBSD v1.184 and if_iwxreg.h to OpenBSD v1.53

This updates iwx to the given OpenBSD versions upstream.

This is a squashed commit of the given differential revisions
and openbsd upstream commits.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59757
Differential Revision:  https://reviews.freebsd.org/D59758
Differential Revision:  https://reviews.freebsd.org/D59759
Differential Revision:  https://reviews.freebsd.org/D59760
Differential Revision:  https://reviews.freebsd.org/D59761
Differential Revision:  https://reviews.freebsd.org/D59762
Differential Revision:  https://reviews.freebsd.org/D59763
Differential Revision:  https://reviews.freebsd.org/D59764
Differential Revision:  https://reviews.freebsd.org/D59765
Differential Revision:  https://reviews.freebsd.org/D59766


    [10 lines not shown]
DeltaFile
+25-24sys/dev/iwx/if_iwx.c
+3-2sys/dev/iwx/if_iwxreg.h
+28-262 files

LLVM/project 3ed4eae — llvm/lib/Transforms/IPO OpenMPOpt.cpp, llvm/test/Transforms/OpenMP par_region_merge_profile.ll

[OpenMPOpt][PGO] Set entry count on merged parallel wrapper (#221654)

When OpenMPOpt merges adjacent parallel regions, it creates a new
wrapper (*..omp_par) that calls the original outlined callbacks through
a single __kmpc_fork_call.

Preserve profiling information for the merged wrapper by assigning it
the
largest function_entry_count from the original callbacks. Also preserve
callsite counts for calls to the original callbacks, since SamplePGO may
otherwise treat them as cold once the wrapper itself has profile data.
DeltaFile
+156-0llvm/test/Transforms/OpenMP/par_region_merge_profile.ll
+44-0llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+200-02 files

LLVM/project d9f4c2d — flang/lib/Semantics resolve-names.cpp, flang/test/Semantics resolve36.f90

[flang] Reject MODULE prefix in abstract interface body (#212980)

Issue: Flang accepts a MODULE prefix on a function or subroutine inside
an ABSTRACT INTERFACE. C1547 allows MODULE only on a module subprogram,
or on a nonabstract interface body in a module or submodule.

Fixes #208200

Root cause
- BeginSubprogram() only enforced the module/submodule half of C1547. An
abstract interface inside a module or submodule still has that scope, so
the check passed.
- In PushSubprogramScope(), an abstract interface body takes the
isAbstract() path, sets ABSTRACT, and never looks at hasModulePrefix, so
the prefix was ignored with no diagnostic.
```
if (isAbstract()) {
  SetExplicitAttr(*symbol, Attr::ABSTRACT);
} else if (hasModulePrefix) {

    [21 lines not shown]
DeltaFile
+33-0flang/test/Semantics/resolve36.f90
+5-1flang/lib/Semantics/resolve-names.cpp
+38-12 files

LLVM/project 917ea76 — flang/lib/Optimizer/HLFIR/IR HLFIROps.cpp, flang/lib/Optimizer/HLFIR/Transforms LowerHLFIRIntrinsics.cpp SimplifyHLFIRIntrinsics.cpp

[Flang][HLFIR] Lower PACK(array, .TRUE.) to hlfir.reshape (#220860)

When the PACK mask is the compile-time scalar .TRUE., the result is
equivalent to RESHAPE(array, [SIZE(array)]). Lower all PACK calls to
hlfir.pack, then simplify pack(array, .TRUE.) to hlfir.reshape with an
index-typed SHAPE temporary in SimplifyHLFIRIntrinsics. Variable or
array masks, VECTOR, and non-trivial or polymorphic operands continue to
use the runtime PACK path.

Add regression tests for character and real(k) PACK with scalar .TRUE.

Relanding the patch #213603 after fixing the regression

---------

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+111-0flang/test/HLFIR/simplify-hlfir-intrinsics-pack.fir
+71-0flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
+60-0flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+41-8flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
+48-0flang/test/Lower/HLFIR/pack_scalar_true.f90
+40-0flang/test/HLFIR/invalid.fir
+371-86 files not shown
+469-3412 files

FreeBSD/src bf97446 — share/man/man4 ipmi.4, sys/dev/ipmi ipmi.c

ipmi(4): improve debugging for ioctl(IPMICTL_SEND_COMMAND)

Add a knob to debug ioctl(IPMICTL_SEND_COMMAND). Log the IPMI NetFn and
Cmd fields, followed by a hexdump of the request data. Upon completion,
log the hexdump of the response data.

Reviewed by:    adrian, imp, ngie
Sponsored by:   Vdura
Differential Revision:  https://reviews.freebsd.org/D59514
DeltaFile
+33-1share/man/man4/ipmi.4
+18-0sys/dev/ipmi/ipmi.c
+51-12 files

FreeBSD/ports 7e6eb47 — misc/py-litellm Makefile distinfo

misc/py-litellm: Update to 1.104.1

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.104.1

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm/distinfo
+1-1misc/py-litellm/Makefile
+4-42 files

FreeBSD/ports 89ff517 — misc/py-litellm-proxy-extras Makefile distinfo

misc/py-litellm-proxy-extras: Update to 0.4.106

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

LLVM/project 5bd54fd — clang/test/CXX/over/over.oper/over.inc/over.inc.default p1.cpp

Add various defaulted postfix operator overloads with restrictions and error checks

Introduce new structures demonstrating defaulted postfix increment and decrement operators with various qualifiers such as `__restrict__`, `volatile`, and `const`. Include error checks for invalid return types and parameter types in defaulted operators. Enhance the handling of placeholder types and clarify the rules around defaulted operators in the context of C++ concepts and templates.
DeltaFile
+157-0clang/test/CXX/over/over.oper/over.inc/over.inc.default/p1.cpp
+157-01 files

LLVM/project 9ceae7c — clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaDeclCXX.cpp

Merge `err_defaulted_comparison_template` and `err_defaulted_postfix_operator_template`
DeltaFile
+3-7clang/lib/Sema/SemaDeclCXX.cpp
+3-5clang/include/clang/Basic/DiagnosticSemaKinds.td
+6-122 files

FreeBSD/src 8436cbd — sys/kern kern_jaildesc.c

jaildesc: Lock prison pointer when filling kinfo

Submitted by:   Yuri Tkachenko <yura.tkachenko at gmail.com>
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D60392

(cherry picked from commit a5ae2a9bfb1ca7f49e79ee63ed39216c42326d02)
DeltaFile
+2-0sys/kern/kern_jaildesc.c
+2-01 files

LLVM/project 87e28b1 — compiler-rt/lib/tsan/go test.c, compiler-rt/lib/tsan/rtl tsan_interface_atomic.cpp

[tsan][go] Relax alignment for 128-bit Go atomic args buffer access (#213123)

The Go 128-bit atomic helpers added by #196833 read and write the
128-bit value through an a128* cast of the u8* args buffer (e.g.
*(a128*)(a + 8)). Clang treats a128* as requiring 16-byte alignment and
emits MOVAPS or MOVDQA on x86_64. The Go runtime only guarantees 8-byte
alignment of the args buffer, so a+8 may not be 16-byte aligned. The
misaligned MOVAPS raises GP and causes a SIGSEGV.

Use an 8-byte-aligned typedef (`using a128_u64 ALIGNED(8) = a128;`) for
args buffer accesses so Clang emits unaligned 128-bit moves (MOVDQU).
The target address of the atomic operation itself (`*(a128**)a`) is
always 16-byte aligned from the Go side.
DeltaFile
+23-0compiler-rt/lib/tsan/go/test.c
+9-4compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
+32-42 files