[PATCH] D111681: [IVUsers] Move preheader check into SCEVExpander

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 22:28:45 PDT 2021


mkazantsev added a comment.

If I'm reading this correctly, `isPreheaderLoopNest` may find a loop that is dominating, but not containing a given block, and then bail if it doesn't have a preheader. This logic is kind of strange, but I don't really understand its implications.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111681



More information about the llvm-commits mailing list