[all-commits] [llvm/llvm-project] 51e188: [AArch64] Support for memset tagged intrinsic

tyb0807 via All-commits all-commits at lists.llvm.org
Mon Jan 31 12:49:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e188d079f6ee9d8bc640351f2f772234d809dd
      https://github.com/llvm/llvm-project/commit/51e188d079f6ee9d8bc640351f2f772234d809dd
  Author: tyb0807 <sontuan.vu at arm.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/arm_acle.h
    A clang/test/CodeGen/aarch64-mops.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td

  Log Message:
  -----------
  [AArch64] Support for memset tagged intrinsic

This introduces a new ACLE intrinsic for memset tagged
(https://github.com/ARM-software/acle/blob/next-release/main/acle.md#memcpy-family-of-operations-intrinsics---mops).

  void *__builtin_arm_mops_memset_tag(void *, int, size_t)

A corresponding LLVM intrinsic is introduced:

  i8* llvm.aarch64.mops.memset.tag(i8*, i8, i64)

The types match llvm.memset but the return type is not void.

This is part 1/4 of a series of patches split from
https://reviews.llvm.org/D117405 to facilitate reviewing.

Patch by Tomas Matheson

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




More information about the All-commits mailing list