[clang] [llvm] [Clang][Driver] Add an option to control loop-interchange (PR #125830)
Sjoerd Meijer via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 7 02:37:02 PST 2025
sjoerdmeijer wrote:
> This is a bit off topic, but do you have any opinion on adding a pragma for interchange like other loop optimizations do? I think it can sometimes be useful if we can enable/disable the interchange for each loop, but I think there are a few things to consider if we introduce it, such as the behavior when the pragma is specified on a non-outermost loop. What do you think?
Yeah, I see the use case for that, I think that makes sense. And OpenMP6 for example, introduces a directive for interchange. Please propose a patch if you're interested in pursuing this.
https://github.com/llvm/llvm-project/pull/125830
More information about the llvm-commits
mailing list