[all-commits] [llvm/llvm-project] 4a4763: [flang][OpenMP] Support substrings and complex par...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Fri Jun 13 06:17:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a47634a0075c49051cb4708a7f54577ecb080f4
https://github.com/llvm/llvm-project/commit/4a47634a0075c49051cb4708a7f54577ecb080f4
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-06-13 (Fri, 13 Jun 2025)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Lower/OpenMP/depend-complex.f90
A flang/test/Lower/OpenMP/depend-substring.f90
A flang/test/Semantics/OpenMP/depend-substring.f90
Log Message:
-----------
[flang][OpenMP] Support substrings and complex part refs for DEPEND (#143907)
Fixes #142404
The parser can't tell the difference between array indexing and a
substring: that has to be done in semantics once we have types.
Substrings can only be in the form string([lower]:[higher]) not
string(index) or string(lower:higher:step). I added semantic checks to
catch this for the DEPEND clause.
This patch also adds lowering for correct substrings and for complex
part references.
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