[all-commits] [llvm/llvm-project] 25e79c: [CIR] Remove the union spanning precondition

Adam Smith via All-commits all-commits at lists.llvm.org
Tue Sep 15 15:29:29 PDT 2026


  Branch: refs/heads/users/adams381/cir-callconv-union-tail-padding
  Home:   https://github.com/llvm/llvm-project
  Commit: 25e79c320b887cb5bb09fda178203df29010a8ec
      https://github.com/llvm/llvm-project/commit/25e79c320b887cb5bb09fda178203df29010a8ec
  Author: Adam Smith <adams at nvidia.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRTypes.td
    M clang/lib/CIR/Dialect/IR/CIRTypes.cpp
    M clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
    M clang/test/CIR/CodeGen/call-conv-lowering-x86_64-non-byval.cpp
    A clang/test/CIR/CodeGen/call-conv-lowering-x86_64-union-no-span.cpp
    M clang/test/CIR/Transforms/abi-lowering/x86_64-aggregate-nyi.cir

  Log Message:
  -----------
  [CIR] Remove the union spanning precondition

Bounding the rule at two eightbytes wasn't enough: a 16-byte union
with a 12-byte member still got refused, which is the Expected<T>
shape blocking the self-build.  The rule was covering for a
classifier bug, so it's gone, along with the query it needed.

takeTailByteOrPtr needs #223859 and fails until that merges in.

Assisted-by: Cursor / claude-opus-5



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