[PATCH] D141850: [SCEV] Preserve information in applyLoopGuards

Alon Kom via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 07:01:07 PST 2023


alonkom created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
alonkom requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Preserve both the information on the divisibility of an expression (Expr%M == 0) and the min/max value of the expression (Expr > N) regardless of their order.


https://reviews.llvm.org/D141850

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141850.489545.patch
Type: text/x-patch
Size: 18178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/a6e82f42/attachment.bin>


More information about the llvm-commits mailing list