[PATCH] D104741: [SCEV] Support single-cond range check idiom in applyLoopGuards.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 07:44:43 PDT 2021


fhahn updated this revision to Diff 353967.
fhahn added a comment.

Address @nikic's comments, use getUnsigned{Min,Max}, remove upper/lower check. Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104741

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104741.353967.patch
Type: text/x-patch
Size: 5784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210623/e8c28b33/attachment.bin>


More information about the llvm-commits mailing list