[llvm-branch-commits] [flang] [flang][OpenMP] Accept old FLUSH syntax in METADIRECTIVE (PR #130122)

2025-03-06 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/130122 >From bf56b8c80a0f1a7e06dcd3e898172c27e5afabf5 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 5 Mar 2025 08:24:30 -0600 Subject: [PATCH 1/2] [flang][OpenMP] Accept old FLUSH syntax in METADIRECTI

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in standalone directives (PR #131163)

2025-03-13 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/131163 This uses OmpDirectiveSpecification in the rest of the standalone directives. >From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 10 Mar 2025 15:42:42 -

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in standalone directives (PR #131163)

2025-03-13 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/131163 >From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 10 Mar 2025 15:42:42 -0500 Subject: [PATCH 1/2] [flang][OpenMP] Use OmpDirectiveSpecification in sta

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in standalone directives (PR #131163)

2025-03-13 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/131163 >From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 10 Mar 2025 15:42:42 -0500 Subject: [PATCH 1/3] [flang][OpenMP] Use OmpDirectiveSpecification in sta

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in standalone directives (PR #131163)

2025-03-13 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/131163 >From 01dd3f55995e507ddee61e80e3eb29e35f722c0f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 10 Mar 2025 15:42:42 -0500 Subject: [PATCH 1/3] [flang][OpenMP] Use OmpDirectiveSpecification in sta

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139115 >From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 7 May 2025 15:32:08 -0500 Subject: [PATCH 1/2] [clang][OpenMP] Pass OpenMP version to getOpenMPDirec

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139115 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -965,13 +965,13 @@ void StmtPrinter::VisitOMPTeamsDirective(OMPTeamsDirective *Node) { void StmtPrinter::VisitOMPCancellationPointDirective( OMPCancellationPointDirective *Node) { Indent() << "#pragma omp cancellation point " - << getOpenMPDirectiveName(Node

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139115 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139115 >From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 7 May 2025 15:32:08 -0500 Subject: [PATCH 1/6] [clang][OpenMP] Pass OpenMP version to getOpenMPDirec

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -73,13 +73,16 @@ namespace { PrintingPolicy Policy; std::string NL; const ASTContext *Context; +unsigned Version; kparzysz wrote: Oops, you're right. Removed. https://github.com/llvm/llvm-project/pull/139115 ___

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz edited https://github.com/llvm/llvm-project/pull/139115 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139131)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139131 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

[llvm-branch-commits] [flang] [flang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139131)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139131 >From 9566bf6fd60d2b4f1dac86f6646002b2541e6736 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 7 May 2025 15:32:28 -0500 Subject: [PATCH 1/4] [flang][OpenMP] Pass OpenMP version to getOpenMPDirec

[llvm-branch-commits] [flang] [flang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139131)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139131 >From 9566bf6fd60d2b4f1dac86f6646002b2541e6736 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 7 May 2025 15:32:28 -0500 Subject: [PATCH 1/2] [flang][OpenMP] Pass OpenMP version to getOpenMPDirec

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -94,6 +94,10 @@ struct PrintingPolicy { /// The number of spaces to use to indent each line. unsigned Indentation : 8; + /// Version of the effective OpenMP spec (used to select directive name + /// spelling). + unsigned OpenMP : 8; + kparzysz wrote:

[llvm-branch-commits] [flang] [flang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139131)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/139131 The OpenMP version is stored in LangOptions in SemanticsContext. Use the fallback version where SemanticsContext is unavailable (mostly in case of debug dumps). RFC: https://discourse.llvm.org/t/rfc-alternat

[llvm-branch-commits] [clang] [clang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139115)

2025-05-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/139115 >From fa6e19481f448db273f84d270891e737ff021749 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 7 May 2025 15:32:08 -0500 Subject: [PATCH 1/5] [clang][OpenMP] Pass OpenMP version to getOpenMPDirec

[llvm-branch-commits] [llvm] [llvm][OpenMP] Add "SourceLanguages" property to Directive (PR #139960)

2025-05-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/139960 The official languages that OpenMP recognizes are C/C++ and Fortran. Some OpenMP directives are language-specific, some are C/C++-only, some are Fortran-only. Add a property to the TableGen definition of Dire

[llvm-branch-commits] [clang] [clang][OpenMP] Improve handling of non-C/C++ directives (PR #139961)

2025-05-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/139961 The PR139793 added handling of the Fortran-only "workshare" directive, however there are more such directives, e.g. "allocators". Use the genDirectiveLanguages function to detect non-C/C++ directives instead o

[llvm-branch-commits] [llvm] [llvm][OpenMP] Add "SourceLanguages" property to Directive (PR #139960)

2025-05-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Previous PR: https://github.com/llvm/llvm-project/pull/139958 Next PR: https://github.com/llvm/llvm-project/pull/139961 https://github.com/llvm/llvm-project/pull/139960 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm

[llvm-branch-commits] [clang] [clang][OpenMP] Improve handling of non-C/C++ directives (PR #139961)

2025-05-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Previous PR: https://github.com/llvm/llvm-project/pull/139960 https://github.com/llvm/llvm-project/pull/139961 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/140606 Remove extraneous qualifications from names when - the name is explicitly enclosed by corresponding namespaces, and - the name is in a body of a function defined in corresponding namespaces. Otherwise add missi

[llvm-branch-commits] [llvm] [utils][TableGen] Unify name qualifications in DirectiveEmitter (PR #140606)

2025-05-19 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Previous PR: https://github.com/llvm/llvm-project/pull/140605 https://github.com/llvm/llvm-project/pull/140606 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/3] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/141762 There were 3 different functions in DirectiveEmitter.cpp doing essentially the same thing: taking a name separated with _ or whitepace, and converting it to the upper-camel case. Extract that into a single fun

[llvm-branch-commits] [llvm] [utils][TableGen] Treat clause aliases equally with names (PR #141763)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/141763 The code in DirectiveEmitter that generates clause parsers sorted clause names to ensure that longer names were tried before shorter ones, in cases where a shorter name may be a prefix of a longer one. This ma

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/141766 In "getDirectiveName(Kind, Version)", return the spelling that corresponds to Version, and in "getDirectiveKindAndVersions(Name)" return the pair {Kind, VersionRange}, where VersionRange contains the minimum a

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH] [utils][TableGen] Handle versions on clause/directive sp

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/4] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/7] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/6] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/5] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -77,6 +77,19 @@ static std::string getIdentifierName(const Record *Rec, StringRef Prefix) { return Prefix.str() + BaseRecord(Rec).getFormattedName(); } +using RecordWithSpelling = std::pair; + +static std::vector +getSpellings(ArrayRef Records) { kparzys

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -77,6 +77,19 @@ static std::string getIdentifierName(const Record *Rec, StringRef Prefix) { return Prefix.str() + BaseRecord(Rec).getFormattedName(); } +using RecordWithSpelling = std::pair; + +static std::vector +getSpellings(ArrayRef Records) { kparzys

[llvm-branch-commits] [llvm] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -172,26 +197,13 @@ class Directive : public BaseRecord { // Clang uses a different format for names of its directives enum. std::string getClangAccSpelling() const { -std::string Name = Def->getValueAsString("name").str(); +StringRef Name = Def->getValueAsString

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: The build failures are bogus: "header file changed between PCH build and use". They seem to be related to a recent change in llvm/Support/Compiler.h, but I don't know what the exact mechanism of failure is. https://github.com/llvm/llvm-project/pull/141766 __

[llvm-branch-commits] [llvm] [mlir] [OpenMP] Add directive spellings introduced in spec v6.0 (PR #141772)

2025-06-05 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz reopened https://github.com/llvm/llvm-project/pull/141772 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH 1/2] [utils][TableGen] Handle versions on clause/directive

[llvm-branch-commits] [llvm] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/141761 2. https://github.com/llvm/llvm-project/pull/141762 (this PR) 3. https://github.com/llvm/llvm-project/pull/141763 4. https://github.com/llvm/llvm-project/pull/141765 5. https://github.com/llvm/llvm-project/pull/141766

[llvm-branch-commits] [llvm] [utils][TableGen] Treat clause aliases equally with names (PR #141763)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/141761 2. https://github.com/llvm/llvm-project/pull/141762 3. https://github.com/llvm/llvm-project/pull/141763 (this PR) 4. https://github.com/llvm/llvm-project/pull/141765 5. https://github.com/llvm/llvm-project/pull/141766

[llvm-branch-commits] [llvm] [mlir] [utils][TableGen] Implement clause aliases as alternative spellings (PR #141765)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/141761 2. https://github.com/llvm/llvm-project/pull/141762 3. https://github.com/llvm/llvm-project/pull/141763 4. https://github.com/llvm/llvm-project/pull/141765 (this PR) 5. https://github.com/llvm/llvm-project/pull/141766

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/141761 2. https://github.com/llvm/llvm-project/pull/141762 3. https://github.com/llvm/llvm-project/pull/141763 4. https://github.com/llvm/llvm-project/pull/141765 5. https://github.com/llvm/llvm-project/pull/141766 (this PR)

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/141766 >From 2ef30aacee4d80c0e4a925aa5ba9416423d10b1b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 27 May 2025 07:55:04 -0500 Subject: [PATCH] [utils][TableGen] Handle versions on clause/directive sp

[llvm-branch-commits] [llvm] [OpenMP] Add directive spellings introduced in spec v6.0 (PR #141772)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/141772 For background information see https://discourse.llvm.org/t/rfc-alternative-spellings-of-openmp-directives/85507 >From 8385ab954aa44a6b438450be2869f6d4614e2e2f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek

[llvm-branch-commits] [llvm] [OpenMP] Add directive spellings introduced in spec v6.0 (PR #141772)

2025-05-28 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: PR stack: 1. https://github.com/llvm/llvm-project/pull/141761 2. https://github.com/llvm/llvm-project/pull/141762 3. https://github.com/llvm/llvm-project/pull/141763 4. https://github.com/llvm/llvm-project/pull/141765 5. https://github.com/llvm/llvm-project/pull/141766 6. https://

[llvm-branch-commits] [llvm] [mlir] [OpenMP] Add directive spellings introduced in spec v6.0 (PR #141772)

2025-06-05 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz closed https://github.com/llvm/llvm-project/pull/141772 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang][OpenMP] Use DirectiveNameParser to parse directive names (PR #146779)

2025-07-03 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/146779 >From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 2 Jul 2025 11:25:00 -0500 Subject: [PATCH] [clang][OpenMP] Use DirectiveNameParser to parse directive

[llvm-branch-commits] [clang] [clang][OpenMP] Use DirectiveNameParser to parse directive names (PR #146779)

2025-07-03 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/146779 >From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 2 Jul 2025 11:25:00 -0500 Subject: [PATCH 1/2] [clang][OpenMP] Use DirectiveNameParser to parse dire

[llvm-branch-commits] [clang] [clang][OpenMP] Issue a warning when parsing future directive spelling (PR #146933)

2025-07-03 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/146933 OpenMP 6.0 introduced alternative spelling for some directives, with the previous spellings still allowed. Warn the user when a new spelling is encountered with OpenMP version set to an older value. >From 5a

[llvm-branch-commits] [flang] [NFC][flang] Move `ReductionProcessor` to `Lower/Support`. (PR #146025)

2025-06-27 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz approved this pull request. https://github.com/llvm/llvm-project/pull/146025 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang][OpenMP] Use DirectiveNameParser to parse directive names (PR #146779)

2025-07-02 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/146779 This simplifies the parsing code in clang quite a bit. >From ab3f0cc9d240f12e07be452effa75b5c7d010d9b Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 2 Jul 2025 11:25:00 -0500 Subject: [PATCH] [c

[llvm-branch-commits] [flang] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings in parser (PR #147723)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/147723 Parse OpenMP 6.0 spellings for directives that don't use OmpDirectiveNameParser. >From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 7 Jul 2025 13:54:32

[llvm-branch-commits] [flang] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings in parser (PR #147723)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/147722 - https://github.com/llvm/llvm-project/pull/147723 (this PR) https://github.com/llvm/llvm-project/pull/147723 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.

[llvm-branch-commits] [flang] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings in parser (PR #147723)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/147723 >From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 7 Jul 2025 13:54:32 -0500 Subject: [PATCH] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings i

[llvm-branch-commits] [flang] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellings in parser (PR #147723)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/147723 >From 0e2c062d467d7d23ed88cdf14c2c3de740549ca6 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 7 Jul 2025 13:54:32 -0500 Subject: [PATCH 1/2] [flang][OpenMP] Recognize remaining OpenMP 6.0 spellin

[llvm-branch-commits] [flang] [flang][OpenMP] Issue a warning when parsing future directive spelling (PR #147765)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/147765 OpenMP 6.0 introduced alternative spelling for some directives, with the previous spellings still allowed. Warn the user when a new spelling is encountered with OpenMP version set to an older value. >From 7b

[llvm-branch-commits] [flang] [flang][OpenMP] Issue a warning when parsing future directive spelling (PR #147765)

2025-07-09 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/147722 - https://github.com/llvm/llvm-project/pull/147723 - https://github.com/llvm/llvm-project/pull/147765 (this PR) https://github.com/llvm/llvm-project/pull/147765 ___ llvm-branch-c

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH (PR #148008)

2025-07-11 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/148008 >From 1bcd318939236190a30cfb3259bcb9ca972f1fd3 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Thu, 10 Jul 2025 10:18:32 -0500 Subject: [PATCH] [flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH (PR #148008)

2025-07-10 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/148005 - https://github.com/llvm/llvm-project/pull/148008 (this PR) https://github.com/llvm/llvm-project/pull/148008 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.

[llvm-branch-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH (PR #148008)

2025-07-10 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148008 Dispatch is the last construct (after ATOMIC and ALLOCATORS) where the associated block requires a specific form. Using OmpDirectiveSpecification for the begin and the optional end directives will make the str

[llvm-branch-commits] [llvm] [utils][TableGen] Make some non-bitmask enums iterable (PR #148647)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148647 Additionally, add sentinel values ::First_ and ::Last_ to each one of those enums. This will allow using `enum_seq_inclusive` to generate the list of enum-typed values of any generated scoped (non-bitmask) en

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -3,8 +3,9 @@ ! Check that variables are not privatized twice when TASKGROUP is used. !CHECK-LABEL: func.func @_QPsub() { -!CHECK: omp.parallel { -!CHECK: %[[PAR_I:.*]]:2 = hlfir.declare %{{.*}} {uniq_name = "_QFsubEi"} +!CHECK: omp.parallel privat

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz edited https://github.com/llvm/llvm-project/pull/148654 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Move extractOmpDirective to Utils.cpp, NFC (PR #148653)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148653 None >From d3ed6f948468c4d27c5ac436612e650f9460 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 14 Jul 2025 10:18:07 -0500 Subject: [PATCH] [flang][OpenMP] Move extractOmpDirective to Utils.c

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/148654 Instead of treating all block and all loop constructs as privatizing, actually check if the construct allows a privatizing clause. >From 4f58a01c96812fdb8086a9c9ad35f260451af8dc Mon Sep 17 00:00:00 2001 From:

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: I have verified that 1052_0201 and 1052_0205 both pass with this change. https://github.com/llvm/llvm-project/pull/148654 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [llvm] [utils][TableGen] Make some non-bitmask enums iterable (PR #148647)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/148644 - https://github.com/llvm/llvm-project/pull/148647 (this PR) - https://github.com/llvm/llvm-project/pull/148653 - https://github.com/llvm/llvm-project/pull/148654 https://github.com/llvm/llvm-project/pull/148647 __

[llvm-branch-commits] [llvm] [utils][TableGen] Make some non-bitmask enums iterable (PR #148647)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/148647 >From 82829a6f51fd96f720a64255442d96133a09b3dc Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Fri, 11 Jul 2025 13:28:02 -0500 Subject: [PATCH 1/2] [utils][TableGen] Make some non-bitmask enums iterabl

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Sema checks, lowering with new format of MAP modifiers (PR #149137)

2025-07-16 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/149137 >From acc1a7d3da0d2bd5a60096a9f5dc27338342b952 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 16 Jul 2025 08:04:17 -0500 Subject: [PATCH 1/3] [flang][OpenMP] Sema checks, lowering with new format

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Generalize isOpenMPPrivatizingConstruct (PR #148654)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/148644 - https://github.com/llvm/llvm-project/pull/148647 - https://github.com/llvm/llvm-project/pull/148653 - https://github.com/llvm/llvm-project/pull/148654 (this PR) https://github.com/llvm/llvm-project/pull/148654 __

[llvm-branch-commits] [flang] [flang][OpenMP] Move extractOmpDirective to Utils.cpp, NFC (PR #148653)

2025-07-14 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: Stack: - https://github.com/llvm/llvm-project/pull/148644 - https://github.com/llvm/llvm-project/pull/148647 - https://github.com/llvm/llvm-project/pull/148653 (this PR) - https://github.com/llvm/llvm-project/pull/148654 https://github.com/llvm/llvm-project/pull/148653 __

<    1   2   3   4