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

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 18:00:52 PDT 2020


jdoerfert added a comment.

One way to avoid some of the complexity would be to opt-out of everything with a single bit. So if this is set, you don't get any default attributes. Otherwise you get all.

When we settled on a scheme we need to send another email telling people we'll activate it for `NoSycn` "soon" and they should check their target intrinsics appropriately. For the non-target ones, opt-out of `NoSync` for the following intrinsics (I mention part of their name), roughly in order: `gc` (garbage collection), `objc` (because I don't know any better), read/write register, `instprof`, `_eh_` (because I don't know any better), again `_gc_`, `_coro_` (maybe), `deoptimize`, `_clear_cache` (as it probably defeats the purpose), `hwasan`, `xray`, `*atomic`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70365/new/

https://reviews.llvm.org/D70365





More information about the llvm-commits mailing list