[PATCH] D22696: [CodeGenPrep] Skip merging empty case blocks

David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 12:29:57 PDT 2016


davidxl added a comment.

We actually see similar issues introduced by SimplifyCFG which introduces new critical edges which later can not be properly split in PhiElimination which results in copy instructions be inserted into blocks with higher frequency.  Until we have a better solution, this patch seems like a reasonable workaround.

Hal, what is your opinion?


https://reviews.llvm.org/D22696





More information about the llvm-commits mailing list