[PATCH] D92152: [SCEV] Use isKnownPredicateAt in isLoopBackedgeGuardedByCond

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 02:03:22 PST 2020


mkazantsev added a comment.

Maybe it's because `isKnownPredicateAt` makes an extra call to `isKnownPredicate` which we don't really need. Let's try more lightweight version with `isBasicBlockEntryGuardedByCond`. This should not introduce extra overhead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92152/new/

https://reviews.llvm.org/D92152



More information about the llvm-commits mailing list