summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-03-02 12:24:25 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-03-02 12:24:25 +0000
commit515acd64fd100322c92691971674399155132dfe (patch)
tree56acd0a2cca20ae440128c98dafde7ff8e95ec2a /llvm/unittests/ADT/ArrayRefTest.cpp
parentb46c191c4979bde12a11c8f087a874e810a625b7 (diff)
downloadbcm5719-llvm-515acd64fd100322c92691971674399155132dfe.tar.gz
bcm5719-llvm-515acd64fd100322c92691971674399155132dfe.zip
[LV][CFG] Add irreducible CFG detection for outer loops
This patch adds support for detecting outer loops with irreducible control flow in LV. Current detection uses SCCs and only works for innermost loops. This patch adds a utility function that works on any CFG, given its RPO traversal and its LoopInfoBase. This function is a generalization of isIrreducibleCFG from lib/CodeGen/ShrinkWrap.cpp. The code in lib/CodeGen/ShrinkWrap.cpp is also updated to use the new generic utility function. Patch by Diego Caballero <diego.caballero@intel.com> Differential Revision: https://reviews.llvm.org/D40874 llvm-svn: 326568
Diffstat (limited to 'llvm/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud