[PATCH] D49602: Use SCEV to avoid inserting some bounds checks.

Joel Galenson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 11:18:49 PDT 2018


jgalenson updated this revision to Diff 156550.
jgalenson added a comment.

Added a testcase that goes one off the end of the loop counting up (and the previous update added one that counts down one off the end).


https://reviews.llvm.org/D49602

Files:
  lib/Transforms/Instrumentation/BoundsChecking.cpp
  test/Instrumentation/BoundsChecking/opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49602.156550.patch
Type: text/x-patch
Size: 20467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/fa1aef17/attachment.bin>


More information about the llvm-commits mailing list