Ignore:
Timestamp:
Dec 10, 2017, 6:37:08 PM (18 months ago)
Author:
cameron
Message:

Fix a segfault and add -cache-days-limit=N option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/toolchain.cpp

    r5771 r5773  
    5757
    5858
     59static cl::opt<unsigned, true> CacheLimitOption("cache-days-limit", cl::location(CacheDaysLimit), cl::init(15),
     60                                          cl::desc("number of days a cache entry may be unused before auto deletion may be applied"), cl::cat(CodeGenOptions));
     61
     62
    5963static cl::opt<unsigned, true> BlockSizeOption("BlockSize", cl::location(BlockSize), cl::init(0),
    6064                                          cl::desc("specify a block size (defaults to widest SIMD register width in bits)."), cl::cat(CodeGenOptions));
     
    101105
    102106bool EnableObjectCache;
     107
     108unsigned CacheDaysLimit;
    103109
    104110bool NVPTX = [](const bool nvptx) {
Note: See TracChangeset for help on using the changeset viewer.