[PATCH] D92247: [IR][LoopRotate] avoid leaving phi with no operands (PR48296)

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 29 08:22:54 PST 2020


lattner added a comment.

> But if we're in an unreachable block, then we allow other IR forms that are even less expected (self-reference), so we should loosen this restriction?

Yes, I'm suggesting we delete that assertion entirely and just check that # entries = # predecessors.


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

https://reviews.llvm.org/D92247



More information about the llvm-commits mailing list