[all-commits] [llvm/llvm-project] 6cb200: [clang][CIR] Add lowering for vcvt_n_ and vcvtq_n_...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Apr 8 05:00:03 PDT 2026


  Branch: refs/heads/users/banach-space/cir/conversion
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cb2006d8a1991c2557d817b81e95a6f0cdd6650
      https://github.com/llvm/llvm-project/commit/6cb2006d8a1991c2557d817b81e95a6f0cdd6650
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    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:
  -----------
  [clang][CIR] Add lowering for vcvt_n_ and vcvtq_n_ conversion intrinsics

This PR adds lowering for the conversion intrinsics with an immediate
argument (identified by `_n_` in the intrinsic name), excluding FP16
variants.

It also moves the corresponding tests from:
  * clang/test/CodeGen/AArch64/neon_intrinsics.c

to:
  * clang/test/CodeGen/AArch64/neon/intrinsics.c

The lowering follows the existing implementation in
CodeGen/TargetBuiltins/ARM.cpp and adds the `getFloatNeonType` helper
to support it. The remaining changes are code motion and refactoring.

Reference:
[1] https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#conversions



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