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

Alon Kom via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 23:42:34 PDT 2022


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 divisibility of an expression (Expr%M == 0) and minimum value of the expression (Expr > N) regardless of their order.
Fixing #55645


https://reviews.llvm.org/D128701

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128701.440489.patch
Type: text/x-patch
Size: 8514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220628/974864bb/attachment.bin>


More information about the llvm-commits mailing list