[PATCH] D91724: [HardwareLoops] Change order of SCEV expression construction for InitLoopCount.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 00:58:35 PST 2020


samparker added a comment.

Out of curiosity, did you try performing the +1 in HardwareLoopInfo::isHardwareLoopCandidate instead? Looking back through the code, I think it would be more clear to rename 'ExitCount' to 'TripCount' and perform this addition outside of the pass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91724



More information about the llvm-commits mailing list