diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2020-04-24 17:02:37 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2020-04-24 17:22:24 +0700 |
commit | 9cd4debd5ae43b03c96a2f8f24c73c5fd317d8ac (patch) | |
tree | 9b430d3361300630b6278e6e120f66833ce518b6 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | db7997472bbd01645f058b23a4ca9e991d5b8144 (diff) | |
download | llvm-9cd4debd5ae43b03c96a2f8f24c73c5fd317d8ac.zip llvm-9cd4debd5ae43b03c96a2f8f24c73c5fd317d8ac.tar.gz llvm-9cd4debd5ae43b03c96a2f8f24c73c5fd317d8ac.tar.bz2 |
[LoopVectorize] Preserve CFG analyses if CFG wasn't modified
One of transforms the loop vectorizer makes is LCSSA formation. In some cases it
is the only transform it makes. We should not drop CFG analyzes if only LCSSA was
formed and no actual CFG changes was made.
We should think of expanding this logic to other passes as well, and maybe make
it a part of PM framework.
Reviewed By: Florian Hahn
Differential Revision: https://reviews.llvm.org/D78360
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions