[PATCH] D22696: [CodeGenPrep] Skip merging empty case blocks
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 13:34:59 PDT 2016
davidxl added a comment.
I tried dehao's patch on the original test case -- unfortunately it does not work. The reason is that MachineSink pass fails to split the critical edge because the indirect branch (from switch lowering) in the source BB prevents the edge from being split because it is not analyzable. See MachineBasicBlock::canSplitCriticalEdge
https://reviews.llvm.org/D22696
More information about the llvm-commits
mailing list