@@ -4991,3 +4971,38 @@ OMPClause
*Parser::ParseOpenMPVarListClause(OpenMPDirectiveKind DKind,
OMPVarListLocTy Locs(Loc, LOpen, Data.RLoc);
return Actions.OpenMP().ActOnOpenMPVarListClause(Kind, Vars, Locs, Data);
}
+
+bool
@@ -17432,16 +17457,54 @@ OMPClause
*SemaOpenMP::ActOnOpenMPSizesClause(ArrayRef SizeExprs,
SourceLocation StartLoc,
SourceLocation LParenLoc,
@@ -15197,6 +15202,36 @@ StmtResult
SemaOpenMP::ActOnOpenMPTileDirective(ArrayRef Clauses,
// Once the original iteration values are set, append the innermost body.
Stmt *Inner = Body;
+ auto MakeDimTileSize = [ = this->SemaRef, , ,
+
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/91345
>From a2aa6950ce3880b8e669025d95ac9e72245e26a7 Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 7 May 2024 16:42:41 +0200
Subject: [PATCH 1/3] Allow non-constant tile sizes
---
https://github.com/Meinersbur ready_for_review
https://github.com/llvm/llvm-project/pull/91345
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Meinersbur wrote:
Test failure is from unrelated `DataFlowSanitizer-x86_64 ::
release_shadow_space.c`
https://github.com/llvm/llvm-project/pull/91345
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/91345
>From a2aa6950ce3880b8e669025d95ac9e72245e26a7 Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 7 May 2024 16:42:41 +0200
Subject: [PATCH 1/2] Allow non-constant tile sizes
---
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/91345
Allow non-constants in the `sizes` clause such as
```
#pragma omp tile sizes(a)
for (int i = 0; i < n; ++i)
```
This is permitted since tile was introduced in [OpenMP
@@ -89,15 +89,15 @@ function(add_compiler_rt_object_libraries name)
"${libname}" MATCHES ".*\.osx.*")
foreach(arch ${LIB_ARCHS_${libname}})
list(APPEND target_flags
- "SHELL:-target ${arch}-apple-macos${DARWIN_osx_MIN_VER}
-darwin-target-variant
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/89753
>From 19ef183fcfb44fa8b9bae34bdc8eafb8d2425722 Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Apr 2024 13:15:38 +0200
Subject: [PATCH 1/2] [compiler-rt] Revise IDE folder structure
---
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/89743
>From afadef1f53e03e2cf3a1695f3c693913b27382dd Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Apr 2024 13:03:11 +0200
Subject: [PATCH 1/2] [clang] Revise IDE folder structure
---
https://github.com/Meinersbur ready_for_review
https://github.com/llvm/llvm-project/pull/89743
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur ready_for_review
https://github.com/llvm/llvm-project/pull/89742
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/89748
>From e29002224ef168934ae414e75e765cf197f65bc0 Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Apr 2024 13:21:43 +0200
Subject: [PATCH 1/2] [lldb] Revise IDE folder structure
---
@@ -232,7 +231,7 @@ elseif (LLDB_EXPORT_ALL_SYMBOLS)
)
add_llvm_symbol_exports(liblldb ${exported_symbol_file})
- set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc")
+ set_target_properties(liblldb PROPERTIES FOLDER "LLDB/Misc")
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89742
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89755
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the part for the remaining subprojects that have just one file
changed each. For the runtime subprojects this is
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89753
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the Compiler-RT part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89752
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the Polly part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89750
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the OpenMP part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89749
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the MLIR part. See #89153 for the entire series and motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89748
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89748
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the BOLT part. See #89153 for the entire series and motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89747
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the LLD part. See #89153 for the entire series and motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89743
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89746
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the libclc part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89745
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the Flang part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89744
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the Clang-tools-extra part. See #89153 for the entire series
and motivation.
Update the folder titles for targets in
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89743
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the Clang part. See #89153 for the entire series and
motivation.
Update the folder titles for targets in the
https://github.com/Meinersbur created
https://github.com/llvm/llvm-project/pull/89742
Reviewers of #89153 suggested to break up the patch into per-subproject
patches. This is the BOLT part. See #89153 for the entire series and motivation.
Update the folder titles for targets in the
@@ -2028,41 +2029,61 @@ MemoryDepChecker::Dependence::DepType
MemoryDepChecker::isDependent(
if (std::holds_alternative(Res))
return std::get(Res);
- const auto &[Dist, Stride, TypeByteSize, AIsWrite, BIsWrite] =
+ const auto &[Dist, StrideA, StrideB, TypeByteSize,
@@ -2071,34 +2092,51 @@ MemoryDepChecker::Dependence::DepType
MemoryDepChecker::isDependent(
// NOTE: There is no need to update MaxSafeVectorWidthInBits after call to
// couldPreventStoreLoadForward, even if it changed MinDepDistBytes, since
a
// forward
@@ -2028,41 +2029,61 @@ MemoryDepChecker::Dependence::DepType
MemoryDepChecker::isDependent(
if (std::holds_alternative(Res))
return std::get(Res);
- const auto &[Dist, Stride, TypeByteSize, AIsWrite, BIsWrite] =
+ const auto &[Dist, StrideA, StrideB, TypeByteSize,
https://github.com/Meinersbur approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/89214
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89214
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -369,7 +369,9 @@ getDeclareTargetFunctionDevice(
static llvm::SmallVector
Meinersbur wrote:
Consider adding documentation for what this function does an the meaning of the
variables.
https://github.com/llvm/llvm-project/pull/89215
https://github.com/Meinersbur approved this pull request.
https://github.com/llvm/llvm-project/pull/89215
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89215
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -249,31 +249,33 @@ subroutine simple_loop_1
real, allocatable :: r;
! FIRDialect: omp.parallel
!$OMP PARALLEL PRIVATE(r)
- ! FIRDialect: %[[ALLOCA_IV:.*]] = fir.alloca i32 {{{.*}}, pinned}
+ ! FIRDialect: %[[ALLOCA_IV:.*]] = fir.alloca i32 {{{.*}}, pinned}
@@ -461,18 +461,51 @@ struct ParallelOpLowering : public
OpRewritePattern {
// Replace the loop.
{
OpBuilder::InsertionGuard allocaGuard(rewriter);
-auto loop = rewriter.create(
+// Create worksharing loop wrapper.
+auto wsloopOp =
https://github.com/Meinersbur approved this pull request.
https://github.com/llvm/llvm-project/pull/89212
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/89212
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -916,49 +916,50 @@ static LogicalResult inlineReductionCleanup(
static LogicalResult
convertOmpWsloop(Operation , llvm::IRBuilderBase ,
LLVM::ModuleTranslation ) {
- auto loop = cast(opInst);
- const bool isByRef = loop.getByref();
+ auto wsloopOp =
@@ -1008,33 +1009,34 @@ convertOmpWsloop(Operation , llvm::IRBuilderBase
,
auto bodyGen = [&](llvm::OpenMPIRBuilder::InsertPointTy ip, llvm::Value *iv)
{
// Make sure further conversions know about the induction variable.
moduleTranslation.mapValue(
-
@@ -379,14 +385,16 @@ llvm.func @body(i32)
// CHECK-LABEL: @test_omp_wsloop_static_defchunk
llvm.func @test_omp_wsloop_static_defchunk(%lb : i32, %ub : i32, %step : i32)
-> () {
- omp.wsloop schedule(static)
- for (%iv) : i32 = (%lb) to (%ub) step (%step) {
- // CHECK:
https://github.com/Meinersbur approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/89211
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/88909
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur approved this pull request.
https://github.com/llvm/llvm-project/pull/87239
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Meinersbur approved this pull request.
https://github.com/llvm/llvm-project/pull/87253
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -69,6 +69,74 @@ def ReductionClauseInterface :
OpInterface<"ReductionClauseInterface"> {
];
}
+def LoopWrapperInterface : OpInterface<"LoopWrapperInterface"> {
+ let description = [{
+OpenMP operations that can wrap a single loop nest. When taking a wrapper
+
@@ -69,6 +69,74 @@ def ReductionClauseInterface :
OpInterface<"ReductionClauseInterface"> {
];
}
+def LoopWrapperInterface : OpInterface<"LoopWrapperInterface"> {
+ let description = [{
+OpenMP operations that can wrap a single loop nest. When taking a wrapper
+
@@ -1730,9 +1730,28 @@ LogicalResult LoopNestOp::verify() {
<< "range argument type does not match corresponding IV type";
}
+ auto wrapper =
+ llvm::dyn_cast_if_present((*this)->getParentOp());
+
+ if (!wrapper || !wrapper.isWrapper())
+return
@@ -69,6 +69,74 @@ def ReductionClauseInterface :
OpInterface<"ReductionClauseInterface"> {
];
}
+def LoopWrapperInterface : OpInterface<"LoopWrapperInterface"> {
+ let description = [{
+OpenMP operations that can wrap a single loop nest. When taking a wrapper
+
Author: Michael Kruse
Date: 2022-03-02T13:01:28-06:00
New Revision: 261253aa60cc10f21788fb55ae27152242a65989
URL:
https://github.com/llvm/llvm-project/commit/261253aa60cc10f21788fb55ae27152242a65989
DIFF:
https://github.com/llvm/llvm-project/commit/261253aa60cc10f21788fb55ae27152242a65989.diff
Author: Michael Kruse
Date: 2021-08-26T13:45:39-05:00
New Revision: 34ff6a75f58377f32a5046a29f55c4c0e58bee9e
URL:
https://github.com/llvm/llvm-project/commit/34ff6a75f58377f32a5046a29f55c4c0e58bee9e
DIFF:
https://github.com/llvm/llvm-project/commit/34ff6a75f58377f32a5046a29f55c4c0e58bee9e.diff
Author: Michael Kruse
Date: 2021-02-14T16:35:48-06:00
New Revision: 2f1f38b5b949866e1e34a3848a09101c0e7c5963
URL:
https://github.com/llvm/llvm-project/commit/2f1f38b5b949866e1e34a3848a09101c0e7c5963
DIFF:
https://github.com/llvm/llvm-project/commit/2f1f38b5b949866e1e34a3848a09101c0e7c5963.diff
Author: Michael Kruse
Date: 2021-01-23T21:00:37-06:00
New Revision: b890fafe672c01daac4ca2b8f740cd0cade78060
URL:
https://github.com/llvm/llvm-project/commit/b890fafe672c01daac4ca2b8f740cd0cade78060
DIFF:
https://github.com/llvm/llvm-project/commit/b890fafe672c01daac4ca2b8f740cd0cade78060.diff
Author: Michael Kruse
Date: 2021-01-23T19:39:29-06:00
New Revision: b7dee667b64ff7dea66b483a35883190798c7d72
URL:
https://github.com/llvm/llvm-project/commit/b7dee667b64ff7dea66b483a35883190798c7d72
DIFF:
https://github.com/llvm/llvm-project/commit/b7dee667b64ff7dea66b483a35883190798c7d72.diff
Author: Michael Kruse
Date: 2021-01-23T13:03:49-06:00
New Revision: 3b9677e1eced0eafc17bdf3f6a41f1fd7db9f120
URL:
https://github.com/llvm/llvm-project/commit/3b9677e1eced0eafc17bdf3f6a41f1fd7db9f120
DIFF:
https://github.com/llvm/llvm-project/commit/3b9677e1eced0eafc17bdf3f6a41f1fd7db9f120.diff
Author: Michael Kruse
Date: 2021-01-23T13:03:48-06:00
New Revision: de0457a013a93d6470094194ece1a1bc4eec1bad
URL:
https://github.com/llvm/llvm-project/commit/de0457a013a93d6470094194ece1a1bc4eec1bad
DIFF:
https://github.com/llvm/llvm-project/commit/de0457a013a93d6470094194ece1a1bc4eec1bad.diff
Author: Michael Kruse
Date: 2021-01-23T13:03:48-06:00
New Revision: a5b895110f02c69465dfa605c036abf420c5acc3
URL:
https://github.com/llvm/llvm-project/commit/a5b895110f02c69465dfa605c036abf420c5acc3
DIFF:
https://github.com/llvm/llvm-project/commit/a5b895110f02c69465dfa605c036abf420c5acc3.diff
Author: Michael Kruse
Date: 2020-12-14T14:07:05-06:00
New Revision: 2aa43358060c6b34fb9cdc6c4321e958f62331e7
URL:
https://github.com/llvm/llvm-project/commit/2aa43358060c6b34fb9cdc6c4321e958f62331e7
DIFF:
https://github.com/llvm/llvm-project/commit/2aa43358060c6b34fb9cdc6c4321e958f62331e7.diff
Author: Michael Kruse
Date: 2020-12-11T11:49:50-06:00
New Revision: 5577fb229d3cd080dfe1f6b44240bbbdb85053d0
URL:
https://github.com/llvm/llvm-project/commit/5577fb229d3cd080dfe1f6b44240bbbdb85053d0
DIFF:
https://github.com/llvm/llvm-project/commit/5577fb229d3cd080dfe1f6b44240bbbdb85053d0.diff
Author: Michael Kruse
Date: 2020-12-11T11:37:45-06:00
New Revision: ba0265a8d86575f4f0d893555c87bdfd944742ce
URL:
https://github.com/llvm/llvm-project/commit/ba0265a8d86575f4f0d893555c87bdfd944742ce
DIFF:
https://github.com/llvm/llvm-project/commit/ba0265a8d86575f4f0d893555c87bdfd944742ce.diff
Author: Michael Kruse
Date: 2020-12-11T00:15:23-06:00
New Revision: 86abc9a1192ba0e8fc9b0756d673a78a6fc13001
URL:
https://github.com/llvm/llvm-project/commit/86abc9a1192ba0e8fc9b0756d673a78a6fc13001
DIFF:
https://github.com/llvm/llvm-project/commit/86abc9a1192ba0e8fc9b0756d673a78a6fc13001.diff
Author: Michael Kruse
Date: 2020-12-10T22:25:19-06:00
New Revision: bc633fe46bbec1cf70d4a3f740da43888979d8c6
URL:
https://github.com/llvm/llvm-project/commit/bc633fe46bbec1cf70d4a3f740da43888979d8c6
DIFF:
https://github.com/llvm/llvm-project/commit/bc633fe46bbec1cf70d4a3f740da43888979d8c6.diff
Author: Michael Kruse
Date: 2020-12-07T15:21:51-06:00
New Revision: 6249bfeefeed7ee2634355d4d7523b46fb00fda6
URL:
https://github.com/llvm/llvm-project/commit/6249bfeefeed7ee2634355d4d7523b46fb00fda6
DIFF:
https://github.com/llvm/llvm-project/commit/6249bfeefeed7ee2634355d4d7523b46fb00fda6.diff
Author: Michael Kruse
Date: 2020-03-01T10:23:09-06:00
New Revision: dce2ef9e642127d0e4809fb4ecc682b1152bf98b
URL:
https://github.com/llvm/llvm-project/commit/dce2ef9e642127d0e4809fb4ecc682b1152bf98b
DIFF:
https://github.com/llvm/llvm-project/commit/dce2ef9e642127d0e4809fb4ecc682b1152bf98b.diff
Author: Michael Kruse
Date: 2020-02-25T22:38:36-06:00
New Revision: 002af0119286297dbd76b08a4a6cc4b6b87d3f26
URL:
https://github.com/llvm/llvm-project/commit/002af0119286297dbd76b08a4a6cc4b6b87d3f26
DIFF:
https://github.com/llvm/llvm-project/commit/002af0119286297dbd76b08a4a6cc4b6b87d3f26.diff
101 - 169 of 169 matches
Mail list logo