[PATCH] D42165: [SCEV] Fix isLoopEntryGuardedByCond usage

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 04:01:52 PST 2018


skatkov created this revision.
skatkov added reviewers: sanjoy, mkazantsev, anna, dorit.

ScalarEvolution::isKnownPredicate invokes isLoopEntryGuardedByCond without check
that SCEV is available at entry point of the loop. it is incorrect and fixed by patch.


https://reviews.llvm.org/D42165

Files:
  lib/Analysis/ScalarEvolution.cpp
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  test/Transforms/IndVarSimplify/inner-loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42165.130120.patch
Type: text/x-patch
Size: 5501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/017f13d4/attachment.bin>


More information about the llvm-commits mailing list