[all-commits] [llvm/llvm-project] 0e4e8a: [flang][OpenMP] Implement iterator that flattens B...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Wed Feb 11 10:06:35 PST 2026
Branch: refs/heads/users/kparzysz/iterator-2
Home: https://github.com/llvm/llvm-project
Commit: 0e4e8ab05da4177c2c7b89bee1f2290942398634
https://github.com/llvm/llvm-project/commit/0e4e8ab05da4177c2c7b89bee1f2290942398634
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M flang/include/flang/Parser/openmp-utils.h
M flang/lib/Parser/openmp-utils.cpp
M flang/lib/Semantics/check-omp-loop.cpp
Log Message:
-----------
[flang][OpenMP] Implement iterator that flattens BLOCK constructs
In OpenMP a canonical loop nest may be enclosed in a BLOCK construct.
Specifically, the two loops below are considered to form a valid loop
sequence:
do i = 1, n
end do
block
do j = 1, m
end do
end block
Implement an extension to parser::Block::iterator that will treat the
example above as
do i = 1, n
end do
do j = 1, m
end do
that is, as if the BLOCK/ENDBLOCK statement were deleted. This will
make the analysis of loop nests easier, since any such code will not
have to deal with BLOCK constructs itself.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list