[PATCH] D29250: [PIR] Add fork, join and halt instructions

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 29 09:25:16 PST 2017


jdoerfert added a comment.

In https://reviews.llvm.org/D29250#659722, @majnemer wrote:

> Is there another patch which updates the langref? The semantics are most important of all.


Good points, thanks. So far there is no lang ref patch but we'll work on it now. However, the RFC email does define a semantics and how the regions have to look like.

> Also, how do you discover where a region begins and ends?

At this point a parallel region starts with a fork and spreads till all paths from there end in a join. Detecting the regions can be therefor done in a single sweep that looks for the fork (, halt) and join instructions.


https://reviews.llvm.org/D29250





More information about the llvm-commits mailing list