]> granicus.if.org Git - llvm/commit
Support: Simplify the CachePruning API. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 15 Mar 2017 22:54:18 +0000 (22:54 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 15 Mar 2017 22:54:18 +0000 (22:54 +0000)
commit2edabdec2aa5ab8d31866941886b50dc704aa774
treefceda9eee4848753c21235d57a09f79b5f1bc8f0
parent733a6d0f30e71629d668085210f3d3469f401889
Support: Simplify the CachePruning API. NFCI.

Change the function that implements the pruning into a free function that
takes the policy as a struct argument.

Differential Revision: https://reviews.llvm.org/D31009

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297907 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
include/llvm/Support/CachePruning.h
lib/LTO/ThinLTOCodeGenerator.cpp
lib/Support/CachePruning.cpp