aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2020-10-20 17:32:08 +0700
committerSerguei Katkov <serguei.katkov@azul.com>2020-10-27 11:59:52 +0700
commitb69919b537fffcc5b6aaa6d78e2c039725a81f5b (patch)
treec868dfe723260e18e6c6289424dcbcba157d63bc /clang/lib/Tooling/JSONCompilationDatabase.cpp
parentc6ca26c0bfedb8f80d6f8cb9adde25b1d6aac1c5 (diff)
downloadllvm-b69919b537fffcc5b6aaa6d78e2c039725a81f5b.zip
llvm-b69919b537fffcc5b6aaa6d78e2c039725a81f5b.tar.gz
llvm-b69919b537fffcc5b6aaa6d78e2c039725a81f5b.tar.bz2
[GVN LoadPRE] Add an option to disable splitting backedge
GVN Load PRE can split the backedge causing breaking the loop structure where the latch contains the conditional branch with for example induction variable. Different optimizations expect this form of the loop, so it is better to preserve it for some time. This CL adds an option to control an ability to split backedge. Default value is true so technically it is NFC and current behavior is not changed. Reviewers: fedor.sergeev, mkazantsev, nikic, reames, fhahn Reviewed By: mkazasntsev Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D89854
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions