[all-commits] [llvm/llvm-project] 942c99: [Loop] Add isRotated method to Loop class.
Kit Barton via All-commits
all-commits at lists.llvm.org
Wed Dec 11 06:43:14 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 942c9946cc2fba6acd3805cfeaca90007f532f1f
https://github.com/llvm/llvm-project/commit/942c9946cc2fba6acd3805cfeaca90007f532f1f
Author: Kit Barton <kbarton at ca.ibm.com>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/unittests/Analysis/LoopInfoTest.cpp
Log Message:
-----------
[Loop] Add isRotated method to Loop class.
Summary:
This patch adds a method to determine if a loop is in rotated form (the latch is
an exiting block). It also modifies the getLoopGuardBranch method to use this
new method. This method can also be used in Loopfusion. Once this patch lands I
will make the corresponding changes there.
Reviewers: jdoerfert, Meinersbur, dmgreen, etiotto, Whitney, fhahn, hfinkel
Reviewed By: Meinersbur
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65958
More information about the All-commits
mailing list