[PATCH] D101722: [SCEV] Don't require ControlsExit for gt/lt NoWrap

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 22:00:05 PDT 2021


efriedma added a comment.

> doing that "cheap enough" has has me slightly stuck.

Spent a bit more time thinking about it.  Maybe "umin(n, 1) + floor((n - umin(n, 1)) / stride)"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101722



More information about the llvm-commits mailing list