[PATCH] D53294: [ThinLTO] Add an option to disable (thin)lto internalization.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 25 13:12:15 PDT 2018


trentxintong updated this revision to Diff 171173.
trentxintong added a comment.
Herald added a subscriber: eraman.

Address @tejohson's suggestion to add test cases.

I've added 3/4 suggested scenarios and could not figure out how to add LTO with llvm-lto
More specifically, it seems to me that llvm-lto does not go through the runRegularLTO path
(where GVs are internalized) when processing LTO modules.


Repository:
  rL LLVM

https://reviews.llvm.org/D53294

Files:
  include/llvm/LTO/legacy/LTOCodeGenerator.h
  lib/LTO/LTO.cpp
  test/LTO/X86/internalize.ll
  test/ThinLTO/X86/internalize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53294.171173.patch
Type: text/x-patch
Size: 6462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181025/60277ecb/attachment.bin>


More information about the llvm-commits mailing list