Make jump threading eliminate blocks that just contain phi nodes,
debug intrinsics, and an unconditional branch when possible.  This
reuses the TryToSimplifyUncondBranchFromEmptyBlock function split
out of simplifycfg.

llvm-svn: 86722
2 files changed
tree: 26e0fd329d8a9b6ce4b2ce34c67528e4e839d355
  1. clang/
  2. compiler-rt/
  3. llvm/