This is an archive of the discontinued LLVM Phabricator instance.

[Support][CachePruning] prune least recently accessed files first
ClosedPublic

Authored by inglorion on Aug 21 2018, 1:59 PM.

Details

Summary

Before this change, pruning order was based on size. This changes it
to be based on time of last use instead, preferring to keep recently
used files and prune older ones.

Diff Detail

Repository
rL LLVM

Event Timeline

inglorion created this revision.Aug 21 2018, 1:59 PM
rnk accepted this revision.Aug 21 2018, 3:23 PM

lgtm

This revision is now accepted and ready to land.Aug 21 2018, 3:23 PM
inglorion updated this revision to Diff 161855.Aug 21 2018, 5:29 PM

update llvm/test/ThinLTO/X86/cache.ll to match the new expectations

rnk accepted this revision.Aug 21 2018, 5:36 PM

lgtm

llvm/test/ThinLTO/X86/cache.ll
109 ↗(On Diff #161855)

Woah.

This revision was automatically updated to reflect the committed changes.