[compiler-rt] [PGO][test] Enable continuous mode PGO tests on AIX (PR #115987)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 09:49:06 PST 2024


================
@@ -154,6 +157,16 @@ def exclude_unsupported_files_for_aix(dirname):
     )
 )
 
+config.substitutions.append(
+    ("%clang_profgen_cont", build_invocation(clang_cflags) + " -fprofile-instr-generate " +
+          ("-mllvm -runtime-counter-relocation" if runtime_reloc else ""))
+)
+
+config.substitutions.append(
+    ("%clang_pgogen_cont", build_invocation(clang_cflags) + " -fprofile-generate " +
+         ("-mllvm -runtime-counter-relocation" if runtime_reloc else ""))
+)
+
----------------
hubert-reinterpretcast wrote:

Can you move this to where the non-"cont" versions are and also be consistent in the use of trailing spaces within the strings? In particular, the substitution input and output seems to have a trailing space in the existing substitutions.

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


More information about the llvm-commits mailing list