Author: Daniel Martinez
Date: 2024-07-30T08:37:17+02:00
New Revision: 404746b9f21bef631eac09469bfcc35e8cfe0e63
URL:
https://github.com/llvm/llvm-project/commit/404746b9f21bef631eac09469bfcc35e8cfe0e63
DIFF:
https://github.com/llvm/llvm-project/commit/404746b9f21bef631eac09469bfcc35e8cfe0e63.dif
Author: Dimitry Andric
Date: 2024-07-30T08:36:32+02:00
New Revision: 9536b026ac46c34d607c0a277c8fbdc183d53b9d
URL:
https://github.com/llvm/llvm-project/commit/9536b026ac46c34d607c0a277c8fbdc183d53b9d
DIFF:
https://github.com/llvm/llvm-project/commit/9536b026ac46c34d607c0a277c8fbdc183d53b9d.diff
Author: Daniil Kovalev
Date: 2024-07-30T08:35:08+02:00
New Revision: 1af23c548197ba8325c35e1edd6fa1be456af57f
URL:
https://github.com/llvm/llvm-project/commit/1af23c548197ba8325c35e1edd6fa1be456af57f
DIFF:
https://github.com/llvm/llvm-project/commit/1af23c548197ba8325c35e1edd6fa1be456af57f.diff
Author: Daniil Kovalev
Date: 2024-07-30T08:34:34+02:00
New Revision: cd302f3914a42da49542cf2f33a39f2c968471ee
URL:
https://github.com/llvm/llvm-project/commit/cd302f3914a42da49542cf2f33a39f2c968471ee
DIFF:
https://github.com/llvm/llvm-project/commit/cd302f3914a42da49542cf2f33a39f2c968471ee.diff
Author: Hari Limaye
Date: 2024-07-29T17:25:40Z
New Revision: 360df814b029fc6647672bd3a38ab7a888d073eb
URL:
https://github.com/llvm/llvm-project/commit/360df814b029fc6647672bd3a38ab7a888d073eb
DIFF:
https://github.com/llvm/llvm-project/commit/360df814b029fc6647672bd3a38ab7a888d073eb.diff
LOG: [
Author: Hari Limaye
Date: 2024-07-29T17:25:40Z
New Revision: b3a73a1559317019b9c5eb01f19af78bffd48dbe
URL:
https://github.com/llvm/llvm-project/commit/b3a73a1559317019b9c5eb01f19af78bffd48dbe
DIFF:
https://github.com/llvm/llvm-project/commit/b3a73a1559317019b9c5eb01f19af78bffd48dbe.diff
LOG: [
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/94981
___
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/mizvekov edited
https://github.com/llvm/llvm-project/pull/94981
___
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/davemgreen requested changes to this pull request.
The strict-weak ordering is unfortunately causing problems.
https://github.com/llvm/llvm-project/pull/101033
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
h
@@ -223,6 +223,22 @@ static cl::opt TopCalledLimit(
"functions section"),
cl::init(100), cl::Hidden, cl::cat(BoltCategory));
+// Profile density options, synced with llvm-profgen/ProfileGenerator.cpp
+static cl::opt ShowDensity("show-density", cl::init(false),
@@ -223,6 +223,22 @@ static cl::opt TopCalledLimit(
"functions section"),
cl::init(100), cl::Hidden, cl::cat(BoltCategory));
+// Profile density options, synced with llvm-profgen/ProfileGenerator.cpp
+static cl::opt ShowDensity("show-density", cl::init(false),
@@ -331,6 +336,249 @@ std::pair
ResourceInfo::getAnnotateProps() const {
return {Word0, Word1};
}
+void ResourceInfo::print(raw_ostream &OS) const {
+ OS << " Symbol: ";
+ Symbol->printAsOperand(OS);
+ OS << "\n";
+
+ OS << " Name: \"" << Name << "\"\n"
+ << " Bi
@@ -331,6 +336,249 @@ std::pair
ResourceInfo::getAnnotateProps() const {
return {Word0, Word1};
}
+void ResourceInfo::print(raw_ostream &OS) const {
+ OS << " Symbol: ";
+ Symbol->printAsOperand(OS);
+ OS << "\n";
+
+ OS << " Name: \"" << Name << "\"\n"
+ << " Bi
Author: Justin Bogner
Date: 2024-07-29T14:48:58-07:00
New Revision: bec08017b61d1777f27a69d114cb988255dd2317
URL:
https://github.com/llvm/llvm-project/commit/bec08017b61d1777f27a69d114cb988255dd2317
DIFF:
https://github.com/llvm/llvm-project/commit/bec08017b61d1777f27a69d114cb988255dd2317.diff
@@ -331,6 +336,249 @@ std::pair
ResourceInfo::getAnnotateProps() const {
return {Word0, Word1};
}
+void ResourceInfo::print(raw_ostream &OS) const {
+ OS << " Symbol: ";
+ Symbol->printAsOperand(OS);
+ OS << "\n";
+
+ OS << " Name: \"" << Name << "\"\n"
+ << " Bi
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/100697
___
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/bogner updated
https://github.com/llvm/llvm-project/pull/100697
___
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/rampitec approved this pull request.
https://github.com/llvm/llvm-project/pull/100808
___
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/rampitec approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/100799
___
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/devnexen approved this pull request.
https://github.com/llvm/llvm-project/pull/101077
___
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-compiler-rt-sanitizer
Author: None (llvmbot)
Changes
Backport 62bd08acedc88d8976a017f7f6818f3167dfa697
Requested by: @DimitryAndric
---
Full diff: https://github.com/llvm/llvm-project/pull/101077.diff
1 Files Affected:
- (modified) compiler-rt/lib/s
llvmbot wrote:
@devnexen What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101077
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101077
Backport 62bd08acedc88d8976a017f7f6818f3167dfa697
Requested by: @DimitryAndric
>From 4f14df8bb4ff843e419d2618e18d0d9c512d7f7c Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Mon, 29 Jul 2024 22:00:07 +0200
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101077
___
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-backend-x86
Author: None (llvmbot)
Changes
Backport 26fa399
Requested by: @stefanp-ibm
---
Full diff: https://github.com/llvm/llvm-project/pull/101071.diff
3 Files Affected:
- (modified) llvm/lib/CodeGen/RegisterCoalescer.cpp (+7)
- (added) llvm/te
llvmbot wrote:
@llvm/pr-subscribers-llvm-regalloc
Author: None (llvmbot)
Changes
Backport 26fa399
Requested by: @stefanp-ibm
---
Full diff: https://github.com/llvm/llvm-project/pull/101071.diff
3 Files Affected:
- (modified) llvm/lib/CodeGen/RegisterCoalescer.cpp (+7)
- (added) llvm/
llvmbot wrote:
@llvm/pr-subscribers-backend-powerpc
Author: None (llvmbot)
Changes
Backport 26fa399
Requested by: @stefanp-ibm
---
Full diff: https://github.com/llvm/llvm-project/pull/101071.diff
3 Files Affected:
- (modified) llvm/lib/CodeGen/RegisterCoalescer.cpp (+7)
- (added) llv
llvmbot wrote:
@qcolombet What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101071
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101071
Backport 26fa399
Requested by: @stefanp-ibm
>From 47c4d91cceb783c7b3e561c68150fac32a4a27c1 Mon Sep 17 00:00:00 2001
From: Stefan Pintilie
Date: Tue, 23 Jul 2024 21:59:27 -0400
Subject: [PATCH] [RegisterCoalesc
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101071
___
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-pgo
Author: None (llvmbot)
Changes
Backport 2c376fe96c83443c15e6485d043ebe321904546b
Requested by: @DimitryAndric
---
Full diff: https://github.com/llvm/llvm-project/pull/101061.diff
1 Files Affected:
- (modified) compiler-rt/lib/profile/InstrProfil
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101061
Backport 2c376fe96c83443c15e6485d043ebe321904546b
Requested by: @DimitryAndric
>From f22f6af2155b87d4994d6dd18ebc5a2eb152f418 Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Mon, 29 Jul 2024 20:34:01 +0200
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101061
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
efriedma-quic wrote:
LGTM
https://github.com/llvm/llvm-project/pull/100873
___
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/shiltian edited
https://github.com/llvm/llvm-project/pull/100954
___
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/shiltian updated
https://github.com/llvm/llvm-project/pull/100954
>From 0e498ef8a9204d4766a5e3bf60e7363d80f9836b Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 28 Jul 2024 19:24:31 -0400
Subject: [PATCH] [Attributor][AMDGPU] Improve the handling of indirect calls
---
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/100953
>From ed46483b388d1a8803b93116beda75108a3bf478 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 28 Jul 2024 15:28:09 -0400
Subject: [PATCH] [LLVM][PassBuilder] Extend the function signature of callback
fo
https://github.com/asl approved this pull request.
https://github.com/llvm/llvm-project/pull/101043
___
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/asl approved this pull request.
https://github.com/llvm/llvm-project/pull/101044
___
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: None (llvmbot)
Changes
Backport 70c6e79
Requested by: @kovdan01
---
Patch is 47.22 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101044.diff
9 Files Affected:
- (modified) clang/lib/Driver
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: None (llvmbot)
Changes
Backport 53283dc
Requested by: @kovdan01
---
Patch is 49.04 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101043.diff
3 Files Affected:
- (modified) llvm/t
llvmbot wrote:
@asl What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101044
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101044
Backport 70c6e79
Requested by: @kovdan01
>From 6cbe44717c9db0689fb678381d842f7fb2c33767 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev
Date: Thu, 25 Jul 2024 00:24:50 +0300
Subject: [PATCH] [PAC][clang][test] I
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101044
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@asl What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101043
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101043
___
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/llvmbot created
https://github.com/llvm/llvm-project/pull/101043
Backport 53283dc
Requested by: @kovdan01
>From ab15377089a82bf5c438b589126df805577c1d80 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev
Date: Fri, 26 Jul 2024 23:00:16 +0300
Subject: [PATCH] [PAC][test] Add test
https://github.com/ilovepi approved this pull request.
I'd say its a good set of fixes to add to the release.
https://github.com/llvm/llvm-project/pull/101042
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.or
davemgreen wrote:
@ilovepi Does porting these to the branch sounds OK to you? Thanks
https://github.com/llvm/llvm-project/pull/101042
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: None (llvmbot)
Changes
Backport dc1c00f6b13f e31794f99d72
Requested by: @davemgreen
---
Patch is 40.20 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101042.diff
7 Files Affected:
- (
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: None (llvmbot)
Changes
Backport dc1c00f6b13f e31794f99d72
Requested by: @davemgreen
---
Patch is 40.20 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101042.diff
7 Files Affected:
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101042
Backport dc1c00f6b13f e31794f99d72
Requested by: @davemgreen
>From 360df814b029fc6647672bd3a38ab7a888d073eb Mon Sep 17 00:00:00 2001
From: Hari Limaye
Date: Thu, 25 Jul 2024 09:03:48 +0100
Subject: [PATCH 1/2]
llvmbot wrote:
@ilovepi @ilovepi What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101042
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101042
___
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/alexey-bataev approved this pull request.
LG
https://github.com/llvm/llvm-project/pull/101033
___
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/Sisyph approved this pull request.
https://github.com/llvm/llvm-project/pull/100788
___
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/Sisyph approved this pull request.
https://github.com/llvm/llvm-project/pull/100787
___
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/davemgreen edited
https://github.com/llvm/llvm-project/pull/101033
___
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-backend-aarch64
@llvm/pr-subscribers-llvm-analysis
Author: None (llvmbot)
Changes
Backport f67fa3be4db6 e0c14c05a3e3 f2d2ae3f5a8e
Requested by: @davemgreen
---
Patch is 88.77 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/ll
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: None (llvmbot)
Changes
Backport f67fa3be4db6 e0c14c05a3e3 f2d2ae3f5a8e
Requested by: @davemgreen
---
Patch is 88.77 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101033.diff
6 Fil
llvmbot wrote:
@alexey-bataev What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/101033
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/101033
Backport f67fa3be4db6 e0c14c05a3e3 f2d2ae3f5a8e
Requested by: @davemgreen
>From 2241b274f49eb50850006fc3dbd4eff3b6c38437 Mon Sep 17 00:00:00 2001
From: David Green
Date: Thu, 25 Jul 2024 17:46:48 +0100
Subject
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/101033
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
Failed to cherry-pick: `
https://github.com/llvm/llvm-project/actions/runs/10147281093
Please manually backport the fix and push it to your github fork. Once this is
done, please create a [pull
request](https://github.com/llvm/llvm-project/compare)
https://github.com/llvm/ll
mgorny wrote:
I think it opened #100896 instead. Maybe it was because the other PR has
`/cherry-pick` command twice.
https://github.com/llvm/llvm-project/pull/100885
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists
luporl wrote:
Closing this, as it seems a new PR will be needed later, to merge
https://github.com/llvm/llvm-project/pull/101009 instead.
https://github.com/llvm/llvm-project/pull/100352
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.l
https://github.com/luporl closed
https://github.com/llvm/llvm-project/pull/100352
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
AaronBallman wrote:
Just what was hopefully already merged:
- Clang now diagnoses undefined behavior in constant expressions more
consistently. This includes invalid shifts, and signed overflow in arithmetic.
https://github.com/llvm/llvm-project/pull/100452
sjoerdmeijer wrote:
> I think we need these changes to be against main and not 19.x, aside from the
> release notes (otherwise we're losing the documentation in 20.x).
Oh right, yes, missed that, makes sense. Will split this up, let's do the
documentation update here first as suggested.
htt
@@ -2159,7 +2161,7 @@ ModulePassManager
PassBuilder::buildO0DefaultPipeline(OptimizationLevel Level,
CoroPM.addPass(GlobalDCEPass());
MPM.addPass(CoroConditionalWrapper(std::move(CoroPM)));
- invokeOptimizerLastEPCallbacks(MPM, Level);
+ invokeOptimizerLastEPCallbacks(M
https://github.com/AaronBallman commented:
Thank you for working on this!
I think we need these changes to be against `main` and not `19.x`, aside from
the release notes (otherwise we're losing the documentation in 20.x). For the
release notes, I think we can talk to @tstellar and @tru about g
@@ -495,10 +495,12 @@ New Compiler Flags
Deprecated Compiler Flags
-
-- The ``-Ofast`` command-line option has been deprecated. This option both
- enables the ``-O3`` optimization-level, as well as enabling non-standard
- ``-ffast-math`` behaviors. As
@@ -429,8 +429,11 @@ Code Generation Options
:option:`-Ofast` Enables all the optimizations from :option:`-O3` along
with other aggressive optimizations that may violate strict compliance with
-language standards. This is deprecated in favor of :option:`-O3`
-i
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/101005
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
shiltian wrote:
> This seems fine to me in general. The patch stack seems to be messed up
> though, or at least this seems to contain some unrelated AMDGPU changes.
It has some AMD changes because I'd like to demonstrate how the changes will be
used.
> The other thing I wonder about is whethe
shiltian wrote:
> The apparent change here is to simply reverse the effect of #100952 on the
> lit test. Would be good to have a test which shows what the improvement is.
Yes, this patch is still WIP (draft).
> Also, I think #100952 merely enables AAIndirectCallInfo, and feels like an
> integ
tru wrote:
I will close this since there seems to be consensus that we don't need to
backport it. If there is differing opinions - feel free to re-open.
https://github.com/llvm/llvm-project/pull/100703
___
llvm-branch-commits mailing list
llvm-branch-
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/100703
___
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/nikic commented:
This seems fine to me in general. The patch stack seems to be messed up though,
or at least this seems to contain some unrelated AMDGPU changes.
@jdoerfert Possibly the issue you saw is that this callback just isn't used by
the post-link full LTO pipeline at
@@ -2159,7 +2161,7 @@ ModulePassManager
PassBuilder::buildO0DefaultPipeline(OptimizationLevel Level,
CoroPM.addPass(GlobalDCEPass());
MPM.addPass(CoroConditionalWrapper(std::move(CoroPM)));
- invokeOptimizerLastEPCallbacks(MPM, Level);
+ invokeOptimizerLastEPCallbacks(M
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/100953
___
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/AaronBallman commented:
I don't see a need to backport this for 19.x, it seems reasonable to let it
bake for a while in 20.x (though I would be surprised if there was significant
negative fallout from the changes).
https://github.com/llvm/llvm-project/pull/100703
___
https://github.com/labrinea milestoned
https://github.com/llvm/llvm-project/pull/101007
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
labrinea wrote:
backport of
[f8ae128](https://github.com/llvm/llvm-project/commit/f8ae128755777424cf4133e4e8e819c0bc08d2b1)
on [llvm:release/19.x](https://github.com/llvm/llvm-project/tree/release/19.x).
https://github.com/llvm/llvm-project/pull/101007
_
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alexandros Lamprineas (labrinea)
Changes
* Allow arm-streaming if all the functions versions adhere to it.
* Allow arm-streaming-compatible if all the functions versions adhere to it.
When the caller needs to toggle the streaming mode all
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/101007
* Allow arm-streaming if all the functions versions adhere to it.
* Allow arm-streaming-compatible if all the functions versions adhere to it.
When the caller needs to toggle the streaming mode all the function
@@ -85,67 +135,227 @@ class OMPMapInfoFinalizationPass
descriptor = alloca;
}
+return descriptor;
+ }
+
+ /// Simple function that will generate a FIR operation accessing
+ /// the descriptors base address (BoxOffsetOp) and then generate a
+ /// MapInfoOp for
@@ -85,67 +135,227 @@ class OMPMapInfoFinalizationPass
descriptor = alloca;
}
+return descriptor;
+ }
+
+ /// Simple function that will generate a FIR operation accessing
+ /// the descriptors base address (BoxOffsetOp) and then generate a
+ /// MapInfoOp for
@@ -280,75 +361,66 @@ void insertChildMapInfoIntoParent(
// precedes the children. An alternative, may be to do
// delayed generation of map info operations from the clauses and
// organize them first before generation.
- mapOp->moveAfter(indices.second.b
@@ -51,21 +55,66 @@ class OMPMapInfoFinalizationPass
: public fir::impl::OMPMapInfoFinalizationPassBase<
OMPMapInfoFinalizationPass> {
- void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
- fir::FirOpBuilder &builder,
-
@@ -51,21 +55,66 @@ class OMPMapInfoFinalizationPass
: public fir::impl::OMPMapInfoFinalizationPassBase<
OMPMapInfoFinalizationPass> {
- void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
- fir::FirOpBuilder &builder,
-
@@ -671,4 +672,51 @@ static inline bool isEqual(const Fortran::lower::SomeExpr
*x,
}
} // end namespace Fortran::lower
+// OpenMP utility functions used in locations outside of the
+// OpenMP lowering.
+namespace Fortran::lower::omp {
+
+[[maybe_unused]] static void fillMembe
@@ -55,6 +55,13 @@ struct IdTyTemplate {
return designator == other.designator;
}
+ // defining an "ordering" which allows types derived from this to be
+ // utilised in maps and other containers that require comparison
+ // operators for ordering
ska
@@ -189,85 +295,60 @@ generateMemberPlacementIndices(const Object &object,
indices = llvm::SmallVector{llvm::reverse(indices)};
}
-void addChildIndexAndMapToParent(
-const omp::Object &object,
-std::map> &parentMemberIndices,
-mlir::omp::MapInfoOp &mapOp, semanti
@@ -85,67 +135,227 @@ class OMPMapInfoFinalizationPass
descriptor = alloca;
}
+return descriptor;
+ }
+
+ /// Simple function that will generate a FIR operation accessing
+ /// the descriptors base address (BoxOffsetOp) and then generate a
+ /// MapInfoOp for
@@ -85,67 +135,227 @@ class OMPMapInfoFinalizationPass
descriptor = alloca;
}
+return descriptor;
+ }
+
+ /// Simple function that will generate a FIR operation accessing
+ /// the descriptors base address (BoxOffsetOp) and then generate a
+ /// MapInfoOp for
@@ -189,85 +295,60 @@ generateMemberPlacementIndices(const Object &object,
indices = llvm::SmallVector{llvm::reverse(indices)};
}
-void addChildIndexAndMapToParent(
-const omp::Object &object,
-std::map> &parentMemberIndices,
-mlir::omp::MapInfoOp &mapOp, semanti
@@ -52,12 +52,22 @@ using DeclareTargetCapturePair =
struct OmpMapMemberIndicesData {
// The indices representing the component members placement in its derived
// type parents hierarchy.
- llvm::SmallVector memberPlacementIndices;
+ llvm::SmallVector> memberPlacementIndi
@@ -953,6 +954,22 @@ bool ClauseProcessor::processMap(
if (origSymbol && fir::isTypeWithDescriptor(origSymbol.getType()))
symAddr = origSymbol;
+ if (object.sym()->owner().IsDerivedType()) {
+omp::ObjectList objectList = gatherObjects
@@ -280,75 +361,66 @@ void insertChildMapInfoIntoParent(
// precedes the children. An alternative, may be to do
// delayed generation of map info operations from the clauses and
// organize them first before generation.
- mapOp->moveAfter(indices.second.b
1 - 100 of 167 matches
Mail list logo