[PATCH] D67514: [SCEV] Add smin/umin support to getRangeRef

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 12:29:57 PDT 2019


reames created this revision.
reames added reviewers: sanjoy, nikic.
Herald added subscribers: javed.absar, bollu, mcrosier.
Herald added a project: LLVM.

We were failing to compute max constant trip counts.  It looks like this simply got missed when we added smin/umin to SCEV.


Repository:
  rL LLVM

https://reviews.llvm.org/D67514

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/max-expr-cache.ll
  test/Analysis/ScalarEvolution/trip-count15.ll
  test/Transforms/IRCE/rc-negative-bound.ll
  test/Transforms/LoopVectorize/X86/load-deref-pred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67514.219969.patch
Type: text/x-patch
Size: 33837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190912/7046a189/attachment.bin>


More information about the llvm-commits mailing list