[PATCH] D35539: [IRCE] Handle loops with step different from 1/-1

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 03:33:04 PDT 2017


mkazantsev created this revision.

This patch generalizes IRCE to handle IV steps that are not equal to 1 or -1.


https://reviews.llvm.org/D35539

Files:
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  test/Transforms/IRCE/stride_more_than_1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35539.107045.patch
Type: text/x-patch
Size: 32468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170718/3da01138/attachment.bin>


More information about the llvm-commits mailing list