[PATCH] D86844: [LoopDeletion] Allows deletion of possibly infinite side-effect free loops
Atmn Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 16:13:06 PDT 2020
atmnpatel added inline comments.
================
Comment at: llvm/test/Transforms/LoopDeletion/mustprogress.ll:19
+; CHECK: for.cond1:
+; CHECK-NEXT: br label [[FOR_COND1]]
+;
----------------
jdoerfert wrote:
> why is the loop not deleted?
Loop Deletion requires a single exit block.
================
Comment at: llvm/test/Transforms/LoopDeletion/mustprogress.ll:50
+; CHECK: for.cond1:
+; CHECK-NEXT: br label [[FOR_COND1]]
+;
----------------
jdoerfert wrote:
> same as above.
same thing, there's no single exit block
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86844/new/
https://reviews.llvm.org/D86844
More information about the llvm-commits
mailing list