[PATCH] D94687: [AArch64] Make target intrinsics DefaultAttrIntrinsics.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 07:09:26 PST 2021


fhahn created this revision.
fhahn added reviewers: t.p.northover, dmgreen, SjoerdMeijer, efriedma, ab.
Herald added subscribers: jdoerfert, danielkiss, kristof.beyls.
fhahn requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94687

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/test/Assembler/aarch64-intrinsics-attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94687.316653.patch
Type: text/x-patch
Size: 60199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/c45f47ee/attachment.bin>


More information about the llvm-commits mailing list