[all-commits] [llvm/llvm-project] 829da4: [CIR][AArch64] Add lowering for vaba_* and vabd_* ...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Tue Mar 3 08:36:29 PST 2026


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

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/test/CodeGen/AArch64/neon-intrinsics.c
    M clang/test/CodeGen/AArch64/neon/intrinsics.c

  Log Message:
  -----------
  [CIR][AArch64] Add lowering for vaba_* and vabd_* builtins (#183595)

Add CIR lowering for the following AdvSIMD (NEON) intrinsic groups:

* vabd_*  – Absolute difference

https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#absolute-difference

* vaba_*  – Absolute difference and accumulate

https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#absolute-difference-and-accumulate

Tests for these intrinsics were split out from:
  * "test/CodeGen/AArch64/neon-intrinsics.c"

and moved to:
 * "test/CodeGen/AArch64/neon/intrinsics.c".

The following helper hooks were adapted from the ClangIR project:
  * `getNeonType`, `emitNeonCall`, `emitNeonCallToOp`.

Credit to the ClangIR contributors for the original implementation.



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