https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/158376
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -261,55 +262,106 @@ void FlowAwareEmbedder::computeEmbeddings(const
BasicBlock &BB) const {
BBVecMap[&BB] = BBVector;
}
+//
==--===//
+// VocabStorage
+//===-
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/159645?utm_source=stack-comment-downstack-mergeability-warning";
@@ -1,5 +1,5 @@
-; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -passes=simplifycfg
-simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
UTC_ARGS: --ch
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/159645
>From 6d3342f397d39e366a06eb6bcabddec0b3d5a963 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 15 Sep 2025 17:49:18 +
Subject: [PATCH] [profcheck][SimplifyCFG] Propagate !prof from `switch` to
`sele
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/159645
___
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/159645
___
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/159645
None
>From 92728fa5d41bd5f6ef63837bcb3ea8e85b7a8764 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 15 Sep 2025 17:49:18 +
Subject: [PATCH] [profcheck][SimplifyCFG] Propagate !prof from `switch` to
@@ -6008,6 +6009,15 @@ static bool combineInstructionsOverFunction(
if (!MadeChangeInThisIteration)
break;
+// Issue #147390: InstCombine emits `select` as rewrites of instructions
+// without metadata. It may be possible to synthesize some more meaningful
+
@@ -301,12 +380,16 @@ class Vocabulary {
constexpr static unsigned NumCanonicalEntries =
MaxOpcodes + MaxCanonicalTypeIDs + MaxOperandKinds + MaxPredicateKinds;
- // Base offsets for slot layout to simplify index computation
+ // Base offsets for flat index computati
@@ -261,55 +262,106 @@ void FlowAwareEmbedder::computeEmbeddings(const
BasicBlock &BB) const {
BBVecMap[&BB] = BBVector;
}
+//
==--===//
+// VocabStorage
+//===-
@@ -144,6 +145,73 @@ struct Embedding {
using InstEmbeddingsMap = DenseMap;
using BBEmbeddingsMap = DenseMap;
+/// Generic storage class for section-based vocabularies.
+/// VocabStorage provides a generic foundation for storing and accessing
+/// embeddings organized into sec
@@ -144,6 +145,73 @@ struct Embedding {
using InstEmbeddingsMap = DenseMap;
using BBEmbeddingsMap = DenseMap;
+/// Generic storage class for section-based vocabularies.
+/// VocabStorage provides a generic foundation for storing and accessing
+/// embeddings organized into sec
@@ -261,55 +262,106 @@ void FlowAwareEmbedder::computeEmbeddings(const
BasicBlock &BB) const {
BBVecMap[&BB] = BBVector;
}
+//
==--===//
+// VocabStorage
+//===-
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/158376
___
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:
overall lgtm, some questions
https://github.com/llvm/llvm-project/pull/158376
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 421deb7334bf6030686eb809132e1d13b730cbc6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 2362af9d23a45db4bb85381539630be98703a2c3 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 2362af9d23a45db4bb85381539630be98703a2c3 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 38f01351d89a8f5103879a7333af2a6f6db882d0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From b46d516642b0256250df08742953f3f78f80c2be Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 38f01351d89a8f5103879a7333af2a6f6db882d0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
mtrofin wrote:
> TBH I don't think selects should be validated by profcheck at all, only
> branches.
Some get lowered to branches later on - otherwise, yes, I'd also love to not
worry about them.
https://github.com/llvm/llvm-project/pull/157599
___
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 6f1eaf036babb9f8a8f555aa6b930f60ef977ec6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From d8edb04b381fa8d955d23bfee0d3b322d359bf8a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154426
>From 80e4431563d62682ee72fd506123cca172c14cca Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 19 Aug 2025 14:35:01 -0700
Subject: [PATCH] [SimplfyCFG] Set `MD_prof` for `select` used for certain
condit
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154426
>From 80e4431563d62682ee72fd506123cca172c14cca Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 19 Aug 2025 14:35:01 -0700
Subject: [PATCH] [SimplfyCFG] Set `MD_prof` for `select` used for certain
condit
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 2c17eab265e9a52176552dfbd07d6ffd60973f2f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 6f1eaf036babb9f8a8f555aa6b930f60ef977ec6 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From d8edb04b381fa8d955d23bfee0d3b322d359bf8a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
@@ -4058,7 +4068,7 @@ static bool performBranchToCommonDestFolding(BranchInst
*BI, BranchInst *PBI,
// Halve the weights if any of them cannot fit in an uint32_t
fitWeights(NewWeights);
-SmallVector MDWeights(NewWeights.begin(), NewWeights.end());
+append_rang
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154426
>From 1f876ac5aa21df6856129f60d22808b2c64620b2 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 19 Aug 2025 14:35:01 -0700
Subject: [PATCH] [SimplfyCFG] Set `MD_prof` for `select` used for certain
condit
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 03284b69e33a088dd7505f7160cb5e7fd0a8928a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 03284b69e33a088dd7505f7160cb5e7fd0a8928a Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155657
>From 8b547b3217c5f82de6ff8dda7a03578fb223c063 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 26 Aug 2025 17:28:55 +
Subject: [PATCH] [WPD] set the function entry count
---
.../lib/Transforms/IPO/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155657
>From 8b547b3217c5f82de6ff8dda7a03578fb223c063 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 26 Aug 2025 17:28:55 +
Subject: [PATCH] [WPD] set the function entry count
---
.../lib/Transforms/IPO/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154426
>From 5427cb6a6eabd9f9c1bd44eed2c025f8b7245a34 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 19 Aug 2025 14:35:01 -0700
Subject: [PATCH] [SimplfyCFG] Set `MD_prof` for `select` used for certain
condit
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From e8a9ad09c9b50b2e490b7e6fc57c5e687885d200 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154426
>From 5427cb6a6eabd9f9c1bd44eed2c025f8b7245a34 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 19 Aug 2025 14:35:01 -0700
Subject: [PATCH] [SimplfyCFG] Set `MD_prof` for `select` used for certain
condit
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 8489a8acc8ebde176ea81a61d6cdaffb9c57bcc4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 8489a8acc8ebde176ea81a61d6cdaffb9c57bcc4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From e8a9ad09c9b50b2e490b7e6fc57c5e687885d200 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/156549
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -271,35 +276,51 @@ static void ConnectEpilog(Loop *L, Value *ModVal,
BasicBlock *NewExit,
NewExit);
// Now PHIs should look like:
// NewExit:
-// PN = PHI [I, Latch], [poison, PreHeader]
+// PN = PHI [I, Latch]
// ...
https://github.com/mtrofin approved this pull request.
lgtm, but you probably want the release branch owner to lgtm, too
https://github.com/llvm/llvm-project/pull/156271
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://li
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155657
>From ce1f1b2eeb34a32f0bd0c723fc7860f9b0b44568 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 26 Aug 2025 17:28:55 +
Subject: [PATCH] [WPD] set the function entry count
---
.../lib/Transforms/IPO/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155657
>From ce1f1b2eeb34a32f0bd0c723fc7860f9b0b44568 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 26 Aug 2025 17:28:55 +
Subject: [PATCH] [WPD] set the function entry count
---
.../lib/Transforms/IPO/
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 088311a68f771eb2453aee0f5df736551b8857c2 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155296
>From 088311a68f771eb2453aee0f5df736551b8857c2 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
sample
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 9038659683afc4e591ffd11dcb6cbc124da5f8f4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 9038659683afc4e591ffd11dcb6cbc124da5f8f4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/153089
___
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.
https://github.com/llvm/llvm-project/pull/153089
___
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.
https://github.com/llvm/llvm-project/pull/155516
___
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/155516
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -24,6 +24,12 @@
/// Code Optimization (TACO), 2020. https://doi.org/10.1145/3418463.
/// https://arxiv.org/abs/1909.06228
///
+/// To obtain embeddings:
+/// First run the IR2Vec vocabulary analysis pass to populate the vocabulary.
mtrofin wrote:
`s/the
https://github.com/mtrofin approved this pull request.
https://github.com/llvm/llvm-project/pull/155323
___
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/155323
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -162,8 +162,8 @@ class IR2VecTool {
for (const BasicBlock &BB : F) {
for (const auto &I : BB.instructionsWithoutDebug()) {
mtrofin wrote:
nit for later: should the iteration over BBs be a utility in ir2vec somehow -
basically the reflex is to do
@@ -137,13 +138,48 @@ using InstEmbeddingsMap = DenseMap;
using BBEmbeddingsMap = DenseMap;
/// Class for storing and accessing the IR2Vec vocabulary.
-/// Encapsulates all vocabulary-related constants, logic, and access methods.
+///
+/// The Vocabulary class manages seed emb
@@ -137,13 +138,48 @@ using InstEmbeddingsMap = DenseMap;
using BBEmbeddingsMap = DenseMap;
/// Class for storing and accessing the IR2Vec vocabulary.
-/// Encapsulates all vocabulary-related constants, logic, and access methods.
+///
+/// The Vocabulary class manages seed emb
mtrofin wrote:
> Can you commit all of the other changes besides the analysis manager changes
> in a separate commit then rebase this one? Those all lgtm and it will be
> easier to see and review the main changes related to the PR title.
Yup, see the change below in the stack.
https://github.
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/155338
>From 929616eb6d5f0fc04c486e753482d86b4a21ced0 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 26 Aug 2025 17:45:42 +
Subject: [PATCH] [NFC][WPD] Less lambdas where just the analysis managers
would
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/155338
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -498,6 +498,7 @@ LLVM_ABI void dropDebugUsers(Instruction &I);
///
/// The moved instructions receive the insertion point debug location values
/// (DILocations) and their debug intrinsic instructions are removed.
+/// Selects and indirect calls keep their MD_prof metadata.
mtrofin wrote:
Found this in a drive-by, worth stamping it with the issue so it's easy to find
it later.
https://github.com/llvm/llvm-project/pull/155296
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cg
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/155296
___
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/155296
___
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/154841
>From c2f586622e96180172cd35c36d3de48d2745286b Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/155296
___
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/154841
>From c2f586622e96180172cd35c36d3de48d2745286b Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
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/155296?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/155296
None
>From 8422d7e43ade58187a0c3635640c9d20d2b6f654 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 21:04:05 +
Subject: [PATCH] [NFC] Leave a comment in `Local.cpp` about debug info &
s
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/154635
___
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/154635
___
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/154635
___
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/154635
>From c25529714d12cdd03208c79eb82615bee75c14b4 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154841
>From 2495127ea9388484e6abef63b9141155d486707e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154841
>From 2495127ea9388484e6abef63b9141155d486707e Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
@@ -498,6 +498,7 @@ LLVM_ABI void dropDebugUsers(Instruction &I);
///
/// The moved instructions receive the insertion point debug location values
/// (DILocations) and their debug intrinsic instructions are removed.
+/// Selects and indirect calls keep their MD_prof metadata.
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/154635
___
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/154635
>From 15b033f3c0542ae3d7cd53f7e9c65b3d3e31290f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154635
>From 15b033f3c0542ae3d7cd53f7e9c65b3d3e31290f Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Wed, 20 Aug 2025 15:04:49 -0700
Subject: [PATCH] [Local] preserve `MD_prof` in `hoistAllInstructionsInto`
---
l
https://github.com/mtrofin ready_for_review
https://github.com/llvm/llvm-project/pull/154841
___
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/154841
>From 24507f71fa438e7e799560aa1d6f370a3a8a7c43 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/154841
>From 24507f71fa438e7e799560aa1d6f370a3a8a7c43 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
store
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/154841
___
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/155250
___
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/155250?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/155250
LoopVectorize hasn't yet been addressed, new tests will fail.
Issue #147390
>From 8f22ea9789da8c307c2374765ae007815140be59 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Mon, 25 Aug 2025 14:24:44 +
Sub
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/154841
None
>From f4441cbe5e38f6abc76604a8049f6e36fb4881a7 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 21 Aug 2025 13:54:49 -0700
Subject: [PATCH] [SimplifyCFG] Set branch weights when merging conditional
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/154841?utm_source=stack-comment-downstack-mergeability-warning";
@@ -498,6 +498,7 @@ LLVM_ABI void dropDebugUsers(Instruction &I);
///
/// The moved instructions receive the insertion point debug location values
/// (DILocations) and their debug intrinsic instructions are removed.
+/// Selects and indirect calls keep their MD_prof metadata.
mtrofin wrote:
### Merge activity
* **Aug 15, 5:17 AM UTC**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/153738).
https://github.com/llvm/llvm-project/pull/153738
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/153738
___
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/153738
___
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/153738
___
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/153738
___
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/153738?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/mtrofin created
https://github.com/llvm/llvm-project/pull/153738
None
>From 5c51af5145fa3dae57ec5a56a6f3d5c3c1f53679 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Thu, 14 Aug 2025 20:26:48 -0700
Subject: [PATCH] [JTS] Use common branch weigth downscaling
---
.../Trans
1 - 100 of 455 matches
Mail list logo