[CIR] Support zero-result ops in clangir TableGen lowering (#202273)
### summary
This is follow-up to https://github.com/llvm/llvm-project/pull/199599
A CIR op can set the llvmOp field to have cir-tblgen auto-generate its
CIR→LLVM lowering instead of using a hand-written pattern.However, the
generated body forwards the result type via op.getType(), which only
compiles for single-result ops. As a result, ops with zero results could
not use this feature.
To fix this, teach CIRLoweringEmitter to emit an empty mlir::TypeRange{}
for zero-result ops. Then switch cir.lifetime.start and cir.lifetime.end
to use llvmOp (dropping their hand-written lowering). The lifetime.cir
test covers the generated path.
[SCEV] Speed up forgetLoop by avoiding def-use walk for loop-header PHIs (#201572)
Every cached SCEV varies with Loop `L` transitively contains an
`AddRec`, and every `AddRec` for the loop is recorded in `LoopUsers[L]`.
`forgetMemoizedResults` already closes this set transitively through
`SCEVUsers` and `ExprValueMap`.
Therefore `forgetLoop` does not need to walk the def-use chain starting
from header PHIs, it only needs to initialize `ToForget` with
`LoopUsers[L]` and explicitly remove each header PHI's entries from
`ValueExprMap` and `ConstantEvolutionLoopExitValue`, push its cached
SCEVs into `ToForget`.
As a side effect, cached SCEVs that reside in the loop body but do not
depend on any `AddRec` for the loop (e.g. a `SCEVUnknown` for an icmp)
are no longer invalidated.
chat/py-xmpppy: Update to 0.7.4
2026-06-09 0.7.4
================
- Fixed ``UnicodeDecodeError`` while logging large stanzas by using ``backslashreplace`` handler.
Thanks, @vthriller and @normanr.
- Improved compatibility with Python 2. Thanks, @vbontchev.
[NFC][clang-sycl-linker] Standardize error messages to LLVM coding style (#202767)
Follow LLVM coding standards for error messages: use lowercase first
letter and no trailing period. This matches the style used throughout
LLVM tools (llvm-objcopy, lld, etc.) and aligns with the official
guidance in llvm/docs/CodingStandards.rst.
Updated corresponding test assertions in basic.ll and triple.ll.
[SSAF] Let function parameters inherit linkage from their parent functions (#201946)
SSAF treats parameters as entities and may not always associate them
back to their parent functions. Therefore, it needs to identify
parameters of functions with external linkage across different TUs.
Treating them as having no linkage (as in C++) causes the same parameter
in different TUs to be assigned different EntityIDs. As a result, the
behavior of the parameter across multiple TUs cannot be correlated.
rdar://178844032
---------
Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
[RISCV] Adopt SpacemitX60's scheduling model for `-mtune=generic` (#167008)
Per our discussions in RISC-V roundtable during LLVM Dev Meeting 2025,
there has been a consensus to create a base / generic scheduling model
for the most common performance tuning usages. As the first step, we
agree to use SpacemitX60's scheduling model for that purpose for the
time being, with an expectation to create a standalone generic model
that could evolve independently in the future.
This patch sets `-mtune=generic` to use SpacemitX60's scheduling model,
and documents the rationale behind it, including the roadmap ahead as we
discussed.
drm/i915/psr: Use DC_OFF wake reference to block DC6 on vblank enable
From Jouni Hogander
21bfa15a89d888d37e4881d64fc473cb85f4697a in linux-6.18.y/6.18.35
3549a9649dc7c5fc586ab12f675279283cdcb2a7 in mainline linux
linux: Add TCP_INFO support
Implement the getsockopt for TCP_INFO by mapping FreeBSD's version to
what Linux expects.
MFC after: 1 month
Relnotes: yes
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D55882
drm/amdgpu: check num_entries in GEM_OP GET_MAPPING_INFO
From Ziyi Guo
f059b4c493df3e54fe3ffe4658009c31864275da in linux-6.18.y/6.18.35
a1ba4594232c87c3b8defd6f89a2e40f8b08395d in mainline linux
Merge tag 'trace-rv-v7.1-rc6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull runtime verifier fixes from Steven Rostedt:
- Fix reset ordering on per-task destruction
Reset the task before dropping the slot instead of after, which was
causing out-of-bound memory accesses.
- Fix HA monitor synchronization and cleanup
Ensure synchronous cleanup for HA monitors by running timer callbacks
in RCU read-side critical sections and using synchronize_rcu() during
destruction.
- Avoid armed timers after tasks exit
Add automatic cleanup for per-task HA monitors to prevent timers from
firing after task exit.
[58 lines not shown]
drm/amdgpu: fix calling VM invalidation in amdgpu_hmm_invalidate_gfx
From Christian Koenig
fa372f4e8aeff6d0d3dd2f14b9165b4013e72a6d in linux-6.18.y/6.18.35
1c824497d8acd3187d585d6187cedc1897dcc871 in mainline linux
drm/amdgpu: fix lock leak on ENOMEM in AMDGPU_GEM_OP_GET_MAPPING_INFO
From Michael Bommarito
1eb86334e391695d4a40743b114afc15df4dc506 in linux-6.18.y/6.18.35
2e7f55eb408c3f72ee1957a0d0ad11d8648a6379 in mainline linux
drm/amdkfd: Check for pdd drm file first in CRIU restore path
From David Francis
275396bf71c4d30a2a86ccf078f732cc9fe17e26 in linux-6.18.y/6.18.35
6842b6a4b72da9b2906ffc5ca9d846ace2c54c14 in mainline linux
[lld][MachO] Handle compact unwind entries with no matching symbol (#180009)
Context: This change is to support [MachO basic block hot-cold
splitting](https://discourse.llvm.org/t/rfc-support-fsplit-machine-functions-on-macho-arm64/89739)
- though it's presented below outside of this context.
Compact unwind entries can reference function addresses that have no
corresponding symbol in the object's symbol table (e.g. functions with
temporary local labels). Previously, this would trigger an assertion
failure in assert-enabled builds, or silently drop the unwind entry in
release builds, resulting in missing unwind info at runtime.
Fix this by synthesizing a local `Defined` symbol when no symbol exists
at the target address of a compact unwind entry, so that unwind info is
correctly emitted.
[Assisted-by](https://t.ly/Dkjjk): Cursor IDE + claude-opus-4.6-high +
gpt-5.2-xhigh
drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger
From Eric Huang
5cf4a41aa0d74e4c83f82d2ce233b5189ed4b43c in linux-6.18.y/6.18.35
93f5534b35a05ef8a0109c1eefa800062fee810a in mainline linux
drm/amdkfd: fix NULL pointer bug in svm_range_set_attr
From Eric Huang
2f9c3c161692f5bf1436e869a651bed10936e071 in linux-6.18.y/6.18.35
e984d61d92e702096058f0f828f4b2b8563b88ce in mainline linux
[clang-offload-bundler] Convert `std::vector` to `llvm::SmallVector` in `OffloadBundlerConfig` (#192259)
Replace `std::vector<std::string>` with `llvm::SmallVector<std::string,
4>`
for TargetNames, InputFileNames, and OutputFileNames to avoid heap
allocation for small number of elements.
drm/amd/pm/si: Disregard vblank time when no displays are connected
From Timur Kristof
ffa7dce35b64fc5cfce56fe9f164c708a6b5ca54 in linux-6.18.y/6.18.35
dd4f3ee535b3b0ac027f75dbf9dc5fc88733c765 in mainline linux
drm/i915: Fix potential UAF in TTM object purge
From Janusz Krzysztofik
c9ae7e7e3bc98615364313b08d7acea5239ded0b in linux-6.18.y/6.18.35
5c4063c87a619e4df954c179d24628636f5db15f in mainline linux