[flang-commits] [flang] [Flang] Add parser support for prefetch directive (PR #139702)

via flang-commits flang-commits at lists.llvm.org
Wed May 14 12:08:55 PDT 2025


tmjbios wrote:

Yes, sorta - this seems more of a superset of what we support in that we require more specificity from the user.

CCE will tend to disallow prefetching a whole array in this manner. Instead we allow the user to specify a scalar or an array element along with a number of cache lines, whether it is for read or write, whether the data is temporal or non-temporal, and which level of cache to work with.

I'm not suggesting anyone block or disapprove this PR - this is certainly a step in the right direction. I'm just reminded of xkcd 927.

https://github.com/llvm/llvm-project/pull/139702


More information about the flang-commits mailing list