aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2019-02-22 18:04:37 +0000
committerGuozhi Wei <carrot@google.com>2019-02-22 18:04:37 +0000
commit4c8e480358c33e02476ec3ab1ab675c9517fcec0 (patch)
tree92d2b96f625c28fa641ae7ecadb914771c881dad /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent5d049ce5ef7f7a08301b2b0c61eb361144d2a076 (diff)
downloadllvm-4c8e480358c33e02476ec3ab1ab675c9517fcec0.zip
llvm-4c8e480358c33e02476ec3ab1ab675c9517fcec0.tar.gz
llvm-4c8e480358c33e02476ec3ab1ab675c9517fcec0.tar.bz2
[MBP] Factor out function hasViableTopFallthrough and enhancement
This patch factor out the function hasViableTopFallthrough from rotateLoop. It is also enhanced. Original code checks only if there is a block can be placed before current loop top. This patch also checks if the loop top is the most possible successor of its predecessor. The attached test case shows its effect. Differential Revision: https://reviews.llvm.org/D58393 llvm-svn: 354682
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions