aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2024-04-23 12:56:52 +0100
committerGitHub <noreply@github.com>2024-04-23 12:56:52 +0100
commit0661af893f12c2b09089b4758cf00d9b84230ea0 (patch)
tree3ae0e3e6124c6d99cd0f1e6d8d048b79e3039b2e /llvm/lib/CodeGen/MachineFunctionSplitter.cpp
parentd8b253be56b3e9073b3e59123cf2da0bcde20c63 (diff)
downloadllvm-0661af893f12c2b09089b4758cf00d9b84230ea0.zip
llvm-0661af893f12c2b09089b4758cf00d9b84230ea0.tar.gz
llvm-0661af893f12c2b09089b4758cf00d9b84230ea0.tar.bz2
[Flang][OpenMP] Add restriction about subobjects to firstprivate and … (#89608)
…lastprivate OpenMP 5.2 standard (Section 5.3) defines privatization for list items. Section 3.2.1 in the standard defines list items to exclude variables that are part of other variables. This patch adds the restriction to firstprivate and lastprivates, it was previously added for privates. Fixes https://github.com/llvm/llvm-project/issues/67227 Note: The specific checks that are added here are explicitly called out in OpenMP 4.0 (https://www.openmp.org/wp-content/uploads/OpenMP4.0.0.pdf) Sections 2.14.3.4 and 2.14.3.5 but in later standards have become implicit through other definitions.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions