[PATCH] D103748: [LoopUnroll] Clamp unroll count to MaxTripCount

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 12:04:19 PDT 2021


nikic marked 2 inline comments as done.
nikic added inline comments.


================
Comment at: llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll:161
 
 define void @test3(i32* noalias %A, i1 %cond) {
 ; CHECK-LABEL: @test3(
----------------
efriedma wrote:
> Is this still testing what it's supposed to?
I think so. Based on commit history, this is just a positive test that unrolling happens with a non-exiting latch. It still happens, but makes use of the fact that it's a complete unroll now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103748



More information about the llvm-commits mailing list