[PATCH] D70365: intrinsics attribute opt-out list proposal.

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 14:44:41 PST 2019


sstefan1 created this revision.
sstefan1 added reviewers: jdoerfert, arsenm.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This patch introduces an opt-out attribute list for intrinsics, discussed in D65377 <https://reviews.llvm.org/D65377>.
This should make it easier to annotate intrinsics with attributes that apply to most of them.
Right now I added NoFree and NoSync. If this looks ok, I'll also replace "Throws" IntrinsicProperty with IntrNoUnwind
and make it default.

Note: This is just an attempt, I also intend to send a RFC on the list.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70365

Files:
  llvm/include/llvm/IR/Intrinsics.td
  llvm/test/Feature/intrinsics.ll
  llvm/utils/TableGen/CodeGenIntrinsics.h
  llvm/utils/TableGen/CodeGenTarget.cpp
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70365.229732.patch
Type: text/x-patch
Size: 25431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191117/6052f8a9/attachment.bin>


More information about the llvm-commits mailing list