[PATCH] D39286: [SCEV][NFC] Introduce isDivisorOf function in SCEV

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 06:24:06 PDT 2017


mkazantsev created this revision.

Adds a function that checks whether one SCEV provably divides by other without
remainder. No usage of the function comes with this patch.


https://reviews.llvm.org/D39286

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  unittests/Analysis/ScalarEvolutionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39286.120236.patch
Type: text/x-patch
Size: 7532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/ca1a2892/attachment.bin>


More information about the llvm-commits mailing list