[all-commits] [llvm/llvm-project] 45a0b9: [clang] Handle single-element vectors in the Swift...

Aochang Liu via All-commits all-commits at lists.llvm.org
Thu Sep 17 09:13:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45a0b9a9676d1471f0d5c9ad128af6068f9a2844
      https://github.com/llvm/llvm-project/commit/45a0b9a9676d1471f0d5c9ad128af6068f9a2844
  Author: Aochang Liu <102237385+HelloWorldU at users.noreply.github.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/SwiftCallingConv.cpp
    A clang/test/CodeGen/swiftcall-single-element-vector.c

  Log Message:
  -----------
  [clang] Handle single-element vectors in the Swift calling convention (#223961)

Single-element vectors hit an assertion before reaching the
target-specific Swift ABI checks, even though some targets support them.

Relax the element-count assertion and scalarize single-element vectors
when they are not legal for the target ABI.

Fixes #223871.

Assisted-by: OpenAI GPT-6



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