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

Snehasish Kumar via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 09:43:50 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
----------------
snehasish wrote:

I think you need a `REQUIRES: ppc` for this test otherwise it will fail when this line is executed on non-PPC build bots?

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


More information about the cfe-commits mailing list