https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/107137
>From 50c021b09950cf7d6a8f25b1ac0dec246f2325f5 Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Tue, 3 Sep 2024 11:38:04 -0700
Subject: [PATCH 1/6] update pseudoprobe-decoding-inline.test
Created using spr 1.3.4
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/107137
>From 50c021b09950cf7d6a8f25b1ac0dec246f2325f5 Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Tue, 3 Sep 2024 11:38:04 -0700
Subject: [PATCH 1/5] update pseudoprobe-decoding-inline.test
Created using spr 1.3.4
https://github.com/wangpc-pp approved this pull request.
LGTM.
This fixes a bug that exists for a long time.
https://github.com/llvm/llvm-project/pull/108288
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/107137
>From 50c021b09950cf7d6a8f25b1ac0dec246f2325f5 Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Tue, 3 Sep 2024 11:38:04 -0700
Subject: [PATCH 1/4] update pseudoprobe-decoding-inline.test
Created using spr 1.3.4
@@ -2421,11 +2433,14 @@ std::error_code
DataAggregator::writeBATYAML(BinaryContext &BC,
const uint32_t InputOffset = BAT->translate(
FuncAddr, OutputAddress - FuncAddr, /*IsBranchSrc=*/true);
const unsigned BlockIndex = getBlock(InputOff
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
aaupov wrote:
Replaced with `collectInlineTree`
https://github.com/llvm/ll
@@ -246,10 +270,32 @@ template <> struct
MappingTraits {
}
};
+namespace bolt {
+struct PseudoProbeDesc {
+ std::vector GUID;
+ std::vector Hash;
+ std::vector GUIDHash; // Index of hash for that GUID in Hash
aaupov wrote:
> > // Index of hash for that
@@ -158,15 +164,35 @@ template <> struct
MappingTraits {
std::vector());
YamlIO.mapOptional("succ", BBP.Successors,
std::vector());
-YamlIO.mapOptional("pseudo_probes", BBP.PseudoProbes,
+YamlIO.mapOptional("probes", BB
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
+ const MCDecodedPseudoProbeInlineTree *Root) {
+ auto getHa
https://github.com/aaupov edited
https://github.com/llvm/llvm-project/pull/107137
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
+ // Assume BlockMask == 1
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
aaupov wrot
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
aaupov wrot
@@ -158,15 +164,35 @@ template <> struct
MappingTraits {
std::vector());
YamlIO.mapOptional("succ", BBP.Successors,
std::vector());
-YamlIO.mapOptional("pseudo_probes", BBP.PseudoProbes,
+YamlIO.mapOptional("probes", BB
@@ -158,15 +164,35 @@ template <> struct
MappingTraits {
std::vector());
YamlIO.mapOptional("succ", BBP.Successors,
std::vector());
-YamlIO.mapOptional("pseudo_probes", BBP.PseudoProbes,
+YamlIO.mapOptional("probes", BB
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
+ // Assume BlockMask == 1
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
wlei-llvm w
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
wlei-llvm wrote:
Is it possible to give a more explicit name? when I saw th
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
+ const MCDecodedPseudoProbeInlineTree *Root) {
+ auto getHa
@@ -95,24 +95,30 @@ template <> struct MappingTraits {
namespace bolt {
struct PseudoProbeInfo {
- llvm::yaml::Hex64 GUID;
- uint64_t Index;
- uint8_t Type;
+ uint32_t InlineTreeIndex = 0;
+ uint64_t BlockMask = 0; // bitset with probe indices
+ // Assume BlockMask == 1
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
+ const MCDecodedPseudoProbeInlineTree *Root) {
+ auto getHa
@@ -2421,11 +2433,14 @@ std::error_code
DataAggregator::writeBATYAML(BinaryContext &BC,
const uint32_t InputOffset = BAT->translate(
FuncAddr, OutputAddress - FuncAddr, /*IsBranchSrc=*/true);
const unsigned BlockIndex = getBlock(InputOff
@@ -246,10 +270,32 @@ template <> struct
MappingTraits {
}
};
+namespace bolt {
+struct PseudoProbeDesc {
+ std::vector GUID;
+ std::vector Hash;
+ std::vector GUIDHash; // Index of hash for that GUID in Hash
wlei-llvm wrote:
Give another name? IIUC, it
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
return nullptr;
}
+std::vector
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
+ const MCDecodedPseudoProbeInlineTree *Root) {
+ auto getHa
@@ -209,7 +209,12 @@ struct GPULaneIdOpToNVVM :
ConvertOpToLLVMPattern {
ConversionPatternRewriter &rewriter) const override {
auto loc = op->getLoc();
MLIRContext *context = rewriter.getContext();
-Value newOp = rewriter.create(loc, rewriter.getI
Author: Vitaly Buka
Date: 2024-09-11T17:29:21-07:00
New Revision: 22b522a32d76c6c471707ceb6b9b4dcb9407db27
URL:
https://github.com/llvm/llvm-project/commit/22b522a32d76c6c471707ceb6b9b4dcb9407db27
DIFF:
https://github.com/llvm/llvm-project/commit/22b522a32d76c6c471707ceb6b9b4dcb9407db27.diff
L
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/107970
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/107970
___
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/aaupov edited
https://github.com/llvm/llvm-project/pull/107970
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/107970
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/107970
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/106365
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/106365
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/106364
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/106364
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/100446
>From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001
From: shawbyoung
Date: Wed, 24 Jul 2024 11:29:22 -0700
Subject: [PATCH 1/5] Comment
Created using spr 1.3.4
---
bolt/include/bolt/Profile/
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/100446
>From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001
From: shawbyoung
Date: Wed, 24 Jul 2024 11:29:22 -0700
Subject: [PATCH 1/4] Comment
Created using spr 1.3.4
---
bolt/include/bolt/Profile/
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/100446
>From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001
From: shawbyoung
Date: Wed, 24 Jul 2024 11:29:22 -0700
Subject: [PATCH 1/4] Comment
Created using spr 1.3.4
---
bolt/include/bolt/Profile/
https://github.com/rafaelauler approved this pull request.
LG
https://github.com/llvm/llvm-project/pull/107970
___
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/rafaelauler approved this pull request.
Makes sense, LG
https://github.com/llvm/llvm-project/pull/106364
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: None (llvmbot)
Changes
Backport 866b93e6b33fac9a4bc62bbc32199bd98f434784
Requested by: @jonathonpenix
---
Full diff: https://github.com/llvm/llvm-project/pull/108288.diff
2 Files Affected:
- (modified) llvm/lib/Target/RISCV/RI
llvmbot wrote:
@wangpc-pp What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/108288
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/108288
___
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/108288
Backport 866b93e6b33fac9a4bc62bbc32199bd98f434784
Requested by: @jonathonpenix
>From e9246648ae352b514bad7570f0509b1337217619 Mon Sep 17 00:00:00 2001
From: Jonathon Penix
Date: Wed, 11 Sep 2024 09:53:11 -0700
https://github.com/aaupov edited
https://github.com/llvm/llvm-project/pull/107137
___
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/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
https://github.com/aaupov updated
https://github.com/llvm/llvm-project/pull/99891
>From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001
From: Amir Ayupov
Date: Wed, 28 Aug 2024 21:10:25 +0200
Subject: [PATCH 1/2] Reworked block probe matching
Use new probe ifaces
Get all func
ilya-biryukov wrote:
Just wanted to give a short update that I'm still on it, but it takes longer
than I initially anticipated.
I've got entangled into a few spaghetti-like dependencies and untangling them
takes a bit of time... I should be much closer now, hope to share something
tomorrow.
h
arsenm wrote:
> I am unsure what ROCm is in this case and what that would mean for LLVM users
> if this fix is not included.
GPU compute stack. Current ROCm releases are basing off of the LLVM release
branches (in the past they were more random branch points)
https://github.com/llvm/llvm-pro
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/106977
___
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/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/107466
___
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/jeanPerier approved this pull request.
Looks reasonable to me.
https://github.com/llvm/llvm-project/pull/101445
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/l
wangpc-pp wrote:
> I'm working on getting some runtime numbers now, sorry for the delay.
No need to say sorry, I really appreciate your help! 😃
https://github.com/llvm/llvm-project/pull/107548
___
llvm-branch-commits mailing list
llvm-branch-commits@
lukel97 wrote:
I collected the stats on the number of memcmps that were inlined, it looks like
we're able to expand a good chunk of them:
```
Program expand-memcmp.NumMemCmpCalls
expand-memcmp.NumMemCmpInlined
https://github.com/DimitryAndric approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/108147
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi
petrhosek wrote:
I agree, while the risk is low, this issue has existed for several releases so
it should fine do delay the fix a bit further.
https://github.com/llvm/llvm-project/pull/107362
___
llvm-branch-commits mailing list
llvm-branch-commits@li
60 matches
Mail list logo