[PATCH v3 4/7] llvm: Upgrade to 22.1.2 release

Khem Raj
2026-03-26T15:16:54Z

Brings following fixes

* 1ab49a973e21 [clang-format] Fix regression in annotating angles in static_assert (#187966)
* ed9551146fc6 [SLP]Improve reductions for copyables/split nodes
* 8f8b53a0ecb3 [LLD] [ELF] Make -z gcs=always implicitly warn on missing GCS, like force-bti (#186203)
* 8efb87ae5a53 [RISCV] Relax out of range Zibi conditional branches (#186965)
* 94411c9d5684 [SystemZ] Remove custom lowering of f16 IS_FPCLASS (#187532)
* 2e1aea64649d [LoongArch] Ensure .dwo sections do not contain relocations (#187429)
* bef8df8a6041 [clang][AST] Fix assertion in `getFullyQualifiedType` for AutoType (#186105)
* 9fdb8da1c50c [analyzer][docs] Mention that 'expand-macros' won't use clang-format in the future
* 80f11cb923ee release/22.x: Backport workarounds for certain addMatcher overloads ignoring traversal kind
* 8ac0a123a5e8 [PowerPC] Preserve load output chain in vcmpequb combine (#187010)
* 20795d7ebda8 [clang] Backport: use canonical arguments for checking function template constraints
* 160377d62836 [lld][ELF] Fix crash when relaxation pass encounters synthetic sections
* dc8750d91147 [libc++] Fix iostream size ABI break (#185839)
* 3611dc1bf0ac Fix comment in FPR128 test (NFC)
* 34bf276866f5 [AArch64] Ensure FPR128 callee-save stack offsets are aligned (#184314)
* c1c833734cf0 [clang][CUDA] Define _NV_RSQRT_SPECIFIER for glibc-2.42/cuda-13.2 compatibility (#185701)
* b73f72ec9a34 Update ptrtoaddr provenance reference in ReleaseNotes
* 6121df77a781 [clang-tidy] Correctly handle attributes in readability-inconsistent-ifelse-braces (#184095)
* 5315e0b2f0b5 [SystemZ] Limit depth of findCCUse() (#185922)
* 81cf937ba2ac [arm64ec] Fix missing sret return in Arm64EC entry thunks for large struct returns (#185452)
* 4dfb4b6017c4 [FastISel] Lower call instruction with illegal type returned (#180322)
* 92a6627fa8ef [SimplifyCFG] process prof data when remove case in umin (#182261)
* 318adced66e0 [AArch64][llvm] Update Armv9.7-A dependencies (#185034)
* 7a9fd4a550e5 [win][clang] Fix devirtualization of vector deleting destructor call (#183741)
* 7ad5ff138776 Bump version to 22.1.2

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
meta/conf/distro/include/maintainers.inc | 2 +-
meta/recipes-devtools/clang/common-clang.inc | 2 +-
meta/recipes-devtools/clang/common.inc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index ff67d8c886..3e3fd1f210 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -484,7 +484,7 @@ RECIPE_MAINTAINER:pn-linux-yocto-tiny = "Bruce Ashfield <bruce.ashfield@gmail.co
RECIPE_MAINTAINER:pn-lld = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-lldb = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-llvm = "Khem Raj <raj.khem@gmail.com>"
-RECIPE_MAINTAINER:pn-llvm-project-source-22.1.1 = "Khem Raj <raj.khem@gmail.com>"
+RECIPE_MAINTAINER:pn-llvm-project-source-22.1.2 = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-llvm-tblgen-native = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-log4cplus = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-logrotate = "Yi Zhao <yi.zhao@windriver.com>"
diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc
index 83735e292e..013a7f059d 100644
--- a/meta/recipes-devtools/clang/common-clang.inc
+++ b/meta/recipes-devtools/clang/common-clang.inc
@@ -5,7 +5,7 @@ LLVM_HTTP ?= "https://github.com/llvm"

MAJOR_VER = "22"
MINOR_VER = "1"
-PATCH_VER = "1"
+PATCH_VER = "2"
# could be 'rcX' or 'git' or empty ( for release )
VER_SUFFIX = ""

diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc
index 00aeed3993..afb79129b3 100644
--- a/meta/recipes-devtools/clang/common.inc
+++ b/meta/recipes-devtools/clang/common.inc
@@ -17,7 +17,7 @@ BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}${VER_SUFFI
UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
SOURCEDIR ?= "llvm-project-${PV}${VER_SUFFIX}.src"
-SRC_URI[sha256sum] = "9c6f37f6f5f68d38f435d25f770fc48c62d92b2412205767a16dac2c942f0c95"
+SRC_URI[sha256sum] = "62f2f13ff25b1bb28ea507888e858212d19aafb65e8e72b4a65ee0629ec4ae0c"

SRC_URI = "\
${BASEURI} \