aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/MemoryBufferCache.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-03-17 13:10:05 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-03-17 13:10:05 +0000
commit9b91c62e3abf58adaa516d32d0930782384a736b (patch)
tree807847bb022b8521a7d970a7ac869dd9366d51a7 /clang/lib/Basic/MemoryBufferCache.cpp
parentf3091bf4cf4fb3da81c6fcda7dcfeaff5d26a7b0 (diff)
downloadllvm-9b91c62e3abf58adaa516d32d0930782384a736b.zip
llvm-9b91c62e3abf58adaa516d32d0930782384a736b.tar.gz
llvm-9b91c62e3abf58adaa516d32d0930782384a736b.tar.bz2
[ScopInfo/PruneUnprofitable] Move default profitability check.
In the previous default ScopInfo applied the profitability heuristic for scalar accesses (-polly-unprofitable-scalar-accs=true) and the -polly-prune-unprofitable was disabled by default (-polly-enable-prune-unprofitable=false) as that pruning was already done. This changes switches the defaults to -polly-unprofitable-scalar-accs=true -polly-enable-prune-unprofitable=false such that the scalar access heuristic check is done by the pass. This allows passes between ScopInfo and PruneUnprofitable to optimize away scalar accesses. Without enabling such intermediate passes, there is no change in behaviour of profitability checks in a PassManagerBuilder built pass chain, but it allows us to cover this configuration with the buildbots. Suggested-by: Tobias Grosser <tobias@grosser.es> llvm-svn: 298081
Diffstat (limited to 'clang/lib/Basic/MemoryBufferCache.cpp')
0 files changed, 0 insertions, 0 deletions