[PATCH] GSoC project: "Add support for directive to uniquely identify the loops in high-level languages"

Anton Korobeynikov anton at korobeynikov.info
Sat Apr 13 14:00:49 PDT 2013


> Adding directive support would mostly be the work on Clang frontend side:
> = Choose directive representation for LLVM IR: metadata, intrinsic, etc.
> = Add parsing of directive into parser and codegen it into selected
> representation
> = Write a dummy LLVM pass showing how the loop naming directive could be
> used for diagnostics
The main part is missing though:
= Make sure all LLVM optimization passes handle / preserve this
directive somehow. I'm not sure it's possible in even half of all the
cases.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list