https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/147418
None
>From 03b555bc71ff35cee5b97a8c9d7883396d4d7f31 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Jul 2025 12:44:41 -0700
Subject: [PATCH] Drive profile validator from opt
---
llvm/tools/opt/NewPM
https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/145118
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/145118
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/145118
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -71,20 +71,43 @@ inline bool fromJSON(const llvm::json::Value &E, Embedding
&Out,
// Embedding
//===--===//
+Embedding Embedding::operator+(const Embedding &RHS) const {
+ assert(this->size() == RHS.size
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From 591bfc27c2de4a140301100afbbdea1d5a14e39c Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/incl
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From 591bfc27c2de4a140301100afbbdea1d5a14e39c Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/incl
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 1b048fff9f025e595f6c202a569cd1248010d9b8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 1b048fff9f025e595f6c202a569cd1248010d9b8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 6c6ac88c73fbffa56983bf8a0cf269e0bc59cb14 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
@@ -0,0 +1,30 @@
+; Test branch weight unknown validation
+
+; RUN: split-file %s %t
+; RUN: opt -passes=verify %t/correct.ll --disable-output
+; RUN: not opt -passes=verify %t/incorrect.ll --disable-output
mtrofin wrote:
yes, and I'll move these to llvm/test/Ver
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From e2f673682594ceafc73e5b7765934caabffd4907 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From a9742de1b38e1745268e970845d187108ba292bf Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/lib/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 6c6ac88c73fbffa56983bf8a0cf269e0bc59cb14 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From a9742de1b38e1745268e970845d187108ba292bf Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/lib/
mtrofin 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/145578?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/145578
None
>From 1a15250e8b8cbdbb17613641fbd6003b4a901606 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/in
@@ -106,6 +106,7 @@ struct Embedding {
const std::vector &getData() const { return Data; }
/// Arithmetic operators
+ Embedding operator+(const Embedding &RHS) const;
mtrofin wrote:
should you also overload operator `-`?
https://github.com/llvm/llvm-pro
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/145118
___
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/mtrofin commented:
why - as in, expected because upcoming change; or flakyness?
https://github.com/llvm/llvm-project/pull/145117
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/145117
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/143999
___
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/mtrofin approved this pull request.
nice!
https://github.com/llvm/llvm-project/pull/143999
___
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/mtrofin approved this pull request.
doc nit, otherwise lgtm
https://github.com/llvm/llvm-project/pull/143986
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/143986
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -448,7 +448,10 @@ downstream tasks, including ML-guided compiler
optimizations.
The core components are:
- **Vocabulary**: A mapping from IR entities (opcodes, types, etc.) to their
-vector representations. This is managed by ``IR2VecVocabAnalysis``.
+vector repr
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/144139
___
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/mtrofin approved this pull request.
I assume this was with clang-format
https://github.com/llvm/llvm-project/pull/144139
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
@@ -104,7 +106,10 @@ MODULE_PASS("lower-ifunc", LowerIFuncPass())
MODULE_PASS("simplify-type-tests", SimplifyTypeTestsPass())
MODULE_PASS("lowertypetests", LowerTypeTestsPass())
MODULE_PASS("fatlto-cleanup", FatLtoCleanup())
-MODULE_PASS("pgo-force-function-attrs", PGOForceFunc
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/143986
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -259,32 +306,40 @@ Error IR2VecVocabAnalysis::readVocabulary() {
return createFileError(VocabFile, BufOrError.getError());
auto Content = BufOrError.get()->getBuffer();
- json::Path::Root Path("");
+
Expected ParsedVocabValue = json::parse(Content);
if (!Parsed
@@ -259,32 +306,40 @@ Error IR2VecVocabAnalysis::readVocabulary() {
return createFileError(VocabFile, BufOrError.getError());
auto Content = BufOrError.get()->getBuffer();
- json::Path::Root Path("");
+
Expected ParsedVocabValue = json::parse(Content);
if (!Parsed
@@ -234,6 +237,8 @@ class IR2VecVocabResult {
class IR2VecVocabAnalysis : public AnalysisInfoMixin {
ir2vec::Vocab Vocabulary;
Error readVocabulary();
+ Error parseVocabSection(const char *Key, const json::Value ParsedVocabValue,
mtrofin wrote:
s/const ch
https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/143476
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/143476
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/143479
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -294,8 +294,8 @@ Error IR2VecVocabAnalysis::readVocabulary() {
return Error::success();
}
-IR2VecVocabAnalysis::IR2VecVocabAnalysis(Vocab &&Vocabulary)
-: Vocabulary(std::move(Vocabulary)) {}
+IR2VecVocabAnalysis::IR2VecVocabAnalysis(Vocab Vocabulary)
+: Vocabular
@@ -199,6 +199,29 @@ void FunctionPropertiesInfo::updateForBB(const BasicBlock
&BB,
#undef CHECK_OPERAND
}
}
+
+ if (IR2VecVocab) {
+// We instantiate the IR2Vec embedder each time, as having an unique
+// pointer to the embedder as member of the class would mak
@@ -186,6 +186,20 @@ MLInlineAdvisor::MLInlineAdvisor(
EdgeCount += getLocalCalls(KVP.first->getFunction());
}
NodeCount = AllNodes.size();
+
+ if (auto IR2VecVocabResult = MAM.getCachedResult(M)) {
+if (!IR2VecVocabResult->isValid()) {
+ M.getContext().emitEr
mtrofin wrote:
is it a nfc? (as in, add the tag if so - `[NFC]`)
https://github.com/llvm/llvm-project/pull/143200
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit
@@ -254,35 +257,57 @@ Error IR2VecVocabAnalysis::readVocabulary() {
return createStringError(errc::illegal_byte_sequence,
"Unable to parse the vocabulary");
}
- assert(Vocabulary.size() > 0 && "Vocabulary is empty");
+
+ if (Vocabulary.empty
@@ -83,9 +85,10 @@ void Embedding::scaleAndAdd(const Embedding &Src, float
Factor) {
bool Embedding::approximatelyEquals(const Embedding &RHS,
double Tolerance) const {
assert(this->size() == RHS.size() && "Vectors must have the same dimen
@@ -83,9 +85,10 @@ void Embedding::scaleAndAdd(const Embedding &Src, float
Factor) {
bool Embedding::approximatelyEquals(const Embedding &RHS,
double Tolerance) const {
assert(this->size() == RHS.size() && "Vectors must have the same dimen
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From d2502c89927e7f013a1f71f0dc5a52f390dc8c8e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From d2502c89927e7f013a1f71f0dc5a52f390dc8c8e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 82a52559695b52adfcf6dc4f5c4e5383b3616848 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 82a52559695b52adfcf6dc4f5c4e5383b3616848 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From caa4002fa5ad9e1a04d20d980753d36b261fef2a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From caa4002fa5ad9e1a04d20d980753d36b261fef2a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From d4b02b8ca911ed3b61fecb3934828182193218f6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From d4b02b8ca911ed3b61fecb3934828182193218f6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 0c336eaca5dfe8ec69951da051aee36d3ae110f4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 0c336eaca5dfe8ec69951da051aee36d3ae110f4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 97e8169dc5d01429b745dc1b5ab3d49698a0cd74 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 97e8169dc5d01429b745dc1b5ab3d49698a0cd74 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From b661a516d77b4e665b93c0a033c9feb4dcd5f159 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/135656
None
>From e7b5f81cf9bd3237b0b1ee2f51f105b99f1061b7 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp
mtrofin 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/135656?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 978d61c0a92cd2a66c64c8f5daa1a3f30c18df77 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From ea629230ae6202ed34122cecb7ebce20ccffad19 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../Instrum
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From ea629230ae6202ed34122cecb7ebce20ccffad19 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../Instrum
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135656
>From 978d61c0a92cd2a66c64c8f5daa1a3f30c18df77 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 07:19:58 -0700
Subject: [PATCH] Reentry
---
.../lib/ctx_profile/CtxInstrProfiling.cpp | 15
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From 9642055c61eb43c7d821924fbbe180bc52a3d0d6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../llvm/Tr
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From d02d00bef28047f16f37454576050fcf15a87814 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../Instrum
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From e88504d840c675fbd196dc75c981098abc2c970d Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../Instrum
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/135651
___
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/mtrofin updated
https://github.com/llvm/llvm-project/pull/135651
>From e88504d840c675fbd196dc75c981098abc2c970d Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../Instrum
mtrofin 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/135651?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/135651
None
>From 41540073aaa8adc96e6f7889df66e1791cb4dbc9 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 14 Apr 2025 10:03:55 -0700
Subject: [PATCH] [ctxprof] Extend the notion of "cannot return"
---
.../I
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134766
>From 666db91291f5edb8d2ece74ee4cdde9e27a21ba4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 18:22:05 -0700
Subject: [PATCH] [ctxprof] Flatten indirect call info in pre-thinlink
compilation
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/134468
___
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/mtrofin updated
https://github.com/llvm/llvm-project/pull/134766
>From 97908a0b652420ce82f3fe965f8eb12002e74a85 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 18:22:05 -0700
Subject: [PATCH] [ctxprof] Flatten indirect call info in pre-thinlink
compilation
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134766
>From 7a974430772d9b6bc5ac0b3c10723057dcee93c5 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 18:22:05 -0700
Subject: [PATCH] [ctxprof] Flatten indirect call info in pre-thinlink
compilation
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134766
>From 7a974430772d9b6bc5ac0b3c10723057dcee93c5 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 18:22:05 -0700
Subject: [PATCH] [ctxprof] Flatten indirect call info in pre-thinlink
compilation
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134766
>From 666db91291f5edb8d2ece74ee4cdde9e27a21ba4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 18:22:05 -0700
Subject: [PATCH] [ctxprof] Flatten indirect call info in pre-thinlink
compilation
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/134723
___
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/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/134723
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
mtrofin 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/134723?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/134723
None
>From 579bb9c7db80734ed5801af2206edb2b34d006ce Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 7 Apr 2025 11:14:22 -0700
Subject: [PATCH] [ctxprof] Use the flattened contextual profile pre-thinlink
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/134468
___
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/mtrofin updated
https://github.com/llvm/llvm-project/pull/133147
>From e2bee273299d11c164ac6bf05cfd37dff20fadce Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 24 Mar 2025 12:01:10 -0700
Subject: [PATCH] RootAutodetect
---
compiler-rt/lib/ctx_profile/CMakeLists.txt
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134192
>From e7921cb1e200eb5f7456b2a3879082e5b21681a6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 2 Apr 2025 18:39:14 -0700
Subject: [PATCH] [ctxprof] Support for "move" semantics for the contextual
root
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/133147
>From b78258c5b562de7f8d7cc5b64341f1e537e447d0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 24 Mar 2025 12:01:10 -0700
Subject: [PATCH] RootAutodetect
---
compiler-rt/lib/ctx_profile/CMakeLists.txt
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/134011
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -265,7 +275,16 @@ Error llvm::createCtxProfFromYAML(StringRef Profile,
raw_ostream &Out) {
if (!TopList)
return createStringError(
"Unexpected error converting internal structure to ctx profile");
- Writer.writeContextual(*TopList, DC.TotalRoo
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134192
>From f9b3bfa82d671dc4f67001762e28bb57ea154ebf Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 2 Apr 2025 18:39:14 -0700
Subject: [PATCH] [ctxprof] Support for "move" semantics for the contextual
root
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/133146
>From 5579f73a4ad3d8205608eecde962257077578685 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 26 Mar 2025 10:10:43 -0700
Subject: [PATCH] [ctxprof][nfc] Move 2 implementation functions up in
`CtxInstrP
mtrofin 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/134468?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/134468
None
>From e935ffab268301aa1b23f41facd9f800c8842a96 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Fri, 4 Apr 2025 13:18:32 -0700
Subject: [PATCH] [ctxprof] Use `isInSpecializedModule` as criteria for using
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/133146
>From 5579f73a4ad3d8205608eecde962257077578685 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 26 Mar 2025 10:10:43 -0700
Subject: [PATCH] [ctxprof][nfc] Move 2 implementation functions up in
`CtxInstrP
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/134192
>From e7921cb1e200eb5f7456b2a3879082e5b21681a6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 2 Apr 2025 18:39:14 -0700
Subject: [PATCH] [ctxprof] Support for "move" semantics for the contextual
root
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/134192
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/134192
___
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/mtrofin edited
https://github.com/llvm/llvm-project/pull/134192
___
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/mtrofin created
https://github.com/llvm/llvm-project/pull/134192
None
>From aab3649d9d72c9f708603b3849055e1aba8f375d Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 2 Apr 2025 18:39:14 -0700
Subject: [PATCH] [ctxprof] Support for "move" semantics for the contextual
mtrofin 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/134192?utm_source=stack-comment-downstack-mergeability-warning";
mtrofin wrote:
### Merge activity
* **Apr 2, 9:11 PM EDT**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/134011).
https://github.com/llvm/llvm-project/pull/134011
_
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/134012
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
1 - 100 of 310 matches
Mail list logo