[PATCH] D32494: [Loop Deletion] Delete loops that are never executed

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 08:36:39 PDT 2017


anna updated this revision to Diff 97295.
anna marked 3 inline comments as done.
anna added a comment.

Addressed review comments.
Main changes: Preheader is now a requirement for never executed loops.
We can also handle multiple immediate predecessors in the never executed loop.


https://reviews.llvm.org/D32494

Files:
  lib/Transforms/Scalar/LoopDeletion.cpp
  test/Transforms/LoopDeletion/unreachable-loops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32494.97295.patch
Type: text/x-patch
Size: 18241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/1ccfe74a/attachment.bin>


More information about the llvm-commits mailing list