[all-commits] [llvm/llvm-project] b5be65: [CIR][AArch64] Add missing lowerings for vceqz_* N...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Thu Mar 5 14:08:03 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5be6599b940019f472ed2fe77452f0d005d74ad
      https://github.com/llvm/llvm-project/commit/b5be6599b940019f472ed2fe77452f0d005d74ad
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/lib/CodeGen/TargetBuiltins/ARM.cpp
    M clang/test/CodeGen/AArch64/neon-misc.c
    M clang/test/CodeGen/AArch64/neon/intrinsics.c

  Log Message:
  -----------
  [CIR][AArch64] Add missing lowerings for vceqz_* Neon builtins (#184893)

Implement the remaining CIR lowerings for the AdvSIMD (Neon)
`vceqz{|q|d|s}_*` intrinsic group (bitwise equal to zero).

The `vceqzd_s64` variant was already supported; this patch completes
the rest of the group [1].

Tests for these intrinsics are moved from:
  * test/CodeGen/AArch64/neon-misc.c
  
to:
  * test/CodeGen/AArch64/neon/intrinsics.c

The implementation largely mirrors the existing lowering in
CodeGen/TargetBuiltins/ARM.cpp.

`emitCommonNeonBuiltinExpr` is introduced to support these lowerings.
`getNeonType` is moved without functional changes.

Reference:
[1] https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#bitwise-equal-to-zero



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