[llvm-dev] [RFC] IR-level Region Annotations

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 12 16:20:30 PST 2017

On Wed, Jan 11, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> Can you elaborate why? I’m curious.

The con of proposal c was that many passes would need to learn about many
region intrinsics. With tokens, you only need to teach all passes about
tokens, which they should already know about because WinEH and other things
use them.

With tokens, we can add as many region-introducing intrinsics as makes
sense without any additional cost to the middle end. We don't need to make
one omnibus region intrinsic set that describes every parallel loop
annotation scheme supported by LLVM. Instead we would factor things
according to other software design considerations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170112/e686b7ca/attachment.html>

More information about the llvm-dev mailing list