[llvm] [ThinLTO] Allow importing based on a workload definition (PR #74545)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 11:36:25 PST 2023


================
@@ -0,0 +1,67 @@
+; RUN: mkdir -p %t_baseline
+; RUN: opt -module-summary %S/Inputs/workload1.ll -o %t_baseline/workload1.bc
----------------
teresajohnson wrote:

Also, the test is a little confusing because some of the specified imports (e.g. m1_f1 lists m2_f1 and vice versa) are not actually (transitively) referenced from the importing module. I guess this is just for testing purposes, but it would be good to have a test that shows/tests the usage for a case where the imports would normally be expected.

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


More information about the llvm-commits mailing list