[SwitchLowering] Handle destinations on multiple phi instructions
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 2 Dec 2014 18:31:53 +0000 (18:31 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 2 Dec 2014 18:31:53 +0000 (18:31 +0000)
commit15520db9adce8413ef02fd6ffc68ee6aa8d182f0
tree22c9202ab590d7c44076770f17f6e327ed29d3c2
parentb6f0a83f417e857c27be13d625e9f205feab777d
[SwitchLowering] Handle destinations on multiple phi instructions

Follow up from r222926. Also handle multiple destinations from merged
cases on multiple and subsequent phi instructions.

rdar://problem/19106978

llvm-svn: 223135
llvm/lib/Transforms/Utils/LowerSwitch.cpp
llvm/test/Transforms/Util/lowerswitch.ll