[PATCH] D81053: [LoopUnroll] Allow loops with multiple exiting blocks where loop latch is not necessary one of them.

Ettore Tiotto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 08:45:07 PDT 2020


etiotto added inline comments.


================
Comment at: llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll:217
+  call void @bar(i32 %1)
+  br i1 true, label %for.body, label %for.end
+
----------------
Would be better IMO to have conditional branch that isn't foldable here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81053





More information about the llvm-commits mailing list