[PATCH] D51486: Add check to Latch's terminator in UnrollRuntimeLoopRemainder

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 05:53:01 PDT 2018


anna added a comment.

Please upload patch with complete context. Could you also add a test case show casing your problem (which you've described earlier): Just a loop with unconditional latch terminator and run through runtime-unroll.

I'd added this as assert because upstream passes guarantees that by the time we reach unroll remainder, we will have a latch with conditional terminator.


Repository:
  rL LLVM

https://reviews.llvm.org/D51486





More information about the llvm-commits mailing list