[PATCH] D141823: [SCEV] More precise trip multiples

Joshua Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 01:49:26 PDT 2023


caojoshua updated this revision to Diff 513487.
caojoshua added a comment.

- Big rebasing
- rename getMaxConstantMultiple -> getConstantMultiple
- Apply getConstantMultiple to getSmallConstantTripMultiple() with a lot of tests
- early bail loop if GCD of add SCEV is 1
- stylistic changes based on feedback


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141823

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/nsw.ll
  llvm/test/Analysis/ScalarEvolution/ranges.ll
  llvm/test/Analysis/ScalarEvolution/trip-multiple-guard-info.ll
  llvm/test/Analysis/ScalarEvolution/trip-multiple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141823.513487.patch
Type: text/x-patch
Size: 18432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/8b72994f/attachment.bin>


More information about the llvm-commits mailing list