[clang] [clang-tools-extra] [compiler-rt] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 16:24:18 PST 2024


================
@@ -0,0 +1,38 @@
+// RUN: %clang_profgen %s --target=ppc64le-unknown-linux-gnu -S \
+// RUN:    -emit-llvm -o - | FileCheck %s --check-prefix=PROFGEN
+// RUN: %clang_profgen -o %t %s
+// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
----------------
qiongsiwu wrote:

Ah thanks for the proposal! 

We still want to keep this test working for both BE and LE because we want this test to run on AIX as well. In its current shape, the test passes on AIX. If it is fine, given [this comment](https://github.com/llvm/llvm-project/pull/76471#issuecomment-1874671580), I can be a bit speculative and let the buildbot alert me if this test is failing on Linux ppc BE. 

https://github.com/llvm/llvm-project/pull/76471


More information about the cfe-commits mailing list