[ScopInfo] Add -polly-unprofitable-scalar-accs option.
authorMichael Kruse <llvm@meinersbur.de>
Tue, 4 Oct 2016 17:33:39 +0000 (17:33 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 4 Oct 2016 17:33:39 +0000 (17:33 +0000)
commit6ab4476835c1cc52a7f94a61941ec23d57746123
tree286a1cca83f2bb7f2ee699d71bd7e77b220ce217
parentca7cbcca373c8ae451b36a9c033d967dde35dcdf
[ScopInfo] Add -polly-unprofitable-scalar-accs option.

With this option one can disable the heuristic that assumes that statements with
a scalar write access cannot be profitably optimized. Such a statement instances
necessarily have WAW-dependences to itself. With DeLICM scalar accesses can be
changed to array accesses, which can avoid these WAW-dependence.

llvm-svn: 283233
polly/lib/Analysis/ScopInfo.cpp
polly/test/ScopInfo/unprofitable_scalar-accs.ll [new file with mode: 0644]