[llvm-branch-commits] [libcxx] [llvm] [libc] [flang] [libcxxabi] [lld] [compiler-rt] [clang-tools-extra] [clang] [lldb] [llvm-exegesis] Add support for validation counters (PR #76653)

2024-01-16 Thread Clement Courbet via llvm-branch-commits
https://github.com/legrosbuffle approved this pull request. https://github.com/llvm/llvm-project/pull/76653 ___ 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] [llvm-exegesis] Refactor individual counter data to ConfiguredEvent (PR #77900)

2024-01-12 Thread Clement Courbet via llvm-branch-commits
https://github.com/legrosbuffle approved this pull request. https://github.com/llvm/llvm-project/pull/77900 ___ 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] [llvm-exegesis] Add support for validation counters (PR #76653)

2024-01-10 Thread Clement Courbet via llvm-branch-commits
@@ -112,9 +116,11 @@ class Counter { PerfEvent Event; int FileDescriptor = -1; bool IsDummyEvent; + std::vector ValidationEvents; legrosbuffle wrote: This is a bit weird, because the class `Counter` now holds several perf events. If we need several cou

[llvm-branch-commits] [llvm] [llvm-exegesis] Add support for validation counters (PR #76653)

2024-01-10 Thread Clement Courbet via llvm-branch-commits
@@ -87,6 +93,8 @@ struct BenchmarkMeasure { // This is the per-snippet value, i.e. measured quantity for one repetition of // the whole snippet. double PerSnippetValue; + // These are the validation counter values. + std::unordered_map ValidationCounters; -

[llvm-branch-commits] [llvm] [llvm-exegesis] Add tablegen support for validation counters (PR #76652)

2024-01-05 Thread Clement Courbet via llvm-branch-commits
@@ -59,6 +68,8 @@ struct PfmCountersInfo { const IssueCounter *IssueCounters; unsigned NumIssueCounters; + std::unordered_map ValidationCounters; legrosbuffle wrote: `unordered_map` means that: - We'll allocate on startup. - We don't have consistent o

[llvm-branch-commits] [llvm] [llvm-exegesis] Add tablegen support for validation counters (PR #76652)

2024-01-05 Thread Clement Courbet via llvm-branch-commits
@@ -28,6 +28,22 @@ class PfmIssueCounter string ResourceName = resource_name; } +class ValidationEvent { legrosbuffle wrote: This needs doc to explain what a `ValidationEvent` and `PfmValidationCounter` are. https://github.com/llvm/llvm-project/pull/7665

[llvm-branch-commits] [llvm] [llvm-exegesis] Switch from MCJIT to LLJIT (PR #72838)

2023-11-24 Thread Clement Courbet via llvm-branch-commits
https://github.com/legrosbuffle approved this pull request. https://github.com/llvm/llvm-project/pull/72838 ___ 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] [llvm-exegesis] Switch from MCJIT to LLJIT (PR #72838)

2023-11-24 Thread Clement Courbet via llvm-branch-commits
@@ -324,66 +325,44 @@ object::OwningBinary getObjectFromFile(StringRef Filename) { return cantFail(object::ObjectFile::createObjectFile(Filename)); } -namespace { - -// Implementation of this class relies on the fact that a single object with a -// single function will be l

[llvm-branch-commits] [llvm] [llvm-exegesis] Switch from MCJIT to LLJIT (PR #72838)

2023-11-24 Thread Clement Courbet via llvm-branch-commits
https://github.com/legrosbuffle edited https://github.com/llvm/llvm-project/pull/72838 ___ 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] 735e6c8 - [MergeICmps] Fix missing split.

2020-12-01 Thread Clement Courbet via llvm-branch-commits
Author: Clement Courbet Date: 2020-12-01T16:50:55+01:00 New Revision: 735e6c888ec8d647609d242a165e3631423a709d URL: https://github.com/llvm/llvm-project/commit/735e6c888ec8d647609d242a165e3631423a709d DIFF: https://github.com/llvm/llvm-project/commit/735e6c888ec8d647609d242a165e3631423a709d.dif

[llvm-branch-commits] [llvm] 5b8c1ed - [llvm-exegesis] Fix D80610.

2020-06-02 Thread Clement Courbet via llvm-branch-commits
Author: Clement Courbet Date: 2020-06-02T10:10:01+02:00 New Revision: 5b8c1ed2c802d3ae016363bab6d1e117b09ecdc9 URL: https://github.com/llvm/llvm-project/commit/5b8c1ed2c802d3ae016363bab6d1e117b09ecdc9 DIFF: https://github.com/llvm/llvm-project/commit/5b8c1ed2c802d3ae016363bab6d1e117b09ecdc9.dif

[llvm-branch-commits] [llvm] be45a5a - [CodeGen][Tests] Fix b3cf70427eb1e97d9b89ba6e9298c280c8a32c74

2020-02-19 Thread Clement Courbet via llvm-branch-commits
Author: Clement Courbet Date: 2020-02-19T13:32:46+01:00 New Revision: be45a5a4092d678c992ac5d32e4b41da9367989a URL: https://github.com/llvm/llvm-project/commit/be45a5a4092d678c992ac5d32e4b41da9367989a DIFF: https://github.com/llvm/llvm-project/commit/be45a5a4092d678c992ac5d32e4b41da9367989a.dif