[PATCH] D20268: [wip] Resolution-based LTO API.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 19:45:52 PDT 2016


pcc updated this revision to Diff 61155.
pcc marked 3 inline comments as done.
pcc added a comment.

- Address review comments
- Remove TheTarget and TheTriple arguments and unneeded error_category (now that we have StringError)
- Pass index as const ref to CombinedIndexHook
- Remove ThinObjs, and change ModuleMap's type to MapVector
- Add Config::addSaveTemps; add initial llvm-lto2 test
- Wire the gold plugin up to addSaveTemps, and fix several tests that were failing before (didn't notice due to stale outputs in the test directory)
- Add a .resolution.txt to save-temps, and port comdat.ll
- Port emit-llvm.ll test to resolution.txt
- Remove api file feature
- Move LTO.cpp to Resolution subdirectory
- Move LTOBackend to LTO/Resolution; inline upgradeLinkage
- Remove unnecessary #includes from gold-plugin.cpp
- Add comments
- Remove unnecessary dep


http://reviews.llvm.org/D20268

Files:
  include/llvm/LTO/LTO.h
  include/llvm/LTO/Resolution/LTO.h
  include/llvm/LTO/Resolution/LTOBackend.h
  lib/LTO/CMakeLists.txt
  lib/LTO/LLVMBuild.txt
  lib/LTO/LTO.cpp
  lib/LTO/Resolution/CMakeLists.txt
  lib/LTO/Resolution/LLVMBuild.txt
  lib/LTO/Resolution/LTO.cpp
  lib/LTO/Resolution/LTOBackend.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Object/IRObjectFile.cpp
  test/CMakeLists.txt
  test/LTO/Resolution/X86/Inputs/alias-1.ll
  test/LTO/Resolution/X86/Inputs/comdat.ll
  test/LTO/Resolution/X86/alias.ll
  test/LTO/Resolution/X86/comdat.ll
  test/lit.cfg
  test/tools/gold/X86/coff.ll
  test/tools/gold/X86/comdat.ll
  test/tools/gold/X86/common.ll
  test/tools/gold/X86/emit-llvm.ll
  test/tools/gold/X86/opt-level.ll
  test/tools/gold/X86/parallel.ll
  test/tools/gold/X86/slp-vectorize.ll
  test/tools/gold/X86/start-lib-common.ll
  test/tools/gold/X86/strip_names.ll
  test/tools/gold/X86/thinlto.ll
  test/tools/gold/X86/thinlto_alias.ll
  test/tools/gold/X86/thinlto_internalize.ll
  test/tools/gold/X86/thinlto_linkonceresolution.ll
  test/tools/gold/X86/type-merge2.ll
  test/tools/gold/X86/vectorize.ll
  test/tools/gold/X86/visibility.ll
  tools/gold/CMakeLists.txt
  tools/gold/gold-plugin.cpp
  tools/llvm-lto2/CMakeLists.txt
  tools/llvm-lto2/LLVMBuild.txt
  tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20268.61155.patch
Type: text/x-patch
Size: 142850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160618/ed900f67/attachment-0001.bin>


More information about the llvm-commits mailing list