[PATCH] D23599: [ThinLTO] Add caching to the new LTO API

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 22:01:46 PDT 2016


mehdi_amini created this revision.
mehdi_amini added a reviewer: tejohnson.
mehdi_amini added subscribers: llvm-commits, pcc.
Herald added a subscriber: mehdi_amini.

Add the ability to plug a cache on the LTO API.
I tried to write such that a linker implementation can
control the cache backend. I tried multiple design before
settling on this one, even if I'm not totally happy about
it. Suggestions welcome if any.

https://reviews.llvm.org/D23599

Files:
  include/llvm/LTO/Caching.h
  include/llvm/LTO/Config.h
  lib/LTO/CMakeLists.txt
  lib/LTO/Caching.cpp
  lib/LTO/LTO.cpp
  test/ThinLTO/X86/cache.ll
  tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23599.68305.patch
Type: text/x-patch
Size: 18684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160817/51e58f37/attachment-0001.bin>


More information about the llvm-commits mailing list