llvm / llvm/llvm-project

[Flang] Add improvements to prefetch directive syntax

Open
#166,919 2 comments 0 reactions 0 assignees View on GitHub
flang
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

The design discussion starts here:
> Just a pass-through comment. IBM and HPE have prefetch directives that have more options. Might be good to check with @kkwli @DanielCChen @tmjbios to see whether they are OK with the syntax in this PR. [intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/prefetch-and-noprefetch-general-directives.html](https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/prefetch-and-noprefetch-general-directives.html) [support.hpe.com/hpesc/public/docDisplay?docId=a00115296en_us&page=PREFETCH.html&docLocale=en_US](https://support.hpe.com/hpesc/public/docDisplay?docId=a00115296en_us&page=PREFETCH.html&docLocale=en_US)
>
> https://github.com/llvm/llvm-project/pull/139702#issuecomment-2879950146

Please go through the comments here: https://github.com/llvm/llvm-project/pull/139702

Contributor guide

Open the contributing guide

Research direction

Start by reading the comments on pull request #139702 and the linked Intel and HPE prefetch directive documentation. The issue does not identify files or tests; completion would require reaching agreement on the proposed additional prefetch syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.