[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-08-11 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 617a010c3ae0894a2a2f4a70f10dee038b37f2b3 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang] [Clang][Unittest] Support for `target` update directive and `from` clause in clang unittests (PR #150580)

2025-07-29 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: > it doesn't seem to be tested? I have added them now. https://github.com/llvm/llvm-project/pull/150580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 940d6dcd37dba9b8c9d8b945d4ff1b6f735f3ef1 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 2f4de4ea71e43dd965f81efea4d0987e827c Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
@@ -4724,6 +4724,65 @@ void x() { EXPECT_TRUE(matchesWithOpenMP(Source8, Matcher)); } +TEST_P(ASTMatchersTest, OMPTargetUpdateDirective_IsStandaloneDirective) { amitamd7 wrote: The tests are moved to a separate patch: https://github.com/llvm/llvm-project/p

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
@@ -8713,6 +8713,33 @@ AST_MATCHER_P(OMPExecutableDirective, hasAnyClause, Builder) != Clauses.end(); } +/// Matches any ``#pragma omp target update`` executable directive. +/// +/// Given +/// +/// \code +/// #pragma omp target update fro

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 2f4de4ea71e43dd965f81efea4d0987e827c Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload and clang-tests --- cla

[clang] [Clang][Unittest] Support for `target` update directive and `from` clause in clang unittests (PR #150580)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/150580 >From 615209b570a44d05ea8f3c428aa407d338dcd851 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Fri, 25 Jul 2025 02:45:34 -0400 Subject: [PATCH] support_for_target_directive_clang_unittests --- clang/include/cla

[clang] [Clang][Unittest] Support for `target` update directive and `from` clause in clang unittests (PR #150580)

2025-07-28 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/150580 >From d7d3652cfbd54f6eb6ebe000533a6f6f9f341191 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Fri, 25 Jul 2025 02:45:34 -0400 Subject: [PATCH] support_for_target_directive_clang_unittests --- clang/include/cla

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-25 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: @alexey-bataev I think OMP target update directive and from clause declaration in clang unit-tests is independent from this patch. I have initiated a new PR for the same. https://github.com/llvm/llvm-project/pull/150580 https://github.com/llvm/llvm-project/pull/144635

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-25 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: @alexey-bataev I think OMP `target update` directive and `from` clause declaration in clang unit-tests is independent from this patch. I have initiated a new PR for the same. https://github.com/llvm/llvm-project/pull/150580 https://github.com/llvm/llvm-project/pull/144635 ___

[clang] [Clang][Unittest] Support for `target` update directive and `from` clause in clang unittests (PR #150580)

2025-07-25 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 edited https://github.com/llvm/llvm-project/pull/150580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Unittest] Support for `target` update directive and `from` clause in clang unittests (PR #150580)

2025-07-25 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 edited https://github.com/llvm/llvm-project/pull/150580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-25 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 9afb5a64977ebc256eacefbbf591e45153ab967d Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload-tests, lit-clang-tests a

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-25 Thread Amit Tiwari via cfe-commits
@@ -7378,7 +7378,35 @@ class MappableExprsHandler { // dimension. uint64_t DimSize = 1; -bool IsNonContiguous = CombinedInfo.NonContigInfo.IsNonContiguous; +// Detects non-contiguous updates due to strided accesses. +// Sets the 'IsNonContiguous' flag so th

[clang] [Clang][Unittest] Support for `target` directive and `from` clause in clang unittests (PR #150580)

2025-07-25 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/150580 >From 4b0be55b282fcd5482ef4f8b52cb07127501c254 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Fri, 25 Jul 2025 02:45:34 -0400 Subject: [PATCH] support_for_target_directive_clang_unittests --- clang/include/cla

[clang] [llvm] [Clang][Unittest] Support for `target` directive and `from` clause in clang unittests (PR #150580)

2025-07-24 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 created https://github.com/llvm/llvm-project/pull/150580 Added support for detecting OMP Target Directive and OMP From Clause in Clang Unit Test Framework >From 846d871783d572667cb8bdb954961f274e04702c Mon Sep 17 00:00:00 2001 From: amtiwari Date: Tue, 17 Jun 2025

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-23 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 reopened https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-23 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 closed https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-23 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: > Also, update OpenMPSupport.rst and release notes https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-23 Thread Amit Tiwari via cfe-commits
@@ -4724,6 +4724,65 @@ void x() { EXPECT_TRUE(matchesWithOpenMP(Source8, Matcher)); } +TEST_P(ASTMatchersTest, OMPTargetUpdateDirective_IsStandaloneDirective) { amitamd7 wrote: Done. https://github.com/llvm/llvm-project/pull/144635

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-23 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 7f897ffe2c00a06cd92d11d07ee331dc5bdaf5a0 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-offload-tests, lit-clang-tests a

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-22 Thread Amit Tiwari via cfe-commits
@@ -8713,6 +8713,33 @@ AST_MATCHER_P(OMPExecutableDirective, hasAnyClause, Builder) != Clauses.end(); } +/// Matches any ``#pragma omp target update`` executable directive. +/// +/// Given +/// +/// \code +/// #pragma omp target update fro

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-22 Thread Amit Tiwari via cfe-commits
@@ -7378,7 +7378,31 @@ class MappableExprsHandler { // dimension. uint64_t DimSize = 1; -bool IsNonContiguous = CombinedInfo.NonContigInfo.IsNonContiguous; +// Detects non-contiguous updates due to strided accesses. +// Sets the 'IsNonContiguous' flag so th

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-21 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 converted_to_draft https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-15 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: The PR has incorporated the revised changes. Please, have a look. https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-15 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 ready_for_review https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-07-02 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From bdff136d17695f009bdbe6a133e1241cbb233ed5 Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-tests and clang-unittests added

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-26 Thread Amit Tiwari via cfe-commits
amitamd7 wrote: Please ignore the indentation changes. I'll fix them soon in the revised version along. https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-26 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 updated https://github.com/llvm/llvm-project/pull/144635 >From 1383c0e58feff9aabbffab23dc705c497baa0f2d Mon Sep 17 00:00:00 2001 From: amtiwari Date: Mon, 16 Jun 2025 01:07:01 -0400 Subject: [PATCH] strided_update_offloading with lit-tests added --- clang/lib/CodeG

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-23 Thread Amit Tiwari via cfe-commits
@@ -7384,7 +7384,40 @@ class MappableExprsHandler { // dimension. uint64_t DimSize = 1; -bool IsNonContiguous = CombinedInfo.NonContigInfo.IsNonContiguous; +// Detects non-contiguous updates due to strided accesses. +// Sets the 'IsNonContiguous' flag so th

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-23 Thread Amit Tiwari via cfe-commits
@@ -7384,7 +7384,40 @@ class MappableExprsHandler { // dimension. uint64_t DimSize = 1; -bool IsNonContiguous = CombinedInfo.NonContigInfo.IsNonContiguous; +// Detects non-contiguous updates due to strided accesses. +// Sets the 'IsNonContiguous' flag so th

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-17 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 converted_to_draft https://github.com/llvm/llvm-project/pull/144635 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OpenMP] Non-contiguous strided update (PR #144635)

2025-06-17 Thread Amit Tiwari via cfe-commits
https://github.com/amitamd7 created https://github.com/llvm/llvm-project/pull/144635 This patch handles the strided update in the `#pragma omp target update from(data[a:b:c])` directive where 'c' represents the strided access leading to non-contiguous update in the `data` array when the offloa