================
@@ -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:

> Nevertheless, I wonder test coverage for %clang_pgogen should be added here 
> as well.

Ah good catch! Thanks! I had missed that. The `%clang_pgogen` tests are added.

> Good point, can we drop the `--target=ppc64le-unknown-linux-gnu` flag? It 
> shouldn't make a difference to what we want to test here.

Sounds good! The test is revised to avoid any target specific flags.

https://github.com/llvm/llvm-project/pull/76471
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to