[all-commits] [llvm/llvm-project] 50ae6a: [AArch64] Make target intrinsics DefaultAttrIntrin...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jan 18 09:37:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50ae6a3ac9bdf640ecc69fe6540b08a8b4355398
      https://github.com/llvm/llvm-project/commit/50ae6a3ac9bdf640ecc69fe6540b08a8b4355398
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/test/Assembler/aarch64-intrinsics-attributes.ll

  Log Message:
  -----------
  [AArch64] Make target intrinsics DefaultAttrIntrinsics.

DefaultAttrIntrinsics was introduced to add very common attributes to a
large set of intrinsics.

Currently the added attributes include:

    nofree nosync nounwind willreturn

I think those should hold for most AArch64 target intrinsics, but
there are too many to check manually. This patch makes most AArch64 target
intrinsics DefaultAttrsIntrinsics.

Some notable exceptions I think are exclusive loads and stores as well
as the memory barrier intrinsics, for which nosync does not apply I
think.

Reviewed By: SjoerdMeijer

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




More information about the All-commits mailing list