[all-commits] [llvm/llvm-project] fa936b: [AArch64][SVE] Fix dup/dupq intrinsics for C++.

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Apr 13 02:58:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa936b610fd019b73de82f61de83bae553251fdb
      https://github.com/llvm/llvm-project/commit/fa936b610fd019b73de82f61de83bae553251fdb
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/arm_sve.td
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
    M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [AArch64][SVE] Fix dup/dupq intrinsics for C++.

This patch changes the builtin prototype to use 'b' (boolean) instead
of the default integer element type. That fixes the dup/dupq intrinsics
when compiling with C++.

This patch also fixes one of the defines for __ARM_FEATURE_SVE2_BITPERM.

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D100294




More information about the All-commits mailing list