================ @@ -1,39 +1,45 @@ -; Do setup work for all below tests: generate bitcode and combined index -; RUN: opt -module-summary %s -o %t.bc -; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o %t2.bc +; The raw profiles and reduced IR inputs are generated from Inputs/update_icall_promotion_inputs.sh ---------------- ellishg wrote:
Ok so generating the `.profraw` profile is important. I see that currently `update_thinlto_indirect_call_promotion_inputs.sh` is generating the raw profile, which needs to be invoked manually. Instead, can we move this test to `compiler-rt` where test code is actually run? Checkout `instrprof-basic.c` as an example. https://github.com/llvm/llvm-project/blob/49b27b150b97c190dedf8b45bf991c4b811ed953/compiler-rt/test/profile/instrprof-basic.c#L1-L3 https://github.com/llvm/llvm-project/pull/74008 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits