[PATCH] D43199: [IRMover] Implement name based structure type mapping

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 07:47:51 PST 2018


Eugene Leviant via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:

> Index: test/ThinLTO/X86/struct-mapping.ll
> ===================================================================
> --- test/ThinLTO/X86/struct-mapping.ll
> +++ test/ThinLTO/X86/struct-mapping.ll
> @@ -0,0 +1,46 @@
> +; RUN: opt -module-summary %s -o %t1.bc
> +
> +; The output file name does matter, because it affetcs the function
> +; import order. This is the reason struct-mapping-foo.ll becomes %t3
> +; RUN: opt -module-summary %p/Inputs/struct-mapping-foo.ll -o %t3.bc
> +; RUN: opt -module-summary %p/Inputs/struct-mapping-baz.ll -o %t2.bc

Why do you need ThinLTO to test a type merging feature? Could this use
llvm-link?

Cheers,
Rafael


More information about the llvm-commits mailing list