@@ -0,0 +1,226 @@
+#===-- CMakeLists.txt
--===#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-
https://github.com/petrhosek edited
https://github.com/llvm/llvm-project/pull/110217
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -0,0 +1,226 @@
+#===-- CMakeLists.txt
--===#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-
@@ -488,6 +490,38 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction {
/// Callee type id.
ConstantInt *TypeId = nullptr;
+
+CallSiteInfo() {}
+
+/// Extracts the numeric type id from the CallBase's type operand bundle,
+/// and sets TypeId. This is used as
Author: Michal Paszkowski
Date: 2024-12-11T20:26:08-08:00
New Revision: 7e60d79fabbd71ab5e77d7a77a2f6f64445f6fbe
URL:
https://github.com/llvm/llvm-project/commit/7e60d79fabbd71ab5e77d7a77a2f6f64445f6fbe
DIFF:
https://github.com/llvm/llvm-project/commit/7e60d79fabbd71ab5e77d7a77a2f6f64445f6fbe.d
https://github.com/SixWeining approved this pull request.
https://github.com/llvm/llvm-project/pull/118770
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -0,0 +1,85 @@
+// Tests that we assign appropriate identifiers to indirect calls and targets.
+
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -fcall-graph-section \
+// RUN: -emit-llvm -o - %s | FileCheck --check-prefixes=CHECK,ITANIUM %s
+
+// RUN: %clang_cc1 -triple x86_64
@@ -5077,6 +5079,11 @@ static unsigned getMaxVectorWidth(const llvm::Type *Ty) {
return MaxVectorWidth;
}
+static bool isCXXDeclType(const FunctionDecl *FD) {
+ return isa(FD) || isa(FD) ||
+ isa(FD);
arsenm wrote:
can use the variadic isa
https:
@@ -5765,6 +5772,25 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo
&CallInfo,
AllocAlignAttrEmitter AllocAlignAttrEmitter(*this, TargetDecl, CallArgs);
Attrs = AllocAlignAttrEmitter.TryEmitAsCallSiteAttribute(Attrs);
+ if (CGM.getCodeGenOpts().CallGraphSection)
@@ -2824,14 +2835,27 @@ void
CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD,
llvm::Metadata *MD = CreateMetadataIdentifierForType(FD->getType());
F->addTypeMetadata(0, MD);
- F->addTypeMetadata(0, CreateMetadataIdentifierGeneralized(FD->getType(
@@ -2813,7 +2814,17 @@ static void setLinkageForGV(llvm::GlobalValue *GV, const
NamedDecl *ND) {
void CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD,
llvm::Function *F) {
- // Only if we are che
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/28] [CI][Github] Add linux premerge workflow
This pat
@@ -387,7 +386,7 @@ class LLVM_LIBRARY_VISIBILITY SplitEditor {
/// removeBackCopies - Remove the copy instructions that defines the values
/// in the vector in the complement interval.
- void removeBackCopies(SmallVectorImpl &Copies);
+ void removeBackCopies(SmallVector
https://github.com/wangleiat updated
https://github.com/llvm/llvm-project/pull/118770
___
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/wangleiat updated
https://github.com/llvm/llvm-project/pull/118770
___
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/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/27] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/26] [CI][Github] Add linux premerge workflow
This pat
Author: Chandler Carruth
Date: 2024-12-12T01:56:05Z
New Revision: ff92274bb07a52dd05ce58e09bee582d4f96602d
URL:
https://github.com/llvm/llvm-project/commit/ff92274bb07a52dd05ce58e09bee582d4f96602d
DIFF:
https://github.com/llvm/llvm-project/commit/ff92274bb07a52dd05ce58e09bee582d4f96602d.diff
L
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/23] [CI][Github] Add linux premerge workflow
This pat
llvmbot wrote:
@llvm/pr-subscribers-llvm-regalloc
Author: Matt Arsenault (arsenm)
Changes
Greedy and fast would hit different assertions on undef uses if all
registers in a class were reserved.
---
Full diff: https://github.com/llvm/llvm-project/pull/119647.diff
3 Files Affected:
- (mo
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/119647
___
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-amdgpu
Author: Matt Arsenault (arsenm)
Changes
Greedy and fast would hit different assertions on undef uses if all
registers in a class were reserved.
---
Full diff: https://github.com/llvm/llvm-project/pull/119647.diff
3 Files Affected:
- (m
arsenm wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/119647?utm_source=stack-comment-downstack-mergeability-warning";
@@ -387,7 +386,7 @@ class LLVM_LIBRARY_VISIBILITY SplitEditor {
/// removeBackCopies - Remove the copy instructions that defines the values
/// in the vector in the complement interval.
- void removeBackCopies(SmallVectorImpl &Copies);
+ void removeBackCopies(SmallVector
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/119647
Greedy and fast would hit different assertions on undef uses if all
registers in a class were reserved.
>From 21a94e80ec529fac5a23febcdf738f01c56d0100 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Thu, 12
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/25] [CI][Github] Add linux premerge workflow
This pat
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/119640
>From 8db7a1695f5649131c65ad2026c5f00dae2c8dad Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 9 Dec 2024 18:12:10 -0600
Subject: [PATCH] RegAlloc: Do not fatal error if there are no registers in the
al
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/24] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/20] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/22] [CI][Github] Add linux premerge workflow
This pat
arsenm wrote:
This ends up hitting a few machine verifier errors after the error, but I think
it's best to fix those separately
https://github.com/llvm/llvm-project/pull/119640
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
h
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/21] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/19] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/18] [CI][Github] Add linux premerge workflow
This pat
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/119640
>From adaf2af42dc5b7c73c50cbdf4acf87fc9307a658 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 9 Dec 2024 18:12:10 -0600
Subject: [PATCH] RegAlloc: Do not fatal error if there are no registers in the
al
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/17] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/16] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/15] [CI][Github] Add linux premerge workflow
This pat
Meinersbur wrote:
> Thanks for the fixes and explanations!
>
> > IMHO whether building shared or static libs should not depend on a
> > configuration parameter.
>
> This seems strange to me, as that's _exactly_ what `-DBUILD_SHARED_LIBS=` is
> for, generally.
`BUILD_SHARED_LIBS` serves a di
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/14] [CI][Github] Add linux premerge workflow
This pat
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Matt Arsenault (arsenm)
Changes
Try to use DiagnosticInfo if every register in the class is reserved
by forcing assignment to a reserved register. Also reduces the number
of redundant errors emitted, particularly with fast.
This
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/119640
___
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
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
Changes
Try to use DiagnosticInfo if every register in the class is reserved
by forcing assignment to a reserved register. Also reduces the number
of redundant errors emitted
arsenm wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/119640?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/119640
Try to use DiagnosticInfo if every register in the class is reserved
by forcing assignment to a reserved register. Also reduces the number
of redundant errors emitted, particularly with fast.
This is still broken
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/13] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/12] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/11] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 01/10] [CI][Github] Add linux premerge workflow
This pat
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/9] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/2] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/8] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/7] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/6] [CI][Github] Add linux premerge workflow
This patch
Author: Chandler Carruth
Date: 2024-12-11T15:59:35-08:00
New Revision: 333befd054fb5da81f1349c8eba7255aa4e3ec12
URL:
https://github.com/llvm/llvm-project/commit/333befd054fb5da81f1349c8eba7255aa4e3ec12
DIFF:
https://github.com/llvm/llvm-project/commit/333befd054fb5da81f1349c8eba7255aa4e3ec12.di
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/5] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/4] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 updated
https://github.com/llvm/llvm-project/pull/119635
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:00 2001
From: Aiden Grossman
Date: Wed, 11 Dec 2024 23:31:07 +
Subject: [PATCH 1/3] [CI][Github] Add linux premerge workflow
This patch
https://github.com/boomanaiden154 created
https://github.com/llvm/llvm-project/pull/119635
This patch adds a Github Actions workflow for Linux premerge. This currently
just calls into the existing CI scripts as a starting point.
>From 19f4098c0934f242ed5b332533dfe03c44e82de8 Mon Sep 17 00:00:0
@@ -1629,6 +1629,102 @@ void AsmPrinter::emitStackUsage(const MachineFunction
&MF) {
*StackUsageStream << "static\n";
}
+/// Extracts a generalized numeric type identifier of a Function's type from
+/// type metadata. Returns null if metadata cannot be found.
+static Cons
@@ -97,6 +97,11 @@ LLVMContext::LLVMContext() : pImpl(new
LLVMContextImpl(*this)) {
"convergencectrl operand bundle id drifted!");
(void)ConvergenceCtrlEntry;
+ auto *TypeEntry = pImpl->getOrInsertBundleTag("type");
+ assert(TypeEntry->second == LLVMContext::OB_t
Meinersbur wrote:
> @Meinersbur You might want to rebase and fix up the branch, it's impossible
> to review now.
Despite my best efforts I accidentally pushed this PR before #110298. Sorry for
the noise.
https://github.com/llvm/llvm-project/pull/110217
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/110217
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -0,0 +1,198 @@
+
+
+# Fortran Runtime (Flang-RT)
+
+Flang-RT is the runtime library for code emitted by the Flang compiler
+(https://flang.llvm.org).
+
+
+## Getting Started
+
+There are two build modes for the Flang-RT. The bootstrap build, also
+called the in-tree build, and
@@ -0,0 +1,101 @@
+#===-- unittests/CMakeLists.txt
===#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-
shiltian wrote:
### Merge activity
* **Dec 11, 4:38 PM EST**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/114438).
https://github.com/llvm/llvm-project/pull/114438
___
h-vetinari wrote:
> @Meinersbur You might want to rebase and fix up the branch, it's impossible
> to review now.
I strongly second that. I've been creating local cleaned-up versions of this
(one commit per PR), that I'd be happy to share, but your recent manipulations
messed up git enough tha
https://github.com/sbc100 approved this pull request.
LGTM if tests pass
https://github.com/llvm/llvm-project/pull/119533
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc
jhuber6 wrote:
> > Also, I noticed that both linux and windows builds fail to generate some
> > subcommands apparently (but this doesn't seem to cause an explicit error):
> > ```
> > [70/72] Generating $PREFIX/compile_commands.json
> > Failed to parse {json_file}: {e}
> > ```
> >
> >
> >
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/114726
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
TIFitis wrote:
@kiranchandramohan @kparzysz I guess I must be using the name mangler in an
incorrect way then. I've added the code snippets I am using when lowering and
later performing a lookup. Please let me know what would be the correct way of
doing this.
When lowering DeclMapperOp:
```
s
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/114726
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1145,31 +1169,71 @@ struct AAAMDWavesPerEU : public AAAMDSizeRangeAttribute
{
auto &InfoCache = static_cast(A.getInfoCache());
ChangeStatus Change = ChangeStatus::UNCHANGED;
+Function *F = getAssociatedFunction();
+
+const auto *AAFlatWorkGroupSize = A.get
https://github.com/ilovepi commented:
Can we also add support for RISC-V? I'd also like to see tests further up the
stack test more than just X86-64.
https://github.com/llvm/llvm-project/pull/87575
___
llvm-branch-commits mailing list
llvm-branch-comm
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/114726
>From b2c5c631422848cb472e752a9ffe8f49c76ee769 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 3 Nov 2024 19:35:26 -0500
Subject: [PATCH] [AMDGPU][Attributor] Skip update if an AA is at its initial
state
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/87576
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -173,6 +173,32 @@ class AsmPrinter : public MachineFunctionPass {
/// Emit comments in assembly output if this is true.
bool VerboseAsm;
+ /// Store symbols and type identifiers used to create call graph section
+ /// entries related to a function.
+ struct FunctionI
https://github.com/ilovepi commented:
I think this is mostly OK, modulo some minor issues, and minimizing the test a
bit more. But I'd like to be sure we have feedback from someone who works in
this space more heavily than I do.
https://github.com/llvm/llvm-project/pull/87576
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local vo
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local vo
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local vo
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local vo
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
ilove
@@ -0,0 +1,73 @@
+; Tests that we store the type identifiers in .callgraph section of the binary.
+
+; RUN: llc --call-graph-section -filetype=obj -o - < %s | \
+; RUN: llvm-readelf -x .callgraph - | FileCheck %s
+
+target triple = "x86_64-unknown-linux-gnu"
+
+define dso_local vo
Author: Vitaly Buka
Date: 2024-12-11T09:28:49-08:00
New Revision: 6d907d68f156539c8b8902fd9aaa096a95552a57
URL:
https://github.com/llvm/llvm-project/commit/6d907d68f156539c8b8902fd9aaa096a95552a57
DIFF:
https://github.com/llvm/llvm-project/commit/6d907d68f156539c8b8902fd9aaa096a95552a57.diff
L
@@ -0,0 +1,68 @@
+# Test MIR printer and parser for type id field in callSites. It is used
+# for propogating call site type identifiers to emit in the call graph section.
+
+# RUN: llc --call-graph-section %s -run-pass=none -o - | FileCheck %s
+# CHECK: name: main
+# CHECK: callS
Author: Haopeng Liu
Date: 2024-12-11T09:00:35-08:00
New Revision: 0ee88015429cde1517eb3c259b71d10e78dca940
URL:
https://github.com/llvm/llvm-project/commit/0ee88015429cde1517eb3c259b71d10e78dca940
DIFF:
https://github.com/llvm/llvm-project/commit/0ee88015429cde1517eb3c259b71d10e78dca940.diff
L
agozillon wrote:
Originally intended for this set of PRs to not be a PR stack, but the behavior
is a little more interwoven than I'd anticipated and requires landing at the
same time!
The PR stack comprises of:
1) [[Flang][OpenMP][MLIR] Initial declare target to for variables
implementation
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: None (agozillon)
Changes
While the infrastructure for declare target to/enter and link for variables
exists in the MLIR dialect and at the Flang level, the current lowering from
MLIR -> LLVM IR isn't in place, it's only in place for variab
llvmbot wrote:
@llvm/pr-subscribers-flang-fir-hlfir
@llvm/pr-subscribers-flang-openmp
Author: None (agozillon)
Changes
While the infrastructure for declare target to/enter and link for variables
exists in the MLIR dialect and at the Flang level, the current lowering from
MLIR -> LLVM IR
https://github.com/agozillon created
https://github.com/llvm/llvm-project/pull/119589
While the infrastructure for declare target to/enter and link for variables
exists in the MLIR dialect and at the Flang level, the current lowering from
MLIR -> LLVM IR isn't in place, it's only in place for
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/114726
>From f93730e1276bcb3d0653299f000831b9a1ce67cc Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 3 Nov 2024 19:35:26 -0500
Subject: [PATCH] [AMDGPU][Attributor] Skip update if an AA is at its initial
state
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/114438
>From afda3da214e130eaa9a03f04bc25fb53f2042720 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Thu, 31 Oct 2024 12:49:07 -0400
Subject: [PATCH] [WIP][AMDGPU][Attributor] Make `AAAMDWavesPerEU` honor
existing
llvmbot wrote:
@llvm/pr-subscribers-offload
Author: None (agozillon)
Changes
This PR introduces a new additional type of map lowering for record types that
Clang currently supports, in which a user can map a top-level record type and
then individual members with different mapping, effect
llvmbot wrote:
@llvm/pr-subscribers-mlir-openmp
@llvm/pr-subscribers-mlir-llvm
Author: None (agozillon)
Changes
This PR introduces a new additional type of map lowering for record types that
Clang currently supports, in which a user can map a top-level record type and
then individual mem
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: None (agozillon)
Changes
This PR introduces a new additional type of map lowering for record types that
Clang currently supports, in which a user can map a top-level record type and
then individual members with different mapping, effective
llvmbot wrote:
@llvm/pr-subscribers-flang-openmp
Author: None (agozillon)
Changes
This PR introduces a new additional type of map lowering for record types that
Clang currently supports, in which a user can map a top-level record type and
then individual members with different mapping, e
https://github.com/agozillon created
https://github.com/llvm/llvm-project/pull/119588
This PR introduces a new additional type of map lowering for record types that
Clang currently supports, in which a user can map a top-level record type and
then individual members with different mapping, eff
@@ -3631,6 +3631,12 @@ bool X86FastISel::fastLowerCall(CallLoweringInfo &CLI) {
CLI.NumResultRegs = RVLocs.size();
CLI.Call = MIB;
+ // Add call site info for call graph section.
+ if (TM.Options.EmitCallGraphSection && CB && CB->isIndirectCall()) {
+MachineFunction:
ilovepi wrote:
I think this is mostly fine, but the patch currently only adds the LLVM flag
without doing anything. Perhaps this should be higher up in the stack(or I’m
looking at them in the wrong order?)?
You may want to consider adding a test here to check that the option works. You
could
1 - 100 of 139 matches
Mail list logo