[PATCH] D35411: [SimplifyCFG] Defer folding unconditional branches to LateSimplifyCFG if it can destroy canonical loop structure.

Balaram Makam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 11:58:48 PDT 2017


bmakam added a comment.

In https://reviews.llvm.org/D35411#813339, @efriedma wrote:

> > LateSimplifyCFG cannot catch empty case blocks after switch is lowered, so we need the empty block folding in both places.
>
> "After switch is lowered"?  What transform are you talking about?


I was talking about Switch-to-lookup table transform.


https://reviews.llvm.org/D35411





More information about the llvm-commits mailing list