[PATCH] D102635: [LoopUnroll] Use tripcount from exiting header, if latch not exiting.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 15:21:31 PDT 2021


reames added a comment.

@fhahn I'm willing to defer to you here.  If you're really sure the TripCount is always interpreted as an upper bound, you can land and move forward.  From your description, it really sounds like this code is duplicating a lot of logic already existing in SCEV.  As a cleanup, it would be nice if we named the variables appropriately and used scev's existing distinction between exact and max trip counts.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102635



More information about the llvm-commits mailing list