[PATCH] D69088: [Lex] #pragma clang transform

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 12:40:05 PDT 2019


Meinersbur added a comment.

In D69088#1713623 <https://reviews.llvm.org/D69088#1713623>, @hsaito wrote:

> @Meinersbur, if I remember correctly, there was an RFC discussion on this topic, right? If yes, would you post the pointer to that? I need a refresher on what has been discussed/settled in the past.


My publications on this topic would also be useful here, available on arXiv. Here is an overview, also including previous discussions:

Loop optimization directives:

- A Proposal for Loop-Transformation Pragmas <https://arxiv.org/abs/1805.03374> (IWOMP'19)
- User-Directed Loop-Transformations in Clang <https://arxiv.org/abs/1811.00624> (LLVM-HPC'18)
- Design and Use of Loop-Transformation Pragmas <https://arxiv.org/abs/1910.02375> (IWOMP'19)
- RFC: Extending #pragma clang loop <https://lists.llvm.org/pipermail/cfe-dev/2018-May/058141.html> (cfe-dev)
- Prototype implementation using `#pragma clang loop` and attributes <https://github.com/SOLLVE/clang/tree/pragma> (GitHub)

Loop attributes metadata:

- RFC: Extending loop metadata <https://lists.llvm.org/pipermail/llvm-dev/2018-May/123690.html> (llvm-dev)
- D57978 <https://reviews.llvm.org/D57978>: Metadata for follow-up transformations

Applying loop optimizations:

- Loop Optimization Framework <https://arxiv.org/abs/1811.00632> (LCPC'18)
- Loop Transformations in LLVM <https://youtu.be/QpvZt9w-Jik?t=813> (LLVM DevMtg'18)
- Prototype implementation for applying transformations using Polly <https://github.com/SOLLVE/polly/tree/pragma> (GitHub)


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69088/new/

https://reviews.llvm.org/D69088





More information about the cfe-commits mailing list