[PATCH] D65958: [Loop] Add isRotated method to Loop class.
Kit Barton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 09:54:28 PDT 2019
kbarton created this revision.
kbarton added reviewers: jdoerfert, Meinersbur, dmgreen, etiotto, Whitney, fhahn, hfinkel.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65958
Files:
llvm/include/llvm/Analysis/LoopInfo.h
llvm/lib/Analysis/LoopInfo.cpp
llvm/unittests/Analysis/LoopInfoTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65958.214174.patch
Type: text/x-patch
Size: 5315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/eaaeb3f2/attachment.bin>
More information about the llvm-commits
mailing list