[PATCH] D86233: [WIP] [RFC] [LangRef] Define noprogress attribute

Atmn Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 12:25:20 PDT 2020


atmnpatel updated this revision to Diff 286876.
atmnpatel added a comment.

Flipped the semantics as per the comments, included a definition of progress from the C++ standard, could not find strict definitions anywhere else.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86233

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1953,6 +1953,10 @@
     the function. The instrumentation checks that the return address for the
     function has not changed between the function prolog and epilog. It is
     currently x86_64-specific.
+``noprogress``
+    This attribute indicates that the function is permitted to not make
+    progress, however this does not apply transitively to its callee functions.
+    Progress is defined as per the `C++ Standard <http://eel.is/c++draft/intro.progress>`_.
 
 Call Site Attributes
 ----------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86233.286876.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/7d6f3b7c/attachment.bin>


More information about the llvm-commits mailing list