[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 12:27:49 PDT 2017
bmakam added a comment.
In https://reviews.llvm.org/D35411#813349, @efriedma wrote:
> SwitchToLookupTable is itself part of LateSimplifyCFG; we should fold empty blocks afterwards, I think?
I was expecting the same but found that LateSimplifyCFG could not catch empty case blocks in spec2017/perlbench. Perhaps later transformations like unreachableblockelim or constanthoist could turn some cases into empty blocks?
https://reviews.llvm.org/D35411
More information about the llvm-commits
mailing list