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

2023-12-30 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/76653 >From 76f199f4fc7244c3d972736595c685d7316c5203 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 30 Dec 2023 18:18:12 -0800 Subject: [PATCH 1/2] [llvm-exegesis] Add support for validation counters

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

2023-12-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-tools-llvm-exegesis Author: Aiden Grossman (boomanaiden154) Changes This patch adds support for validation counters. Validation counters can be used to measure events that occur during snippet execution like cache misses to ensure that certain assumed

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

2023-12-30 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/76653 This patch adds support for validation counters. Validation counters can be used to measure events that occur during snippet execution like cache misses to ensure that certain assumed invariants about

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

2023-12-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Aiden Grossman (boomanaiden154) Changes This patch adds support in the llvm-exegesis tablegen emitter for validation counters. Full support for validation counters in llvm-exegesis is added in a future patch. --- Full diff:

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

2023-12-30 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/76652 This patch adds support in the llvm-exegesis tablegen emitter for validation counters. Full support for validation counters in llvm-exegesis is added in a future patch. >From

[llvm-branch-commits] [libcxx] [libc++] Implements filebuf unbuffered. (PR #76629)

2023-12-30 Thread Mark de Wever via llvm-branch-commits
@@ -276,6 +276,30 @@ private: state_type __st_; state_type __st_last_; ios_base::openmode __om_; + // Used to track the currently used mode and track whether the output should mordante wrote: Review note: It might be possible to use other fields to

[llvm-branch-commits] [libcxx] [libc++] Implements filebuf unbuffered. (PR #76629)

2023-12-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes When calling setbuf(nullptr, 0) before performing file operations it should set the file to unbuffered mode. Currently the code avoids buffering internally, but the underlying stream still can buffer.

[llvm-branch-commits] [libcxx] [libc++] Implements filebuf unbuffered. (PR #76629)

2023-12-30 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76629 When calling setbuf(nullptr, 0) before performing file operations it should set the file to unbuffered mode. Currently the code avoids buffering internally, but the underlying stream still can buffer. This is