[PATCH] D18235: [LTO] Call the optimizer before invoking codegen
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 12:40:21 PDT 2016
davide updated this revision to Diff 50965.
davide added a comment.
Addressed Sean's comments.
- The original test was augmented with an asm inline statement so that the global constructor doesn't get reclaimed.
- I added another test to ensure the optimizer strips the unused global constructor (similarly to what I did before in my previous patch).
This is just sanity checking, we may want to test other stuff in the future.
Rafael, Sean, you OK with this?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4287 bytes
Desc: not available
More information about the llvm-commits