[PATCH] D18235: [LTO] Call the optimizer before invoking codegen

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 12:47:01 PDT 2016

silvas added a comment.

LGTM with a nit.

Comment at: test/ELF/lto/ltopasses-basic.ll:14
@@ +13,3 @@
+; The llvm.global_ctors is unused and therefore it can be stripped from
+; the produced shared library. Ensure it doesn't appear in the final output.
I would describe the situation more like: "`@ctor` doesn't do anything and so the optimizer should kill it, leaving no ctors"


More information about the llvm-commits mailing list