Author: Georgios Pinitas
Date: 2024-10-23T04:29:17+01:00
New Revision: 5811cd6c824cd4b62ec6e41e9d82c8120d6b11e0
URL:
https://github.com/llvm/llvm-project/commit/5811cd6c824cd4b62ec6e41e9d82c8120d6b11e0
DIFF:
https://github.com/llvm/llvm-project/commit/5811cd6c824cd4b62ec6e41e9d82c8120d6b11e0.di
@@ -2663,6 +2657,8 @@ static llvm::omp::OpenMPOffloadMappingFlags
mapParentWithMembers(
auto mapOp = dyn_cast(mapData.MapClause[mapDataIndex]);
int firstMemberIdx = getMapDataMemberIdx(
mapData, getFirstOrLastMappedMemberPtr(mapOp, true));
+// NOTE/TODO: Sh
ChuanqiXu9 wrote:
> @usx95 may be able to help with the reproducer.
>
> In the meantime, I'm trying to collect some information on the compile times.
> So far it looks like we have a ~10-15x compile time regression on some
> translation units. Without this patch `-ftime-report` shows:
>
> ```
Author: Justin Fargnoli
Date: 2024-10-22T15:58:31-07:00
New Revision: f40769c2d86c1b8e2b0d6d03209d70782103ae28
URL:
https://github.com/llvm/llvm-project/commit/f40769c2d86c1b8e2b0d6d03209d70782103ae28
DIFF:
https://github.com/llvm/llvm-project/commit/f40769c2d86c1b8e2b0d6d03209d70782103ae28.dif
https://github.com/fmayer updated
https://github.com/llvm/llvm-project/pull/113390
___
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/fmayer updated
https://github.com/llvm/llvm-project/pull/113390
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: Florian Mayer (fmayer)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113390.diff
1 Files Affected:
- (modified) llvm/test/MC/AArch64/global-tagging.ll (+33-15)
``diff
diff --git a/llvm/test/MC/AArch64/global-
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Florian Mayer (fmayer)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113390.diff
1 Files Affected:
- (modified) llvm/test/MC/AArch64/global-tagging.ll (+33-15)
``diff
diff --git a/llvm/test/MC/AA
https://github.com/fmayer created
https://github.com/llvm/llvm-project/pull/113390
None
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Vitaly Buka
Date: 2024-10-22T13:32:23-07:00
New Revision: 5ef06ef85d09f8a1e1fd5a7445724e40da9e6e5b
URL:
https://github.com/llvm/llvm-project/commit/5ef06ef85d09f8a1e1fd5a7445724e40da9e6e5b
DIFF:
https://github.com/llvm/llvm-project/commit/5ef06ef85d09f8a1e1fd5a7445724e40da9e6e5b.diff
L
Author: Vitaly Buka
Date: 2024-10-22T13:05:15-07:00
New Revision: 1f8ba8d2b1fab78d1a730014bda2bb4ad72b4d1f
URL:
https://github.com/llvm/llvm-project/commit/1f8ba8d2b1fab78d1a730014bda2bb4ad72b4d1f
DIFF:
https://github.com/llvm/llvm-project/commit/1f8ba8d2b1fab78d1a730014bda2bb4ad72b4d1f.diff
L
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/113200
___
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/vitalybuka updated
https://github.com/llvm/llvm-project/pull/113200
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
Author: Steven Wu (cachemeifyoucan)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113367.diff
2 Files Affected:
- (modified) llvm/include/llvm/Support/raw_ostream_proxy.h (+23-9)
- (modified) llvm/unittests/Support/r
https://github.com/cachemeifyoucan closed
https://github.com/llvm/llvm-project/pull/113367
___
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/cachemeifyoucan created
https://github.com/llvm/llvm-project/pull/113367
None
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Steven Wu (cachemeifyoucan)
Changes
Adopt new virtual output backend in CompilerInstance.
---
Full diff: https://github.com/llvm/llvm-project/pull/113364.diff
2 Files Affected:
- (modified) clang/include/clang/Frontend/CompilerInstance
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
Author: Steven Wu (cachemeifyoucan)
Changes
Add OutputBackend and OutputFile to the `llvm::vfs` namespace for
virtualizing compiler outputs. This is intended for use in Clang,
The headers are:
- llvm/Support/VirtualOutputConfig.h
- llvm/Su
https://github.com/cachemeifyoucan created
https://github.com/llvm/llvm-project/pull/113364
Adopt new virtual output backend in CompilerInstance.
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/cachemeifyoucan created
https://github.com/llvm/llvm-project/pull/113363
Add OutputBackend and OutputFile to the `llvm::vfs` namespace for
virtualizing compiler outputs. This is intended for use in Clang,
The headers are:
- llvm/Support/VirtualOutputConfig.h
- llvm/Support/V
llvmbot wrote:
@llvm/pr-subscribers-llvm-support
Author: Steven Wu (cachemeifyoucan)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113361.diff
2 Files Affected:
- (modified) llvm/include/llvm/Support/raw_ostream_proxy.h (+23-9)
- (modified) llvm/unittests/Support/r
https://github.com/cachemeifyoucan closed
https://github.com/llvm/llvm-project/pull/113361
___
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/cachemeifyoucan created
https://github.com/llvm/llvm-project/pull/113361
None
___
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/vitalybuka updated
https://github.com/llvm/llvm-project/pull/113200
___
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/vitalybuka updated
https://github.com/llvm/llvm-project/pull/113200
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -4,6 +4,7 @@
// https://github.com/llvm/llvm-project/issues/47137
#include
#include
+#include
cjappl wrote:
This line seems unrelated to the other changes, any reason for it?
https://github.com/llvm/llvm-project/pull/96507
__
https://github.com/cjappl commented:
This seems reasonable enough to me, I'm far from a tysan expert, but I
requested review for you. đź‘Ť
https://github.com/llvm/llvm-project/pull/96507
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llv
https://github.com/cjappl edited https://github.com/llvm/llvm-project/pull/96507
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Daniel Hoekwater
Date: 2024-10-22T12:49:19-04:00
New Revision: c7b62e0697a5c9688f6d68a538fc68b74a5413fc
URL:
https://github.com/llvm/llvm-project/commit/c7b62e0697a5c9688f6d68a538fc68b74a5413fc
DIFF:
https://github.com/llvm/llvm-project/commit/c7b62e0697a5c9688f6d68a538fc68b74a5413fc.di
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/112866
>From 1b1d2f95a8e6fb552d1853b93e15a12775a7b01b Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Tue, 22 Oct 2024 18:06:55 +0200
Subject: [PATCH] MachineUniformityAnalysis: Improve isConstantOrUndefVa
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/112882
>From 0be714e28b9a7d2c0ee070827efc1587524bbc28 Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Tue, 22 Oct 2024 17:46:04 +0200
Subject: [PATCH] AMDGPU/GlobalISel: RegBankLegalize rules for load
Add
https://github.com/skatrak commented:
Thank you Andrew for your work on this. I have a few relatively minor comments,
but otherwise the general approach seems ok to me.
https://github.com/llvm/llvm-project/pull/92
___
llvm-branch-commits mailing l
@@ -82,104 +132,188 @@ class MapInfoFinalizationPass
// perform an alloca and then store to it and retrieve the data from the
new
// alloca.
if (mlir::isa(descriptor.getType())) {
- // If we have already created a local allocation for this BoxType,
- // w
@@ -91,3 +91,216 @@ func.func
@test_nested_derived_type_map_operand_and_block_addition(%arg0: !fir.r
// CHECK: %[[MAP_MEMBER_2:.*]] = omp.map.info var_ptr(%{{.*}} :
!fir.ref, f32) map_clauses(tofrom) capture(ByRef) -> !fir.ref {name =
"sa%n%r"}
// CHECK: %[[MAP_PARENT:.*]
@@ -183,99 +347,69 @@ getComponentObject(std::optional object,
return getComponentObject(baseObj.value(), semaCtx);
}
-static void
-generateMemberPlacementIndices(const Object &object,
- llvm::SmallVectorImpl &indices,
-
@@ -82,104 +132,188 @@ class MapInfoFinalizationPass
// perform an alloca and then store to it and retrieve the data from the
new
// alloca.
if (mlir::isa(descriptor.getType())) {
skatrak wrote:
Nit: Consider negating the condition and returning e
@@ -82,104 +132,188 @@ class MapInfoFinalizationPass
// perform an alloca and then store to it and retrieve the data from the
new
// alloca.
if (mlir::isa(descriptor.getType())) {
- // If we have already created a local allocation for this BoxType,
- // w
@@ -82,104 +132,188 @@ class MapInfoFinalizationPass
// perform an alloca and then store to it and retrieve the data from the
new
// alloca.
if (mlir::isa(descriptor.getType())) {
- // If we have already created a local allocation for this BoxType,
- // w
@@ -225,32 +359,79 @@ class MapInfoFinalizationPass
fir::FirOpBuilder &builder,
mlir::Operation *target) {
auto mapClauseOwner =
-llvm::dyn_cast(target);
+llvm::dyn_cast_if_present(
+
@@ -907,28 +908,46 @@ void ClauseProcessor::processMapObjects(
object.ref(), clauseLocation, asFortran, bounds,
treatIndexAsSection);
+mlir::Value baseOp = info.rawInput;
+if (object.sym()->owner().IsDerivedType()) {
+ omp::ObjectList objec
@@ -82,104 +132,188 @@ class MapInfoFinalizationPass
// perform an alloca and then store to it and retrieve the data from the
new
// alloca.
if (mlir::isa(descriptor.getType())) {
- // If we have already created a local allocation for this BoxType,
- // w
@@ -58,21 +67,62 @@ class MapInfoFinalizationPass
/*corresponding local alloca=*/fir::AllocaOp>
localBoxAllocas;
- void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
- fir::FirOpBuilder &builder,
-
@@ -58,21 +67,62 @@ class MapInfoFinalizationPass
/*corresponding local alloca=*/fir::AllocaOp>
localBoxAllocas;
- void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
- fir::FirOpBuilder &builder,
-
@@ -58,21 +67,62 @@ class MapInfoFinalizationPass
/*corresponding local alloca=*/fir::AllocaOp>
localBoxAllocas;
- void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
- fir::FirOpBuilder &builder,
-
@@ -49,38 +51,95 @@ using DeclareTargetCapturePair =
// and index data when lowering OpenMP map clauses. Keeps track of the
// placement of the component in the derived type hierarchy it rests within,
// alongside the generated mlir::omp::MapInfoOp for the mapped component.
-st
https://github.com/skatrak edited
https://github.com/llvm/llvm-project/pull/92
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
alexfh wrote:
@usx95 may be able to help with the reproducer.
In the meantime, I'm trying to collect some information on the compile times.
So far it looks like we have a ~10-15x compile time regression on some
translation units. Without this patch `-ftime-report` shows:
```
===---
@@ -1415,51 +1414,32 @@ static ParseResult parseMembersIndex(OpAsmParser
&parser,
if (failed(parser.parseRSquare()))
return failure();
-// Only set once, if any indices are not the same size
-// we error out in the next check as that's unsupported
-if (s
@@ -1392,16 +1392,15 @@ static void printMapClause(OpAsmPrinter &p, Operation
*op,
}
static ParseResult parseMembersIndex(OpAsmParser &parser,
- DenseIntElementsAttr &membersIdx) {
- SmallVector values;
+
https://github.com/skatrak approved this pull request.
Thank you Andrew, this looks good. I have a couple small suggestions, but
nothing major, so I'm approving it. Please address Akash's comments as well
before merging.
https://github.com/llvm/llvm-project/pull/91
@@ -2749,6 +2742,31 @@ static void processMapMembersWithParent(
assert(memberDataIdx >= 0 && "could not find mapped member of structure");
+// If we're currently mapping a pointer to a block of data, we must
+// initially map the pointer, and then attatch/bind the
@@ -2764,7 +2782,12 @@ static void processMapMembersWithParent(
mapData.DevicePointers[memberDataIdx]);
combinedInfo.Names.emplace_back(
LLVM::createMappingInformation(memberClause.getLoc(), ompBuilder));
-combinedInfo.BasePointers.emplace_back(mapData.B
@@ -2468,51 +2468,45 @@ static int getMapDataMemberIdx(MapInfoData &mapData,
omp::MapInfoOp memberOp) {
return std::distance(mapData.MapClause.begin(), res);
}
-static omp::MapInfoOp getFirstOrLastMappedMemberPtr(omp::MapInfoOp mapInfo,
-
@@ -0,0 +1,66 @@
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
+
+// This test checks the offload sizes, map types and base pointers and pointers
+// provided to the OpenMP kernel argument structure are correct when lowering
+// to LLVM-IR from MLIR when performing exp
https://github.com/skatrak edited
https://github.com/llvm/llvm-project/pull/91
___
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/optimisan updated
https://github.com/llvm/llvm-project/pull/111357
>From c2a3cdc01eb492f341fce3d8580643003579880b Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Mon, 7 Oct 2024 08:42:24 +
Subject: [PATCH] [CodeGen] LiveIntervalUnions::Array Implement move
constructor
optimisan wrote:
### Merge activity
* **Oct 22, 5:41 AM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/109938).
https://github.com/llvm/llvm-project/pull/109938
__
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109937
>From 2cd5b9b848a13653fe8c42429932f598cd75e763 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 24 Sep 2024 06:35:43 +
Subject: [PATCH] [AMDGPU] Correct pass dependencies for SILowerSGPRSpills
Replace
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109938
>From dcf4acd796468d093be999c2bd7d9b53b102ba61 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 24 Sep 2024 09:07:04 +
Subject: [PATCH 1/4] [NewPM][CodeGen] Port LiveRegMatrix to NPM
---
llvm/include
optimisan wrote:
### Merge activity
* **Oct 22, 5:41 AM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/109937).
https://github.com/llvm/llvm-project/pull/109937
__
optimisan wrote:
### Merge activity
* **Oct 22, 5:41 AM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/109939).
https://github.com/llvm/llvm-project/pull/109939
__
Author: Nashe Mncube
Date: 2024-10-22T10:44:12+01:00
New Revision: aea8f8bdd47a66d650bc6c841952a0136fe871b4
URL:
https://github.com/llvm/llvm-project/commit/aea8f8bdd47a66d650bc6c841952a0136fe871b4
DIFF:
https://github.com/llvm/llvm-project/commit/aea8f8bdd47a66d650bc6c841952a0136fe871b4.diff
optimisan wrote:
### Merge activity
* **Oct 22, 5:41 AM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/109963).
https://github.com/llvm/llvm-project/pull/109963
__
optimisan wrote:
### Merge activity
* **Oct 22, 5:41 AM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/111357).
https://github.com/llvm/llvm-project/pull/111357
__
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109939
>From 79e5246844aed5c91b450f866a8862feb9577fa2 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 24 Sep 2024 11:41:18 +
Subject: [PATCH 1/2] [NewPM][AMDGPU] Port SIPreAllocateWWMRegs to NPM
---
llvm/l
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109939
>From 79e5246844aed5c91b450f866a8862feb9577fa2 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 24 Sep 2024 11:41:18 +
Subject: [PATCH 1/2] [NewPM][AMDGPU] Port SIPreAllocateWWMRegs to NPM
---
llvm/l
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109963
>From b86a822c6eb4c7080eb45cde7a71da76346e19c7 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Wed, 25 Sep 2024 11:21:04 +
Subject: [PATCH 1/2] [AMDGPU] Add tests for SIPreAllocateWWMRegs
---
.../AMDGPU/
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/109938
>From dcf4acd796468d093be999c2bd7d9b53b102ba61 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 24 Sep 2024 09:07:04 +
Subject: [PATCH 1/4] [NewPM][CodeGen] Port LiveRegMatrix to NPM
---
llvm/include
ChuanqiXu9 wrote:
I tried to take a look at eigen and it looks like the declaration looks well
and I had no clue how that happens. A reproducer may be necessary here to
proceed. Thanks in advance.
https://github.com/llvm/llvm-project/pull/83237
___
l
https://github.com/falbrechtskirchinger updated
https://github.com/llvm/llvm-project/pull/113182
>From 5025d5a08196392afdbc4f328042795ff93073b9 Mon Sep 17 00:00:00 2001
From: Florian Albrechtskirchinger
Date: Mon, 21 Oct 2024 12:24:58 +0200
Subject: [PATCH] [Serialization] Handle uninitialized
https://github.com/falbrechtskirchinger updated
https://github.com/llvm/llvm-project/pull/113182
>From 5025d5a08196392afdbc4f328042795ff93073b9 Mon Sep 17 00:00:00 2001
From: Florian Albrechtskirchinger
Date: Mon, 21 Oct 2024 12:24:58 +0200
Subject: [PATCH 1/2] [Serialization] Handle uninitiali
71 matches
Mail list logo