[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/104491 None >From e0cb0c4b74d0f5fb695d80973b366399ed6dda2b Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 15 Aug 2024 10:28:04 -0700 Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite

[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via 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/104491?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin ready_for_review https://github.com/llvm/llvm-project/pull/104491 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/104491 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/104491 >From 505149ba03c189a95f415ef1199627020a740e7a Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 15 Aug 2024 10:28:04 -0700 Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite ---

[llvm-branch-commits] [llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)

2024-08-15 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/104491 >From c21867b07c677f46f7e0ea801b38acea8eccf6fc Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 15 Aug 2024 10:28:04 -0700 Subject: [PATCH] [ctx_prof] Add analysis utility to fetch ID of a callsite ---

[llvm-branch-commits] [llvm] [ctx_prof] Profile flatterner (PR #104539)

2024-08-16 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/104539 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Profile flatterner (PR #104539)

2024-08-19 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/104539 >From dfbb9803ce352441cd14f250b4d29c603d727e1b Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 15 Aug 2024 19:03:30 -0700 Subject: [PATCH] [ctx_prof] Profile flatterner --- llvm/include/llvm/Analysis/C

[llvm-branch-commits] [llvm] [ctx_prof] Profile flatterner (PR #104539)

2024-08-20 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/104539 >From c0eb05f775a88fdf343d52b7af7fcc5eb4b2497e Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 15 Aug 2024 19:03:30 -0700 Subject: [PATCH] [ctx_prof] Profile flatterner --- llvm/include/llvm/Analysis/C

[llvm-branch-commits] [llvm] [ctx_prof] API to get the instrumentation of a BB (PR #105468)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105468 >From c5ee379ec43215d8268219ec3cfced3f7f730fc8 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:09:16 -0700 Subject: [PATCH] [ctx_prof] API to get the instrumentation of a BB --- llvm/inc

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 1edbc3bed4cf6c2726394a346891409d5f548537 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [MLGO] Remove absl dependency from scripts (PR #78880)

2024-01-21 Thread Mircea Trofin via llvm-branch-commits
@@ -12,43 +12,38 @@ --default_args="" """ -from absl import app -from absl import flags -from absl import logging +import logging +import argparse mtrofin wrote: can the imports be in alphabetical order, or does `black` not do that for us? https://github.c

[llvm-branch-commits] [llvm] [MLGO] Remove absl dependency from scripts (PR #78880)

2024-01-21 Thread Mircea Trofin via llvm-branch-commits
@@ -156,10 +88,86 @@ def main(argv): ) -def entrypoint(): -multiprocessing.set_start_method("fork") -app.run(main) - - if __name__ == "__main__": -entrypoint() +parser = argparse.ArgumentParser( mtrofin wrote: nit: could you factor all t

[llvm-branch-commits] [llvm] [MLGO] Remove absl dependency from scripts (PR #78880)

2024-01-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/78880 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [MLGO] Remove absl dependency from scripts (PR #78880)

2024-01-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin approved this pull request. LGTM, some nits https://github.com/llvm/llvm-project/pull/78880 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c

[llvm-branch-commits] [llvm] [ctx_prof] API to get the instrumentation of a BB (PR #105468)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105468 >From f81d31c3311690826bdc1f5c83fc45b4864de035 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:09:16 -0700 Subject: [PATCH] [ctx_prof] API to get the instrumentation of a BB --- llvm/inc

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From de6d88788d35cfeace3f694008d446e8175421a0 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From d58d308957961ae7442a7b5aa0561f42dea69caf Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 0d7c720e67a0213565f0e7c141c4ffa1b91fc5b9 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:09:16 -0700 Subject: [PATCH 1/2] [ctx_prof] API to get the instrumentation of a BB --- llvm

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-21 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From d58d308957961ae7442a7b5aa0561f42dea69caf Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-23 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/105469 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/105469 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 0ff81a0fb355f31a863ded1ce677b8dad26b3c0f Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 44201f1b7d371f156a8ae02b329f2321cad503d2 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add Inlining support (PR #106154)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/106154 None >From eda80fe012239f907df3ee3c4d6d94c93d9d4df2 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 22 Aug 2024 18:03:56 -0700 Subject: [PATCH] [ctx_prof] Add Inlining support --- llvm/include/llvm/An

[llvm-branch-commits] [llvm] [ctx_prof] Add Inlining support (PR #106154)

2024-08-26 Thread Mircea Trofin via 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/106154?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 40b481829c2c2d284210cfcc157de796c6cb Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -1585,6 +1586,7 @@ class InstrProfCallsite : public InstrProfCntrInstBase { return isa(V) && classof(cast(V)); } Value *getCallee() const; + void setCallee(Value *); mtrofin wrote: done https://github.com/llvm/llvm-project/pull/105469

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -105,13 +111,18 @@ class CtxProfAnalysis : public AnalysisInfoMixin { class CtxProfAnalysisPrinterPass : public PassInfoMixin { - raw_ostream &OS; - public: - explicit CtxProfAnalysisPrinterPass(raw_ostream &OS) : OS(OS) {} + enum class PrintMode { Everything, JSON

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -105,13 +111,18 @@ class CtxProfAnalysis : public AnalysisInfoMixin { class CtxProfAnalysisPrinterPass : public PassInfoMixin { - raw_ostream &OS; - public: - explicit CtxProfAnalysisPrinterPass(raw_ostream &OS) : OS(OS) {} + enum class PrintMode { Everything, JSON

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -57,9 +57,23 @@ class PGOCtxProfContext final { GlobalValue::GUID guid() const { return GUID; } const SmallVectorImpl &counters() const { return Counters; } + SmallVectorImpl &counters() { return Counters; } + + uint64_t getEntrycount() const { return Counters[0]; } +

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB, Function *Callee, return promoteCall(NewInst, Callee); } +CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee, + PGOContextualProfile &

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB, Function *Callee, return promoteCall(NewInst, Callee); } +CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee, + PGOContextualProfile &

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr) // 1 call instruction from the entry block. EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4); } + +using namespace llvm::ctx_profile; + +class ContextManager final { + std::vector> Nodes; + std::map Roots; + +pub

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -57,9 +57,23 @@ class PGOCtxProfContext final { GlobalValue::GUID guid() const { return GUID; } const SmallVectorImpl &counters() const { return Counters; } + SmallVectorImpl &counters() { return Counters; } + + uint64_t getEntrycount() const { return Counters[0]; } -

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB, Function *Callee, return promoteCall(NewInst, Callee); } +CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee, + PGOContextualProfile &

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
@@ -572,6 +575,89 @@ CallBase &llvm::promoteCallWithIfThenElse(CallBase &CB, Function *Callee, return promoteCall(NewInst, Callee); } +CallBase *llvm::promoteCallWithIfThenElse(CallBase &CB, Function &Callee, + PGOContextualProfile &

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 955ac292d2b879a5d8557688345fad4d3e21a09b Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-26 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 4e948895dfc12595f0d65e2599d3d369da8ee204 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From a4079fec267380e8503b96eb4685682f01f93e2f Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From a4079fec267380e8503b96eb4685682f01f93e2f Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/105469 >From 63169fae1171006df0e6e40e64fe9479c371d376 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 20 Aug 2024 21:32:23 -0700 Subject: [PATCH] [ctx_prof] Add support for ICP --- llvm/include/llvm/Analysis/

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr) // 1 call instruction from the entry block. EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4); } + +using namespace llvm::ctx_profile; + +class ContextManager final { + std::vector> Nodes; + std::map Roots; + +pub

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
@@ -456,3 +463,170 @@ declare void @_ZN5Base35func3Ev(ptr) // 1 call instruction from the entry block. EXPECT_EQ(F->front().size(), OrigEntryBBSize + 4); } + +using namespace llvm::ctx_profile; + +class ContextManager final { + std::vector> Nodes; + std::map Roots; + +pub

[llvm-branch-commits] [llvm] [ctx_prof] Add support for ICP (PR #105469)

2024-08-27 Thread Mircea Trofin via llvm-branch-commits
mtrofin wrote: ### Merge activity * **Aug 27, 6:37 PM EDT**: @mtrofin started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/105469). https://github.com/llvm/llvm-project/pull/105469 __

[llvm-branch-commits] [llvm] release/19.x: [Instrumentation] Fix EdgeCounts vector size in SetBranchWeights (#99064) (PR #106823)

2024-08-30 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin approved this pull request. https://github.com/llvm/llvm-project/pull/106823 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin edited https://github.com/llvm/llvm-project/pull/107329 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
@@ -0,0 +1,333 @@ +//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening ===// +// +// 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: Ap

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
@@ -0,0 +1,333 @@ +//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening ===// +// +// 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: Ap

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
@@ -0,0 +1,333 @@ +//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening ===// +// +// 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: Ap

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
@@ -0,0 +1,333 @@ +//===- PGOCtxProfFlattening.cpp - Contextual Instr. Flattening ===// +// +// 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: Ap

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/107329 >From 856568c07d924dd59aaa81450cb8bcb64d60d2eb Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 3 Sep 2024 21:28:05 -0700 Subject: [PATCH] [ctx_prof] Flattened profile lowering pass --- llvm/include/llv

[llvm-branch-commits] [llvm] [ctx_prof] Insert the ctx prof flattener after the module inliner (PR #107499)

2024-09-05 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/107499 None >From e90265db97747c0b15f81b31f061e299ffd33138 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 5 Sep 2024 12:52:56 -0700 Subject: [PATCH] [ctx_prof] Insert the ctx prof flattener after the module

[llvm-branch-commits] [llvm] [ctx_prof] Insert the ctx prof flattener after the module inliner (PR #107499)

2024-09-05 Thread Mircea Trofin via 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/107499?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-06 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/107329 >From 22e94e4f30c0b3f4c895e789961bff03db745980 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 3 Sep 2024 21:28:05 -0700 Subject: [PATCH] [ctx_prof] Flattened profile lowering pass --- llvm/include/llv

[llvm-branch-commits] [llvm] [ctx_prof] Insert the ctx prof flattener after the module inliner (PR #107499)

2024-09-06 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/107499 >From 3cd88ecfa05613ce4f8e4d9671ca3e1d4169fe82 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 5 Sep 2024 12:52:56 -0700 Subject: [PATCH] [ctx_prof] Insert the ctx prof flattener after the module inline

[llvm-branch-commits] [llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)

2024-09-06 Thread Mircea Trofin via llvm-branch-commits
mtrofin wrote: ### Merge activity * **Sep 6, 4:40 PM EDT**: @mtrofin started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/107329). https://github.com/llvm/llvm-project/pull/107329 ___

[llvm-branch-commits] [llvm] 55f2eee - [NFC] Disallow unused prefixes in MC/AMDGPU

2021-01-12 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-12T14:31:22-08:00 New Revision: 55f2eeebc96e7522e49e19074cbfbe4e7f074b5b URL: https://github.com/llvm/llvm-project/commit/55f2eeebc96e7522e49e19074cbfbe4e7f074b5b DIFF: https://github.com/llvm/llvm-project/commit/55f2eeebc96e7522e49e19074cbfbe4e7f074b5b.diff

[llvm-branch-commits] [llvm] 5856123 - [NFC] Disallow unused prefixes under MC/AMDGPU

2021-01-12 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-12T15:24:44-08:00 New Revision: 585612355cdf836b434a5331b1263e961135a1ab URL: https://github.com/llvm/llvm-project/commit/585612355cdf836b434a5331b1263e961135a1ab DIFF: https://github.com/llvm/llvm-project/commit/585612355cdf836b434a5331b1263e961135a1ab.diff

[llvm-branch-commits] [llvm] e21bf87 - [NFC] Disallow unused prefixes under MC/ARM

2021-01-14 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-14T08:56:45-08:00 New Revision: e21bf875c0f709a721d98450203781a605483a1d URL: https://github.com/llvm/llvm-project/commit/e21bf875c0f709a721d98450203781a605483a1d DIFF: https://github.com/llvm/llvm-project/commit/e21bf875c0f709a721d98450203781a605483a1d.diff

[llvm-branch-commits] [llvm] 35c8a6c - [NFC] Disallow unused prefixes under MC/AArch64

2021-01-14 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-14T09:46:13-08:00 New Revision: 35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7 URL: https://github.com/llvm/llvm-project/commit/35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7 DIFF: https://github.com/llvm/llvm-project/commit/35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7.diff

[llvm-branch-commits] [llvm] aa3d4d9 - [NFC] Disallow unused prefixes under MC/RISCV

2021-01-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-15T16:21:30-08:00 New Revision: aa3d4d9939595295d19969c62077cc09e4823f58 URL: https://github.com/llvm/llvm-project/commit/aa3d4d9939595295d19969c62077cc09e4823f58 DIFF: https://github.com/llvm/llvm-project/commit/aa3d4d9939595295d19969c62077cc09e4823f58.diff

[llvm-branch-commits] [clang] e8049dc - [NewPM][Inliner] Move the 'always inliner' case in the same CGSCC pass as 'regular' inliner

2021-01-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-15T17:59:38-08:00 New Revision: e8049dc3c8a46ccd75ce2a4f438d695d20feb660 URL: https://github.com/llvm/llvm-project/commit/e8049dc3c8a46ccd75ce2a4f438d695d20feb660 DIFF: https://github.com/llvm/llvm-project/commit/e8049dc3c8a46ccd75ce2a4f438d695d20feb660.diff

[llvm-branch-commits] [llvm] 029c225 - [Inline] Fix a missing character in inline_stats.ll

2021-01-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-15T20:28:15-08:00 New Revision: 029c2257c21e15e00806b2083e8881fb2468900e URL: https://github.com/llvm/llvm-project/commit/029c2257c21e15e00806b2083e8881fb2468900e DIFF: https://github.com/llvm/llvm-project/commit/029c2257c21e15e00806b2083e8881fb2468900e.diff

[llvm-branch-commits] [llvm] a61e42e - [NPM][Inliner] Temporarily remove inline_stats test case for always

2021-01-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-15T21:59:35-08:00 New Revision: a61e42efbb73e55c44cbb0eb2686c7b4a25ca812 URL: https://github.com/llvm/llvm-project/commit/a61e42efbb73e55c44cbb0eb2686c7b4a25ca812 DIFF: https://github.com/llvm/llvm-project/commit/a61e42efbb73e55c44cbb0eb2686c7b4a25ca812.diff

[llvm-branch-commits] [llvm] 27afc09 - [NFC] Disallow unused prefixes under Other

2021-01-19 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-19T12:22:29-08:00 New Revision: 27afc091e2c0caa954326129adb86987d1b41c91 URL: https://github.com/llvm/llvm-project/commit/27afc091e2c0caa954326129adb86987d1b41c91 DIFF: https://github.com/llvm/llvm-project/commit/27afc091e2c0caa954326129adb86987d1b41c91.diff

[llvm-branch-commits] [llvm] e8aec76 - [NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvisor

2021-01-20 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-20T11:07:36-08:00 New Revision: e8aec763a57e211420dfceb2a8dc6b88574924f3 URL: https://github.com/llvm/llvm-project/commit/e8aec763a57e211420dfceb2a8dc6b88574924f3 DIFF: https://github.com/llvm/llvm-project/commit/e8aec763a57e211420dfceb2a8dc6b88574924f3.diff

[llvm-branch-commits] [llvm] d97f776 - Revert "[NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvisor"

2021-01-20 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-20T11:19:34-08:00 New Revision: d97f776be5f8cd3cd446fe73827cd355f6bab4e1 URL: https://github.com/llvm/llvm-project/commit/d97f776be5f8cd3cd446fe73827cd355f6bab4e1 DIFF: https://github.com/llvm/llvm-project/commit/d97f776be5f8cd3cd446fe73827cd355f6bab4e1.diff

[llvm-branch-commits] [llvm] 95ce32c - [NFC] Move ImportedFunctionsInliningStatistics to Analysis

2021-01-20 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-20T13:18:03-08:00 New Revision: 95ce32c7878d92a9058c052ebe7b35f97f23569e URL: https://github.com/llvm/llvm-project/commit/95ce32c7878d92a9058c052ebe7b35f97f23569e DIFF: https://github.com/llvm/llvm-project/commit/95ce32c7878d92a9058c052ebe7b35f97f23569e.diff

[llvm-branch-commits] [llvm] ccec2cf - Reland "[NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvisor"

2021-01-20 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-20T13:33:43-08:00 New Revision: ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5 URL: https://github.com/llvm/llvm-project/commit/ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5 DIFF: https://github.com/llvm/llvm-project/commit/ccec2cf1d9d7e991ef5a2ff2b02d466ebe6cd7a5.diff

[llvm-branch-commits] [llvm] c042aff - [NFC] Disallow unused prefixes under llvm/test

2021-01-21 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-21T20:31:52-08:00 New Revision: c042aff8860df3cad2b274bf0a495e83ae36ddee URL: https://github.com/llvm/llvm-project/commit/c042aff8860df3cad2b274bf0a495e83ae36ddee DIFF: https://github.com/llvm/llvm-project/commit/c042aff8860df3cad2b274bf0a495e83ae36ddee.diff

[llvm-branch-commits] [llvm] a954346 - [NFC] Removed unused prefixes in CodeGen/AMDGPU/GlobalISel

2021-01-05 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-05T12:57:17-08:00 New Revision: a9543469d54e3dfa1c6b4e9d498b55bca947d51e URL: https://github.com/llvm/llvm-project/commit/a9543469d54e3dfa1c6b4e9d498b55bca947d51e DIFF: https://github.com/llvm/llvm-project/commit/a9543469d54e3dfa1c6b4e9d498b55bca947d51e.diff

[llvm-branch-commits] [llvm] bec987e - [NFC] Removed unused prefixes in CodeGen/AMDGPU

2021-01-05 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-05T14:10:03-08:00 New Revision: bec987ea6727f18e1512636804367c3695f51b6f URL: https://github.com/llvm/llvm-project/commit/bec987ea6727f18e1512636804367c3695f51b6f DIFF: https://github.com/llvm/llvm-project/commit/bec987ea6727f18e1512636804367c3695f51b6f.diff

[llvm-branch-commits] [llvm] 1ebe86a - [NFC] Removed unused prefixes in test/CodeGen/AMDGPU

2021-01-05 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-05T14:16:52-08:00 New Revision: 1ebe86adf52cbddc03f535554b16585b2947b32c URL: https://github.com/llvm/llvm-project/commit/1ebe86adf52cbddc03f535554b16585b2947b32c DIFF: https://github.com/llvm/llvm-project/commit/1ebe86adf52cbddc03f535554b16585b2947b32c.diff

[llvm-branch-commits] [llvm] cdfd4c5 - [NFC] Removed unused prefixes in test/CodeGen/AMDGPU

2021-01-05 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-05T19:18:30-08:00 New Revision: cdfd4c5c1a9740b881eccb622b3bea474a26f1f9 URL: https://github.com/llvm/llvm-project/commit/cdfd4c5c1a9740b881eccb622b3bea474a26f1f9 DIFF: https://github.com/llvm/llvm-project/commit/cdfd4c5c1a9740b881eccb622b3bea474a26f1f9.diff

[llvm-branch-commits] [llvm] c1cd42d - [NFC] Removed unused prefixes in CodeGen/AMDGPU

2021-01-05 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-05T20:22:40-08:00 New Revision: c1cd42d698488f8c92f012d0cfa4f5617aebb803 URL: https://github.com/llvm/llvm-project/commit/c1cd42d698488f8c92f012d0cfa4f5617aebb803 DIFF: https://github.com/llvm/llvm-project/commit/c1cd42d698488f8c92f012d0cfa4f5617aebb803.diff

[llvm-branch-commits] [llvm] b470630 - [NFC] Removed unused prefixes from CodeGen/AMDGPU

2021-01-06 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-06T09:34:11-08:00 New Revision: b47063091304410e77cf2e03913d9f093b3ef60d URL: https://github.com/llvm/llvm-project/commit/b47063091304410e77cf2e03913d9f093b3ef60d DIFF: https://github.com/llvm/llvm-project/commit/b47063091304410e77cf2e03913d9f093b3ef60d.diff

[llvm-branch-commits] [llvm] 90347ab - [NFC] Removed unused prefixes in CodeGen/AMDGPU

2021-01-06 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-06T10:32:44-08:00 New Revision: 90347ab96f25c913c832b86c69efa525db7bd039 URL: https://github.com/llvm/llvm-project/commit/90347ab96f25c913c832b86c69efa525db7bd039 DIFF: https://github.com/llvm/llvm-project/commit/90347ab96f25c913c832b86c69efa525db7bd039.diff

[llvm-branch-commits] [llvm] e881a25 - [NFC] Removed unused prefixes in CodeGen/AMDGPU

2021-01-07 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-07T08:00:11-08:00 New Revision: e881a25f1e110b259030745b3592418ea0c8efe8 URL: https://github.com/llvm/llvm-project/commit/e881a25f1e110b259030745b3592418ea0c8efe8 DIFF: https://github.com/llvm/llvm-project/commit/e881a25f1e110b259030745b3592418ea0c8efe8.diff

[llvm-branch-commits] [llvm] ee57d30 - [NFC] Removed unused prefixes from CodeGen/AMDGPU

2021-01-07 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-07T09:48:14-08:00 New Revision: ee57d30f4487548d844cc3ffa5895bd3c6b38585 URL: https://github.com/llvm/llvm-project/commit/ee57d30f4487548d844cc3ffa5895bd3c6b38585 DIFF: https://github.com/llvm/llvm-project/commit/ee57d30f4487548d844cc3ffa5895bd3c6b38585.diff

[llvm-branch-commits] [llvm] a8bda3d - [NFC] Disallow unused prefixes in CodeGen/AMDGPU

2021-01-08 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-08T11:49:23-08:00 New Revision: a8bda3df42565298e28a0424785a8522c41dcf78 URL: https://github.com/llvm/llvm-project/commit/a8bda3df42565298e28a0424785a8522c41dcf78 DIFF: https://github.com/llvm/llvm-project/commit/a8bda3df42565298e28a0424785a8522c41dcf78.diff

[llvm-branch-commits] [llvm] 75c0432 - [NFC] Disallow unused prefixes in CodeGen/X86 tests.

2021-01-09 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-09T11:43:32-08:00 New Revision: 75c04327a5ec1f3b7014ebc410f3ef5833537863 URL: https://github.com/llvm/llvm-project/commit/75c04327a5ec1f3b7014ebc410f3ef5833537863 DIFF: https://github.com/llvm/llvm-project/commit/75c04327a5ec1f3b7014ebc410f3ef5833537863.diff

[llvm-branch-commits] [llvm] 7200d2c - [NFC] Disallow unused prefixes in CodeGen/PowerPC tests.

2021-01-11 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-11T09:24:52-08:00 New Revision: 7200d2cf0891ef56607fd0336029b33bd4097eed URL: https://github.com/llvm/llvm-project/commit/7200d2cf0891ef56607fd0336029b33bd4097eed DIFF: https://github.com/llvm/llvm-project/commit/7200d2cf0891ef56607fd0336029b33bd4097eed.diff

[llvm-branch-commits] [llvm] 05e90ce - [NFC] Disallow unused prefixes under llvm/test/CodeGen

2021-01-11 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2021-01-11T12:32:18-08:00 New Revision: 05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed URL: https://github.com/llvm/llvm-project/commit/05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed DIFF: https://github.com/llvm/llvm-project/commit/05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed.diff

[llvm-branch-commits] [llvm] e2dc306 - [utils] Fix UpdateTestChecks case where 2 runs differ for last label

2020-12-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-15T07:16:54-08:00 New Revision: e2dc306b1ac71258e6ce40a66e778527f282c355 URL: https://github.com/llvm/llvm-project/commit/e2dc306b1ac71258e6ce40a66e778527f282c355 DIFF: https://github.com/llvm/llvm-project/commit/e2dc306b1ac71258e6ce40a66e778527f282c355.diff

[llvm-branch-commits] [llvm] 380e1d9 - [utils] The func_dict for a prefix may just be empty

2020-12-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-15T08:48:37-08:00 New Revision: 380e1d918cb4581fae0277ff547d75334f3e7ddd URL: https://github.com/llvm/llvm-project/commit/380e1d918cb4581fae0277ff547d75334f3e7ddd DIFF: https://github.com/llvm/llvm-project/commit/380e1d918cb4581fae0277ff547d75334f3e7ddd.diff

[llvm-branch-commits] [llvm] c50f3a8 - [NFC] Update extract-bits.ll

2020-12-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-15T09:52:17-08:00 New Revision: c50f3a8781abe0ff88c6ba70edba6e59bf998706 URL: https://github.com/llvm/llvm-project/commit/c50f3a8781abe0ff88c6ba70edba6e59bf998706 DIFF: https://github.com/llvm/llvm-project/commit/c50f3a8781abe0ff88c6ba70edba6e59bf998706.diff

[llvm-branch-commits] [llvm] 1183e55 - [NFC] update extract-lowbits.ll and scalar-pf-to-i64.ll

2020-12-15 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-15T10:04:45-08:00 New Revision: 1183e55580cad9cae3830c261070c32263aad108 URL: https://github.com/llvm/llvm-project/commit/1183e55580cad9cae3830c261070c32263aad108 DIFF: https://github.com/llvm/llvm-project/commit/1183e55580cad9cae3830c261070c32263aad108.diff

[llvm-branch-commits] [llvm] cd551f8 - [NFC] Remove unused prefixes in llvm/test/CodeGen/X86

2020-12-16 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-16T12:41:49-08:00 New Revision: cd551f8564281eb85a9e239710b6953f4c763796 URL: https://github.com/llvm/llvm-project/commit/cd551f8564281eb85a9e239710b6953f4c763796 DIFF: https://github.com/llvm/llvm-project/commit/cd551f8564281eb85a9e239710b6953f4c763796.diff

[llvm-branch-commits] [llvm] ed1e565 - [NFC] factor update test function test builder as a class

2020-12-16 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-16T21:12:06-08:00 New Revision: ed1e565aaff6a2b6ad9064bcc58c50a46100a836 URL: https://github.com/llvm/llvm-project/commit/ed1e565aaff6a2b6ad9064bcc58c50a46100a836 DIFF: https://github.com/llvm/llvm-project/commit/ed1e565aaff6a2b6ad9064bcc58c50a46100a836.diff

[llvm-branch-commits] [llvm] 93fd523 - [NFC][utils] Factor remaining APIs under FunctionTestBuilder

2020-12-17 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-17T22:13:14-08:00 New Revision: 93fd52329fe530d10ace5d24327e2b6d457c2ac8 URL: https://github.com/llvm/llvm-project/commit/93fd52329fe530d10ace5d24327e2b6d457c2ac8 DIFF: https://github.com/llvm/llvm-project/commit/93fd52329fe530d10ace5d24327e2b6d457c2ac8.diff

[llvm-branch-commits] [clang] 2482648 - thinlto_embed_bitcode.ll: clarify grep should treat input as text

2020-11-21 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-11-21T21:46:53-08:00 New Revision: 2482648a795afbe12774168bbbf70dc14c031267 URL: https://github.com/llvm/llvm-project/commit/2482648a795afbe12774168bbbf70dc14c031267 DIFF: https://github.com/llvm/llvm-project/commit/2482648a795afbe12774168bbbf70dc14c031267.diff

[llvm-branch-commits] [clang] 5fe1026 - [llvm][inliner] Reuse the inliner pass to implement 'always inliner'

2020-11-30 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-11-30T12:03:39-08:00 New Revision: 5fe10263ab39be96e316f37272b85a72596a7928 URL: https://github.com/llvm/llvm-project/commit/5fe10263ab39be96e316f37272b85a72596a7928 DIFF: https://github.com/llvm/llvm-project/commit/5fe10263ab39be96e316f37272b85a72596a7928.diff

[llvm-branch-commits] [llvm] bab72dd - [NFC][MC] TargetRegisterInfo::getSubReg is a MCRegister.

2020-12-02 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-02T15:46:38-08:00 New Revision: bab72dd5d5122817f41320ddde8e3246dfb5fc28 URL: https://github.com/llvm/llvm-project/commit/bab72dd5d5122817f41320ddde8e3246dfb5fc28 DIFF: https://github.com/llvm/llvm-project/commit/bab72dd5d5122817f41320ddde8e3246dfb5fc28.diff

[llvm-branch-commits] [llvm] e51c2d6 - [tools] Update update_test_prefix.py to handle %s after prefixes

2020-12-03 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-03T20:07:28-08:00 New Revision: e51c2d6a747d8c85dee711edd3a766f036635da0 URL: https://github.com/llvm/llvm-project/commit/e51c2d6a747d8c85dee711edd3a766f036635da0 DIFF: https://github.com/llvm/llvm-project/commit/e51c2d6a747d8c85dee711edd3a766f036635da0.diff

[llvm-branch-commits] [llvm] f9a27df - [FileCheck] Enforce --allow-unused-prefixes=false for llvm/test/Transforms

2020-12-09 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-09T08:51:38-08:00 New Revision: f9a27df16bc4c86eb9c81b0fed3d263876334572 URL: https://github.com/llvm/llvm-project/commit/f9a27df16bc4c86eb9c81b0fed3d263876334572 DIFF: https://github.com/llvm/llvm-project/commit/f9a27df16bc4c86eb9c81b0fed3d263876334572.diff

[llvm-branch-commits] [llvm] 55ea639 - [NFC] Removed unused prefixes in llvm/test/CodeGen/AArch64

2020-12-09 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-09T12:47:51-08:00 New Revision: 55ea639d3c576f713041c3d1832e71d92f732ee3 URL: https://github.com/llvm/llvm-project/commit/55ea639d3c576f713041c3d1832e71d92f732ee3 DIFF: https://github.com/llvm/llvm-project/commit/55ea639d3c576f713041c3d1832e71d92f732ee3.diff

[llvm-branch-commits] [llvm] f76b7f2 - [MLGO] Fix build break as result of new InstructionCost (D91174)

2020-12-11 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-12-11T20:28:39-08:00 New Revision: f76b7f22f085fbf9f2585923f7a3a0558d75964b URL: https://github.com/llvm/llvm-project/commit/f76b7f22f085fbf9f2585923f7a3a0558d75964b DIFF: https://github.com/llvm/llvm-project/commit/f76b7f22f085fbf9f2585923f7a3a0558d75964b.diff

[llvm-branch-commits] [llvm] ab326ac - [llvm][NFC] Cache FAM in InlineAdvisor

2020-06-01 Thread Mircea Trofin via llvm-branch-commits
Author: Mircea Trofin Date: 2020-06-01T12:38:53-07:00 New Revision: ab326ac96ecb0379b8fe268b43e65a9115bb634f URL: https://github.com/llvm/llvm-project/commit/ab326ac96ecb0379b8fe268b43e65a9115bb634f DIFF: https://github.com/llvm/llvm-project/commit/ab326ac96ecb0379b8fe268b43e65a9115bb634f.diff

[llvm-branch-commits] [llvm] [ctx_prof] Automatically convert available external linkage to local for modules with contextual roots (PR #109203)

2024-09-18 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin created https://github.com/llvm/llvm-project/pull/109203 None >From 886b8947ae2dfa496a56ff0251f6fe22dca5060e Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 18 Sep 2024 14:18:23 -0700 Subject: [PATCH] [ctx_prof] Automatically convert available external linkag

  1   2   3   4   >