[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)

dag at cray.com dag at cray.com
Tue Oct 2 12:50:59 PDT 2012


Hal Finkel <hfinkel at anl.gov> writes:

> It is hard to evaluate this without more details. Would you convert
> LoopInfo, SE, etc. into module-level passes? Would you inline these
> functions early with some special attached semantics? If the second,
> how is this different from attaching the special semantics using
> intrinsics or metadata?

One important way the latter is different from intrinsics is that the
additional semantic information is pass-specific.  No other part of LLVM
need be aware of it.  That helps contain the "parallelism problem" to
only those passes that care.

                          -David



More information about the llvm-dev mailing list