[all-commits] [llvm/llvm-project] 30b67c: [AArch64] Make ACLE intrinsics always available part1

Dani via All-commits all-commits at lists.llvm.org
Fri Oct 14 08:23:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30b67c677c6baf0d6ef6c3051cf270133c43e4d2
      https://github.com/llvm/llvm-project/commit/30b67c677c6baf0d6ef6c3051cf270133c43e4d2
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/lib/Headers/arm_acle.h
    M clang/test/CodeGen/arm_acle.c
    M clang/test/CodeGen/builtins-arm64.c

  Log Message:
  -----------
  [AArch64] Make ACLE intrinsics always available part1

A given arch feature might enabled by a pragma or a function attribute so in this cases would be nice to use intrinsics.
Today GCC offers the intrinsics without the march flag[1].
PR[2] for ACLE to clarify the intention and remove the need for -march flag for a given intrinsics.

This is going to be more useful when D127812 lands.

[1] https://godbolt.org/z/bxcMhav3z
[2] https://github.com/ARM-software/acle/pull/214

Reviewed By: dmgreen

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




More information about the All-commits mailing list