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

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 13:16:18 PDT 2016


junbuml marked an inline comment as done.
junbuml added a comment.

Probably, smarter ISel could handle this issue. I'm not sure if GlobalISel could cover such case when handing phi nodes.  Considering that the original purpose of CGP is to better prepare IR for local ISel, I think handling this in CGP is not that  bad idea while we rely on the local ISel.  Do you have any machine function pass in your mind where we can deal with this issue?


https://reviews.llvm.org/D22696





More information about the llvm-commits mailing list