[PATCH] D65958: [Loop] Add isRotated method to Loop class.

Kit Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 11:29:07 PST 2019


kbarton updated this revision to Diff 231953.
kbarton marked 2 inline comments as done.
kbarton added a comment.

- Return false if no latch block exists, instead of assert (based on suggestion from Meinersbur)
- Add negative test case for loop that is not rotated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65958/new/

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.231953.patch
Type: text/x-patch
Size: 6644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191203/4250a15c/attachment.bin>


More information about the llvm-commits mailing list