diff options
| author | Owen Anderson <resistor@mac.com> | 2015-05-26 23:48:40 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2015-05-26 23:48:40 +0000 |
| commit | 85fa7d5037fed8191ef67c2b4d954218b942a7d1 (patch) | |
| tree | 7e3c7d6e771cbbe3926c0411cd3d1ee678a493b6 /llvm/docs | |
| parent | 3abb86da627a01b1e2091c08a9117dc273f9473f (diff) | |
| download | bcm5719-llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.tar.gz bcm5719-llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.zip | |
Add initial support for the convergent attribute.
llvm-svn: 238264
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 1ee16f866d6..397d5fe3756 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -1196,6 +1196,13 @@ example: computing edge weights, basic blocks post-dominated by a cold function call are also considered to be cold; and, thus, given low weight. +``convergent`` + This attribute indicates that the callee is dependent on a convergent + thread execution pattern under certain parallel execution models. + Transformations that are execution model agnostic may only move or + tranform this call if the final location is control equivalent to its + original position in the program, where control equivalence is defined as + A dominates B and B post-dominates A, or vice versa. ``inlinehint`` This attribute indicates that the source code contained a hint that inlining this function is desirable (such as the "inline" keyword in |

