aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-04-19 18:44:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-04-19 18:44:25 +0000
commit32e62f9c5b85d481afbe277ecdb65476372b3411 (patch)
treeb83deb1fedad497e993029b6c918b3f9f52ae33b /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent9bbd653084de43b3d1d80fec157798bc0d557598 (diff)
downloadllvm-32e62f9c5b85d481afbe277ecdb65476372b3411.zip
llvm-32e62f9c5b85d481afbe277ecdb65476372b3411.tar.gz
llvm-32e62f9c5b85d481afbe277ecdb65476372b3411.tar.bz2
[PM/LoopUnswitch] Detect irreducible control flow within loops and skip unswitching non-trivial edges.
Summary: This fixes the bug pointed out in review with non-trivial unswitching. This also provides a basis that should make it pretty easy to finish fleshing out a routine to scan an entire function body for irreducible control flow, but this patch remains minimal for disabling loop unswitch. Reviewers: sanjoy, fedor.sergeev Subscribers: mcrosier, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D45754 llvm-svn: 330357
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions