[flang-commits] [flang] [Flang][OpenMP] Add semantic support for Loop Sequences and OpenMP loop fuse (PR #161213)
Pranav Bhandarkar via flang-commits
flang-commits at lists.llvm.org
Thu Nov 20 09:48:51 PST 2025
================
@@ -275,10 +275,17 @@ static const OmpDirectiveSet loopConstructSet{
Directive::OMPD_teams_distribute_parallel_do_simd,
Directive::OMPD_teams_distribute_simd,
Directive::OMPD_teams_loop,
+ Directive::OMPD_fuse,
Directive::OMPD_tile,
Directive::OMPD_unroll,
};
+static const OmpDirectiveSet loopTransformationSet{
+ Directive::OMPD_tile,
+ Directive::OMPD_unroll,
+ Directive::OMPD_fuse,
----------------
bhandarkar-pranav wrote:
nit: while `OMPD_tile` is not part of this PR, both `OMPD_tile` and `OMPD_fuse` should be added to `omp::nestedTeamsAllowedSet` because they have the `teams-nestable` property.
https://github.com/llvm/llvm-project/pull/161213
More information about the flang-commits
mailing list