diff options
author | Kit Barton <kbarton@ca.ibm.com> | 2019-12-12 14:18:39 -0500 |
---|---|---|
committer | Kit Barton <kbarton@ca.ibm.com> | 2019-12-12 14:22:36 -0500 |
commit | 61368c8e98c567fa76d45e8f928306db9d00dde2 (patch) | |
tree | 217164b4f464ca480a538114075d64668cc299e6 /llvm/lib/Analysis | |
parent | 926fa4088cc2d6fdcd9301e80d05d9310009b660 (diff) | |
download | bcm5719-llvm-61368c8e98c567fa76d45e8f928306db9d00dde2.tar.gz bcm5719-llvm-61368c8e98c567fa76d45e8f928306db9d00dde2.zip |
Rename LoopInfo::isRotated() to LoopInfo::isRotatedForm().
This patch renames the LoopInfo::isRotated() method to LoopInfo::isRotatedForm()
to make it clear that the method checks whether the loop is in rotated form, not
whether the loop has been rotated by the LoopRotation pass.
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index 9a9063b3d4e..3dc29b40834 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/lib/Analysis/LoopInfo.cpp @@ -370,7 +370,7 @@ BranchInst *Loop::getLoopGuardBranch() const { "Expecting a loop with valid preheader and latch"); // Loop should be in rotate form. - if (!isRotated()) + if (!isRotatedForm()) return nullptr; // Disallow loops with more than one unique exit block, as we do not verify |