Revert "[CGP] Merge empty case blocks if no extra moves are added."
authorBalaram Makam <bmakam@codeaurora.org>
Fri, 27 Oct 2017 00:35:18 +0000 (00:35 +0000)
committerBalaram Makam <bmakam@codeaurora.org>
Fri, 27 Oct 2017 00:35:18 +0000 (00:35 +0000)
commit32bcb5d7fb43a4c1c81632441ec5271d94d0caf2
tree849852f2cb012b92dddbb31b22cab6aa0ab607fe
parentf280eff0807b054d4964889121899e3035eace53
Revert "[CGP] Merge empty case blocks if no extra moves are added."

This reverts commit r316711. The domtree isn't getting updated correctly.

llvm-svn: 316721
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/Transforms/CodeGenPrepare/skip-merging-case-block.ll