https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/134709
Codegen support for reduction over private variable with reduction clause.
Section 7.6.10 in in OpenMP 6.0 spec.
- An internal shared copy is initialized with an initializer value.
- The shared copy is upda
@@ -18933,12 +18945,35 @@ static bool actOnOMPReductionKindClause(
reportOriginalDsa(S, Stack, D, DVar);
continue;
}
+ // OpenMP 6.0 [ 7.6.10 ]
+ // Support Reduction over private variables with reduction clause.
+ // A list item in a reduct
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/132372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -11761,7 +11761,7 @@ void
OMPClauseReader::VisitOMPReductionClause(OMPReductionClause *C) {
unsigned NumFlags = Record.readInt();
SmallVector Flags;
Flags.reserve(NumFlags);
- for (unsigned I : llvm::seq(NumFlags))
+ for ([[maybe_unused]] unsigned I : llvm::seq(NumF
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/132372
Fix to issue [https://github.com/llvm/llvm-project/issues/132371
](https://github.com/llvm/llvm-project/issues/132371 )
Minor error , sanitizer builds are failing for unused variable.
sanitizer-aarch64-l
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/129938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chandraghale wrote:
Thank you for the review.
https://github.com/llvm/llvm-project/pull/129938
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -18933,12 +18945,35 @@ static bool actOnOMPReductionKindClause(
reportOriginalDsa(S, Stack, D, DVar);
continue;
}
+ // OpenMP 6.0 [ 7.6.10 ]
+ // Support Reduction over private variables with reduction clause.
+ // A list item in a reduct
@@ -18933,12 +18945,35 @@ static bool actOnOMPReductionKindClause(
reportOriginalDsa(S, Stack, D, DVar);
continue;
}
+ // OpenMP 6.0 [ 7.6.10 ]
+ // Support Reduction over private variables with reduction clause.
+ // A list item in a reduct
@@ -3757,6 +3768,31 @@ class OMPReductionClause final
/// reduction copies.
void setRHSExprs(ArrayRef RHSExprs);
+ /// Set the list private reduction flags
+ void setPrivateVariableReductionFlags(ArrayRef Flags) {
+assert(Flags.size() == varlist_size() &&
+
chandraghale wrote:
1. Used tail-allocated storage for extra members added in OMPreductionClause.
2. Modified assertion to diagnostic in parsing logic.
3. Reduction clause modifiers reduction-modifier and original-sharingmodifier
packed into existing structure.
4. Added additional lit test ca
@@ -4668,6 +4668,34 @@ bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind
DKind,
assert(Tok.is(tok::comma) && "Expected comma.");
(void)ConsumeToken();
}
+// Handle original(private / shared) Modifier
+if (Kind == OMPC_reduction && getLangOpts().OpenMP
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/127740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/125648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chandraghale wrote:
Merging as already approved !!
https://github.com/llvm/llvm-project/pull/125648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/127740
None
>From cf392f05f9499fd0621ffec91a3b852d4b91820b Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Tue, 18 Feb 2025 21:24:22 -0600
Subject: [PATCH] Inital support for privavate variable reduction
---
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/121746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121746
>From 81f9c8f7eb18c0469b3c42db5150384cb57baef8 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Mon, 6 Jan 2025 04:25:49 -0600
Subject: [PATCH] codegen support for masked combined construct parallel maske
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/121914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121914
>From a15cfb56691aae4fb9b34d33c462fafab7ee4123 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Tue, 7 Jan 2025 04:51:54 -0600
Subject: [PATCH 1/2] codegen support for masked combined construct
masked_ta
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/121916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121916
>From 7d03bd61553690f22c03b52ef2bda8a09938e7a1 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Tue, 7 Jan 2025 05:09:21 -0600
Subject: [PATCH] codegen support for masked combined construct masked taskloo
chandraghale wrote:
@alexey-bataev Can you approve this and rest of splitted PRs
[121914](https://github.com/llvm/llvm-project/pull/121914) and
[121746](https://github.com/llvm/llvm-project/pull/121746 ) is the part of
combined masked construct
[PR-121741](https://github.com/llvm/llvm-pro
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/121741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121741
>From 0c790fc2768d58634e0455adf9f797a2456a7335 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Mon, 6 Jan 2025 03:35:46 -0600
Subject: [PATCH 1/3] codegen support for masked combined construct parallel
chandraghale wrote:
> Also update ReleaseNotes.rst here and in other patches
@alexey-bataev release notes updated. Updated for other patches as well in
this PR.
https://github.com/llvm/llvm-project/pull/121741
___
cfe-commits mailing list
cfe-commi
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121741
>From 0c790fc2768d58634e0455adf9f797a2456a7335 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Mon, 6 Jan 2025 03:35:46 -0600
Subject: [PATCH 1/3] codegen support for masked combined construct parallel
chandraghale wrote:
Note : OpenMPSupport.rst is updated in PR :
https://github.com/llvm/llvm-project/pull/121741
https://github.com/llvm/llvm-project/pull/121916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
chandraghale wrote:
Note : OpenMPSupport.rst is updated in PR :
https://github.com/llvm/llvm-project/pull/121741
https://github.com/llvm/llvm-project/pull/121914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
chandraghale wrote:
> Please update OpenMPSupport.rst
Updated the doc in this PR : https://github.com/llvm/llvm-project/pull/121741
https://github.com/llvm/llvm-project/pull/121746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
chandraghale wrote:
> Update OpenMPSupport.rst
Updated OpenMPSupport.rst . Updated the doc for all the related split-ed PRs (
[PR-121746](https://github.com/llvm/llvm-project/pull/121746) ,
[121914](https://github.com/llvm/llvm-project/pull/121914) ,
[121916](https://github.com/llvm/llvm-pro
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/121741
>From 0c790fc2768d58634e0455adf9f797a2456a7335 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Mon, 6 Jan 2025 03:35:46 -0600
Subject: [PATCH 1/2] codegen support for masked combined construct parallel
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/121916
Added codegen support for combined masked constructs `masked taskloop simd`.
Added implementation for `EmitOMPMaskedTaskLoopSimdDirective`.
>From 7d03bd61553690f22c03b52ef2bda8a09938e7a1 Mon Sep 17 00:00:00
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/121914
Added codegen support for combined masked constructs `masked taskloop.`
Added implementation for `EmitOMPMaskedTaskLoopDirective`.
>From a15cfb56691aae4fb9b34d33c462fafab7ee4123 Mon Sep 17 00:00:00 2001
Fro
chandraghale wrote:
closing this PR . Splitting into separate patches for each directives.
https://github.com/llvm/llvm-project/pull/120520
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/120520
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/121746
Added codegen support for combined masked constructs `Parallel masked taskloop
simd`.
Added implementation for `EmitOMPParallelMaskedTaskLoopSimdDirective`.
>From 81f9c8f7eb18c0469b3c42db5150384cb57baef8 M
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/121741
Added codegen support for combined masked constructs Parallel masked taskloop.
Added implementation for EmitOMPParallelMaskedTaskLoopDirective.
>From 0c790fc2768d58634e0455adf9f797a2456a7335 Mon Sep 17 00:
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/120520
>From ca5e6f208927fc9b82c6dce34ee46dbca2d83a58 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Wed, 18 Dec 2024 22:36:19 -0600
Subject: [PATCH 1/3] Codegen support for masked combined construct
---
cla
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/120520
>From ca5e6f208927fc9b82c6dce34ee46dbca2d83a58 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Wed, 18 Dec 2024 22:36:19 -0600
Subject: [PATCH 1/2] Codegen support for masked combined construct
---
cla
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/117196
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,256 @@
+// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -x c++
-emit-llvm %s -o - | FileCheck %s
chandraghale wrote:
Updated with auto gen checks !!
https://github.com/llvm/llvm-project/pull/117196
__
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/117196
>From d19f41d39237b3d4fd2923f037743ddd495d5c9f Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Thu, 21 Nov 2024 11:15:11 -0600
Subject: [PATCH 1/5] Initial Codegen changes for strict modifier with
grain
@@ -4683,13 +4683,22 @@ void CGOpenMPRuntime::emitTaskLoopCall(CodeGenFunction
&CGF, SourceLocation Loc,
Data.Schedule.getPointer()
? CGF.Builder.CreateIntCast(Data.Schedule.getPointer(), CGF.Int64Ty,
/*isSigned=*/false)
-
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/117196
>From d19f41d39237b3d4fd2923f037743ddd495d5c9f Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Thu, 21 Nov 2024 11:15:11 -0600
Subject: [PATCH 1/4] Initial Codegen changes for strict modifier with
grain
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/117196
>From d19f41d39237b3d4fd2923f037743ddd495d5c9f Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Thu, 21 Nov 2024 11:15:11 -0600
Subject: [PATCH 1/4] Initial Codegen changes for strict modifier with
grain
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/114072
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/114072
>From 4b49b221a67bd77db98ca765610f7c1ace0772a0 Mon Sep 17 00:00:00 2001
From: Shashwathi N
Date: Tue, 29 Oct 2024 09:16:04 -0500
Subject: [PATCH 1/3] Added support for seq_cst clause for flush directive
--
@@ -7831,10 +7831,14 @@ void
CodeGenFunction::EmitOMPTaskLoopBasedDirective(const OMPLoopDirective &S) {
// grainsize clause
Data.Schedule.setInt(/*IntVal=*/false);
Data.Schedule.setPointer(EmitScalarExpr(Clause->getGrainsize()));
+Data.HasModifier =
+(
@@ -4666,30 +4666,58 @@ void CGOpenMPRuntime::emitTaskLoopCall(CodeGenFunction
&CGF, SourceLocation Loc,
CGF.getContext().VoidPtrTy);
}
enum { NoSchedule = 0, Grainsize = 1, NumTasks = 2 };
- llvm::Value *TaskArgs[] = {
- UpLoc,
-
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/117196
>From d19f41d39237b3d4fd2923f037743ddd495d5c9f Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Thu, 21 Nov 2024 11:15:11 -0600
Subject: [PATCH 1/3] Initial Codegen changes for strict modifier with
grain
https://github.com/chandraghale created
https://github.com/llvm/llvm-project/pull/117196
Initial parsing/sema for 'strict' modifier with 'num_tasks' and ‘grainsize’
clause is present in these commits
[grainsize_parsing](https://github.com/llvm/llvm-project/commit/ab9eac762c35068e77f57795e660d0
https://github.com/chandraghale edited
https://github.com/llvm/llvm-project/pull/117196
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/115306
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/114221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/114221
>From 4e6d8c1edb73fe08659519d8798cab162875ebc0 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Wed, 30 Oct 2024 07:18:06 -0500
Subject: [PATCH 1/4] Fix for codegen Crash in Clang when using locator
omp_
https://github.com/chandraghale updated
https://github.com/llvm/llvm-project/pull/115306
>From 792ccf7ef364f3119b920121dd68285eb4ca1e41 Mon Sep 17 00:00:00 2001
From: Chandra Ghale
Date: Thu, 7 Nov 2024 05:54:48 -0600
Subject: [PATCH] Fix for OpenMP offloading compilation with GNU++20 option
w
57 matches
Mail list logo