aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-03-24 07:13:58 -0700
committerAlexey Bataev <a.bataev@outlook.com>2021-03-25 05:31:58 -0700
commit568c8741170fcaa6f7fa968578e1b99e94886b46 (patch)
tree0506be86113d6e29f2a8d3ee7a00c8d348caec99 /clang/lib/Tooling/JSONCompilationDatabase.cpp
parent8420a5332486c682c1aaddbcb58a571869d19832 (diff)
downloadllvm-568c8741170fcaa6f7fa968578e1b99e94886b46.zip
llvm-568c8741170fcaa6f7fa968578e1b99e94886b46.tar.gz
llvm-568c8741170fcaa6f7fa968578e1b99e94886b46.tar.bz2
[SLP]Improve and simplify extendSchedulingRegion.
We do not need to scan further if the upper end or lower end of the basic block is reached already and the instruction is not found. It means that the instruction is definitely in the lower part of basic block or in the upper block relatively. This should improve compile time for the very big basic blocks. Differential Revision: https://reviews.llvm.org/D99266
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions