[all-commits] [llvm/llvm-project] 452343: [LLVMABI] Add Clang 23 compatible handling for mat...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Sep 18 09:49:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 452343dc0e7509e0a763389e7aee478e9c29b45e
      https://github.com/llvm/llvm-project/commit/452343dc0e7509e0a763389e7aee478e9c29b45e
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Passes.h
    M clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
    M clang/lib/CIR/Lowering/CIRPasses.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/AArch64/abi-lowering-matrix-ha-compat23.c
    M llvm/include/llvm/ABI/TargetInfo.h
    M llvm/lib/ABI/TargetInfo.cpp
    M llvm/lib/ABI/Targets/AArch64.cpp
    M llvm/lib/ABI/Targets/BPF.cpp
    M llvm/lib/ABI/Targets/X86.cpp
    M llvm/unittests/ABI/X86TargetInfoTest.cpp

  Log Message:
  -----------
  [LLVMABI] Add Clang 23 compatible handling for matrix types (#224121)

This change updates the LLVM ABI library to enable Clang 23 compatible
classification of matrix types when the `-fclang-abi-compt=23` option is
used. Clang versions 23 and earlier did not accept matrix types as base
types for homogeneous aggregates, but the current version does. The LLVM
ABI library use the new behavior when isHomogeneousAggregate was
introduced there. This change adds an ABICompatInfo setting to allow
version 23 compatibility to be implemented.

This change also moves X86-specific ABI compatibility options into an
X86-specific subclass of ABICompatInfo.

Assisted-by: Cursor / various models



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list