[flang] [libc] [mlir] [llvm] [compiler-rt] [lldb] [clang-tools-extra] [libcxxabi] [libcxx] [clang] [mlir][flang][openacc] Support device_type on loop construct (PR #76892)

2024-01-04 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Looks great to me! Thank you! https://github.com/llvm/llvm-project/pull/76892 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

[clang] [flang][openacc] Enable lowering support for OpenACC atomic operations (PR #65776)

2023-09-11 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru updated https://github.com/llvm/llvm-project/pull/65776: >From 967089f4e81d5bfcddeabddf81ab90912b5cc3b3 Mon Sep 17 00:00:00 2001 From: Razvan Lupusoru Date: Fri, 8 Sep 2023 09:06:57 -0700 Subject: [PATCH 1/4] [flang][openacc] Enable lowering support for OpenACC

[clang-tools-extra] [flang][openacc] Enable lowering support for OpenACC atomic operations (PR #65776)

2023-09-11 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru updated https://github.com/llvm/llvm-project/pull/65776: >From 967089f4e81d5bfcddeabddf81ab90912b5cc3b3 Mon Sep 17 00:00:00 2001 From: Razvan Lupusoru Date: Fri, 8 Sep 2023 09:06:57 -0700 Subject: [PATCH 1/4] [flang][openacc] Enable lowering support for OpenACC

[clang] [OpenACC][CIR] Start work to lower 'loop' (PR #137972)

2025-04-30 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru edited https://github.com/llvm/llvm-project/pull/137972 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC][CIR] Start work to lower 'loop' (PR #137972)

2025-04-30 Thread Razvan Lupusoru via cfe-commits
@@ -13,17 +13,103 @@ #include "CIRGenBuilder.h" #include "CIRGenFunction.h" #include "CIRGenOpenACCClause.h" -#include "mlir/Dialect/OpenACC/OpenACC.h" + #include "clang/AST/OpenACCClause.h" #include "clang/AST/StmtOpenACC.h" +#include "mlir/Dialect/OpenACC/OpenACC.h" + us

[clang] [OpenACC][CIR] Start work to lower 'loop' (PR #137972)

2025-04-30 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Thank you Erich! Your prose on possibilities and challenges is a great idea for inclusion. https://github.com/llvm/llvm-project/pull/137972 ___ cfe-commits mailing list cfe-commits@lists.ll

[clang] [OpenACC][CIR] Start work to lower 'loop' (PR #137972)

2025-04-30 Thread Razvan Lupusoru via cfe-commits
@@ -13,17 +13,103 @@ #include "CIRGenBuilder.h" #include "CIRGenFunction.h" #include "CIRGenOpenACCClause.h" -#include "mlir/Dialect/OpenACC/OpenACC.h" + #include "clang/AST/OpenACCClause.h" #include "clang/AST/StmtOpenACC.h" +#include "mlir/Dialect/OpenACC/OpenACC.h" + us

[clang] [mlir] [NFC][OpenACC] addDeviceType to init/shutdown ops (PR #137372)

2025-04-25 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Thank you! I am happy to see this improvement! https://github.com/llvm/llvm-project/pull/137372 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[clang] [mlir] [mlir][acc] Use consistent name for device_num operand (PR #136745)

2025-04-22 Thread Razvan Lupusoru via cfe-commits
razvanlupusoru wrote: > Also, we have `getIfCondMutable` in a number of places as well, which is now > inconsistent with skipping the 'operand'. I am not sure I follow - are you saying that for consistency, you think that the word 'operand' should be included in the name of `ifCond` (or exclud

[clang] [mlir] [mlir][acc] Use consistent name for device_num operand (PR #136745)

2025-04-22 Thread Razvan Lupusoru via cfe-commits
razvanlupusoru wrote: I plan on merging this as soon as the 2 pending checks complete :) https://github.com/llvm/llvm-project/pull/136745 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[clang] [mlir] [OpenACC][NFCI] Implement 'helpers' for all of the clauses I've used so far (PR #137396)

2025-04-25 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Thank you so much for doing this! https://github.com/llvm/llvm-project/pull/137396 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe

[clang] [mlir] [OpenACC][CIR] Implement Loop lowering of seq/auto/independent (PR #138164)

2025-05-01 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Awesome. Thank you for continuing to contribute the builders to the dialect. https://github.com/llvm/llvm-project/pull/138164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://

[clang] [mlir] [OpenACC] Implement tile/collapse lowering (PR #138576)

2025-05-05 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru approved this pull request. Thank you. LGTM https://github.com/llvm/llvm-project/pull/138576 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [mlir] [OpenACC] Implement tile/collapse lowering (PR #138576)

2025-05-05 Thread Razvan Lupusoru via cfe-commits
@@ -336,6 +348,52 @@ class OpenACCClauseCIREmitter final return clauseNotImplemented(clause); } } + + void VisitCollapseClause(const OpenACCCollapseClause &clause) { +if constexpr (isOneOfTypes) { + llvm::APInt value = + clause.getIntExpr()->Evalu

[clang] [mlir] [OpenACC] Implement tile/collapse lowering (PR #138576)

2025-05-05 Thread Razvan Lupusoru via cfe-commits
https://github.com/razvanlupusoru edited https://github.com/llvm/llvm-project/pull/138576 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits