diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-01-18 23:26:37 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-01-18 23:26:37 +0000 |
commit | 0a2174533e1743446a59625ca318c424bfaf0bf2 (patch) | |
tree | bdb38c8ecb6a30a0a769b5ed5e4bc90de6b001db /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | de44c9d8579c8c874b7c54204119da69186623ae (diff) | |
download | bcm5719-llvm-0a2174533e1743446a59625ca318c424bfaf0bf2.tar.gz bcm5719-llvm-0a2174533e1743446a59625ca318c424bfaf0bf2.zip |
Preserve domtree and loop-simplify for runtime unrolling.
Mostly straightforward changes; we just didn't do the computation before.
One sort of interesting change in LoopUnroll.cpp: we weren't handling
dominance for children of the loop latch correctly, but
foldBlockIntoPredecessor hid the problem for complete unrolling.
Currently punting on loop peeling; made some minor changes to isolate
that problem to LoopUnrollPeel.cpp.
Adds a flag -unroll-verify-domtree; it verifies the domtree immediately
after we finish updating it. This is on by default for +Asserts builds.
Differential Revision: https://reviews.llvm.org/D28073
llvm-svn: 292447
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions