summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2017-01-05 20:42:06 +0000
committerMichael Kuperstein <mkuper@google.com>2017-01-05 20:42:06 +0000
commitc9acad12e9744bdf42118bc0da9e31a46ced7f07 (patch)
treefad23371636de6b368cccd53816f80a02b1abead /clang/lib/Frontend/CompilerInvocation.cpp
parent9c0c98604a728777ee30761c891f9971464b2809 (diff)
downloadbcm5719-llvm-c9acad12e9744bdf42118bc0da9e31a46ced7f07.tar.gz
bcm5719-llvm-c9acad12e9744bdf42118bc0da9e31a46ced7f07.zip
[LICM] Allow promotion of some stores that are not guaranteed to execute.
Promotion is always legal when a store within the loop is guaranteed to execute. However, this is not a necessary condition - for promotion to be memory model semantics-preserving, it is enough to have a store that dominates every exit block. This is because if the store dominates every exit block, the fact the exit block was executed implies the original store was executed as well. Differential Revision: https://reviews.llvm.org/D28147 llvm-svn: 291171
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud